﻿.lp-score-container {
    overflow: auto;
    height: calc(100vh - 100px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}
.upload-container {
    width: 60%;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 20px 20px 0;
    /*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
    border: 1px solid #bdbdbd;
    font-family: "Poppins", sans-serif;
}

.upload-container .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.upload-container .header-text h1 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.upload-container .header-text p {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0;
}

.upload-container .toggle-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #bdbdbd;
    border-radius: 30px;
    padding: 2px 4px;
    position: relative;
}

.upload-container .toggle-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.upload-container .toggle-btn.active {
    color: #fff;
}

.upload-container .toggle-slider {
    position: absolute;
    background: #ff8201;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
    height: calc(100% - 8px);
    top: 4px;
}

.upload-container .form-group {
    margin-bottom: 16px;
}

.upload-container .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.upload-container .input-wrapper {
    display: flex;
    gap: 8px;
}

.upload-container input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.2s;
}

.upload-container input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.upload-container input[type="text"]::placeholder {
    color: #9ca3af;
}

.upload-container .search-btn {
    padding: 10px 24px;
    background: #ff8201;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.upload-container .search-btn:hover {
    background: #2563eb;
}

.upload-container .help-text {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

.upload-container .divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    color: #9ca3af;
    font-size: 14px;
}

.upload-container .divider::before,
.upload-container .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.upload-container .divider::before {
    margin-right: 16px;
}

.upload-container .divider::after {
    margin-left: 16px;
}

.upload-container .upload-area {
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-container .upload-area.disabled {
    opacity: .5;
    pointer-events: none;
}

.upload-container .input-wrapper.disabled {
    opacity: .5;
    pointer-events: none;
}

.upload-container .upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-container .upload-area.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-container .upload-icon {
    margin-bottom: 12px;
}

.upload-container .upload-text {
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
}

.upload-container .upload-subtext {
    font-size: 13px;
    color: #6b7280;
}

.upload-container .footer-lt-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    padding: 0;
}

.upload-container .formats {
    color: #6b7280;
}

.upload-container .download-link {
    color: #3b82f6;
    text-decoration: none;
    cursor: pointer;
}

.upload-container .download-link:hover {
    text-decoration: underline;
}

.upload-container input[type="file"] {
    display: none;
}


/*Search Result Page Css*/
.search-result-container {
    display: flex;
    height: 100%;
}

/* Left Sidebar */
.search-result-sidebar {
    width: 320px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.search-result-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-sidebar-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.url-count {
    font-size: 12px;
    color: #888;
}

.filter-input {
    margin: 10px 20px;
}

.filter-input input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
    background-color: white;
    outline: none;
    box-sizing: border-box;
}

.filter-input input:focus {
    border-color: #007aff;
}

.url-list {
    flex: 1;
    overflow-y: auto;
}

.url-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.url-item:hover {
    background-color: #f8f8f8;
}

.url-item.active {
    background-color: #f0f0ff;
}

.url-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background-color: #34c759;
}

.status-dot.red {
    background-color: #ff3b30;
}

.status-dot.orange {
    background-color: #ff9500;
}

.url-text {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.url-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #888;
    margin-left: 16px;
}

.error-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #ffebee;
    color: #d32f2f;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.match-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #e7ffed;
    color: #34c759;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.redirect-badge {
    display: inline-block;
    padding: 2px 6px;
    background-color: #fff3e0;
    color: #ef6c00;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Right Content */
.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.content-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

..header-left {
    display: flex;
    align-items: center;
}

.header-left h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.analyzed-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.ticket-link {
    color: #007aff;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticket-link:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-secondary {
    background-color: #f5f5f7;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e8e8ea;
}

.btn-primary {
    background-color: #ff8201;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-primary:hover {
    background-color: #e55a2b;
}

.section {
    padding: 15px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #f5f5f5;
    margin-bottom: 15px;

}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.form-select {
    padding: 7px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
    background-color: white;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-select:hover {
    border-color: #999;
}

.form-select:focus {
    border-color: #007aff;
}








/*Search and bulk upload css*/
.search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    gap: 10px;
}

.search-icon {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 35px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2937;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    min-width: 250px;
}

    .search-input::placeholder {
        color: #9ca3af;
    }

    .search-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.upload-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px 7px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

    .upload-btn:hover {
        background-color: #f9fafb;
        border-color: #d1d5db;
    }

.upload-icon {
    width: 20px;
    height: 20px;
    color: #1f2937;
}

@media (max-width: 640px) {
    .container {
        flex-direction: column;
    }

    .upload-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal-overlay.active {
        display: flex;
    }

.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    transition: color 0.2s;
}

    .close-btn:hover {
        color: #1f2937;
    }

.close-icon {
    width: 24px;
    height: 24px;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

    .upload-area:hover {
        border-color: #3b82f6;
        background-color: #f9fafb;
    }

    .upload-area.dragover {
        border-color: #3b82f6;
        background-color: #eff6ff;
    }

.upload-area-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #9ca3af;
}

.upload-area-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
}

.upload-area-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.upload-area-formats {
    font-size: 12px;
    color: #9ca3af;
}

.file-input {
    display: none;
}

.selected-file {
    display: none;
    padding: 12px 16px;
    background-color: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 16px;
}

    .selected-file.active {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 32px;
    height: 32px;
    color: #3b82f6;
}

.file-name {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.remove-file-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    transition: color 0.2s;
}

    .remove-file-btn:hover {
        color: #ef4444;
    }

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel, .btn-upload {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}

    .btn-cancel:hover {
        background-color: #f9fafb;
    }

.btn-upload {
    background-color: #3b82f6;
    border: 1px solid #3b82f6;
    color: #ffffff;
}

    .btn-upload:hover {
        background-color: #2563eb;
    }

    .btn-upload:disabled {
        background-color: #9ca3af;
        border-color: #9ca3af;
        cursor: not-allowed;
    }

.loading-messages {
    text-align: center;
    min-height: 80px;
}

.loading-message {
    font-size: 14px;
    color: #374151;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
    margin-bottom: 8px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-message.success {
    color: #16a34a;
    font-weight: 500;
}







.search-container {
    width: 400px;
    margin: 40px auto;
}

.search-container input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.loader {
    display: flex;
    align-items: center;
    gap: 5px;
}

.loader-text {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}

/* Spinner */
.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Three dots */
.dots {
    font-size: 24px;
    letter-spacing: 1px;
    display: none;
}

    .dots span {
        animation: blink 1.4s infinite both;
    }

        .dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}
