@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-family: "Vollkorn", serif;

}

body {
    height: 600px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #00bcd4 100%);
    overflow: hidden;
}

.main-popup {
    width: 420px;
}

.page {
    display: none;
    flex-direction: column;
    height: 100vh;
}

.page.active {
    display: flex;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-circle {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 14px;
    height: 14px;
    color: white;
}

.extension-title {
    color: white;
    font-size: 14px;
    font-weight: 600;

}

.header-actions {
    display: flex;
    gap: 4px;
}

.icon-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-btn svg {
    width: 16px;
    height: 16px;
    color: white;
}

/* Content Styles */
.upload-header-section {
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-align: center;
    padding: 10px 20px;
}

/* --- HEADER SECTION --- */
.upload-header-section {
    max-width: 720px;
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 0 20px;
}

/* Gradient Title */
.upload-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main description */
.upload-desc {
    font-size: 17px;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.6;
    max-width: 660px;
    margin: 0 auto 6px auto;
}

/* Sub-tip text */
.upload-tip {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
    opacity: 0.85;
}

/* Better spacing for the upload box */
.upload-container {
    margin-top: 25px;
}


.upload-header-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;

    background: linear-gradient(90deg, #06b6d4, #34d399);

    /* Vendor prefixes for compatibility */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;

    /* Required for WebKit browsers */
    -webkit-text-fill-color: transparent;
}


.upload-subtext {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto;
}

.content {
    flex: 1;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8f9fa;
    position: relative;
    overflow-y: auto;
}

/* Welcome Page Styles */
.welcome-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.welcome-icon svg {
    width: 28px;
    height: 28px;
    color: #1976d2;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.description {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    color: #5f6368;
    margin-bottom: 32px;
    max-width: 280px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 240px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #34a853;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature span {
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.start-button {
    background: linear-gradient(135deg, #4285f4 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    width: 100%;
    max-width: 280px;
}

.start-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.start-button:active {
    transform: translateY(0);
}

/* Upload Page Styles */
.upload-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}


.upload-box {
    width: 100%;
    max-width: 340px;
    border: 2px dashed #dadce0;
    border-radius: 16px;
    padding: 52px 28px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.upload-box:hover {
    border-color: #4285f4;
    background: #f8f9ff;
}

.upload-box.dragover {
    border-color: #34a853;
    background: #f0f8f0;
    transform: scale(1.02);
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #9aa0a6;
}

.upload-icon svg {
    width: 100%;
    height: 100%;
}

.upload-text {
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
    max-width: 260px;
    line-height: 1.5;
}

.folder-selection {
    margin-top: 20px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.folder-selection h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.folder-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

.folder-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    transition: background 0.2s ease;
    word-break: break-word;
}

.folder-option:hover {
    background: #f0f0f0;
}

.folder-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
}

.folder-option span {
    font-size: 14px;
    color: #444;
    flex: 1;
}

.folder-option label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.folder-radio {
    margin-right: 10px;
    accent-color: #4285f4;
}

.folder-name {
    text-align: left;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.start-button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.start-button:hover {
    opacity: 0.9;
}

.last-audit-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.last-audit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.audit-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.audit-details {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 6px;
}

.audit-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.download-link {
    display: inline-block;
    font-size: 13px;
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 14px;
}

.download-link:hover {
    text-decoration: underline;
}

.rerun-btn {
    margin-top: 6px;
    padding: 12px 20px;
    font-size: 13px;
}

#lastAuditContainer {
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.last-audit-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.last-audit-card p {
    font-size: 10px;
    margin: 2px 0;
}

.download-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

.start-audit-button {
    margin-top: 8px;
    width: 60%;
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
}

.start-button {
    margin-top: 8px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
}

.start-audit-button:hover {
    background: black;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .folder-selection {
        padding: 12px;
    }

    .folder-selection h3 {
        font-size: 15px;
    }

    .folder-option {
        padding: 6px 10px;
        font-size: 13px;
    }

    .start-button {
        padding: 10px;
        font-size: 13px;
    }
}

@media (max-height: 500px) {
    .folder-list {
        max-height: 180px;
    }
}

/* Example loader CSS (add to styles.css): */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #34a853;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-height: 500px) {
    .content {
        padding: 20px;
    }

    .welcome-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .welcome-icon svg {
        width: 24px;
        height: 24px;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .description {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .features {
        margin-bottom: 20px;
        gap: 12px;
    }
}

/* Animation for page transitions */
.page {
    transition: opacity 0.3s ease;
}

.page:not(.active) {
    opacity: 0;
}

.zip-error {
    color: red;
}

#ai-loader .shape {
    fill: none;
    stroke: #00b679;
    stroke-width: 4;
    transform-origin: 50% 50%;
    opacity: 0;
}

#ai-loader .shape-1 {
    animation: loaderPulse 1.8s ease-in-out infinite;
}

#ai-loader .shape-2 {
    animation: loaderPulse 1.8s ease-in-out infinite;
    animation-delay: 0.6s;
}

#ai-loader .shape-3 {
    animation: loaderPulse 1.8s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes loaderPulse {
    0% {
        transform: scale(0.4) rotate(0deg);
        opacity: 0.1;
    }

    40% {
        transform: scale(1) rotate(15deg);
        opacity: 1;
    }

    70% {
        transform: scale(0.8) rotate(-10deg);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.4) rotate(0deg);
        opacity: 0.1;
    }
}

/* ================================
   KEEP ACTIVE BANNER (INLINE TOP)
=================================== */

#keep-active-banner {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    /* places it under your description */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 16px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    opacity: 0;
    /* hidden until shown */
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
}

#keep-active-banner.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#keep-active-banner .ka-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #e6fbff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#keep-active-banner .ka-icon svg {
    width: 26px;
    height: 26px;
    animation: kaPulse 2s infinite;
}

@keyframes kaPulse {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .9;
    }
}

.ka-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.ka-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.ka-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}

.ka-minor {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.ka-close {
    background: none;
    border: none;
    color: #777;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
}

.ka-close:hover {
    background: rgba(0, 0, 0, 0.07);
}

.auth-main-container {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.auth-welcome-page {
    align-items: center;
    text-align: center;
}

.auth-welcome-page h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.auth-welcome-page .description {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Buttons */
.auth-welcome-page button {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    margin-bottom: 10px;
}

.welcome-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e3f2fd, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.welcome-icon svg {
    width: 30px;
    height: 30px;
    color: #2563eb;
}


.auth-welcome-page #login {
    background: linear-gradient(135deg, #4285f4, #2563eb);
    color: #fff;
}

.auth-welcome-page #signup {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.auth-welcome-page #guest {
    background: transparent;
    color: #6b7280;
}

.auth-welcome-page button:hover {
    transform: translateY(-1px);
}

.auth-welcome-page #guest:hover {
    background: #f3f4f6;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ================================
   AUTH PAGES (LOGIN / SIGNUP)
=================================== */

.auth-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.auth-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.back-btn {
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.back-btn:hover {
    background: #e5e7eb;
}

/* Forms */
.auth-page form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.15);
}

.submit-btn {
    margin-top: 6px;
    background: linear-gradient(135deg, #34a853, #16a34a);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.3);
}

.auth-footer {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}

div#loginPage {
    width: 100%;
}

div#signupPage {
    width: 100%;
}

/* ================================
   LOGOUT BUTTON – COOL STYLE
=================================== */

.logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;

    font-size: 12px;
    font-weight: 600;
    color: #374151;

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);

    transition: all 0.2s ease;
}

.logout-btn svg {
    width: 16px;
    height: 16px;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    transform: translateY(-1px);
}

.logout-btn:active {
    transform: translateY(0);
}

.auth-footer a.disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

.authloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    position: relative;
    top: 50%;
    left: 50%;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4CAF50;
    /* Green color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.forgot-password-container {
    text-align: end;
    color: blue;
}

.forgot-password-container:hover {
    /*make this text decoration underine smooth animated*/
    text-decoration: underline;
    transition: text-decoration 0.2s ease;
    cursor: pointer;
}

#headerButton {
    cursor: pointer;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.audit-table th,
.audit-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.audit-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: capitalize;
}

.status.audited {
    background: #e6f4ea;
    color: #137333;
}

.status.processing {
    background: #e8f0fe;
    color: #1a73e8;
}

.status.queued {
    background: #f1f3f4;
    color: #5f6368;
}

.status.errored {
    background: #fce8e6;
    color: #d93025;
}

.btn {
    border: none;
    cursor: pointer;
    background-color: white;
}

.btn-resume {
    background: #fbbc04;
    padding: 7px 7px;
    border-radius: 6px;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.pagination button {
    padding: 6px 12px;
    cursor: pointer;
}

.flagged-count, .total-count {
    font-family: Inter;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.auditHistoryText {
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-size: x-large;
    font-weight: 800;
}

.mainContainer {
    background-color: white;
    min-height: 92vh;
}

.thankyou-content {
    text-align: center;
    padding: 40px 20px;
}

.thankyou-title {
    font-size: 26px;
    margin-bottom: 16px;
}

.thankyou-message {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
}

.batch-info {
    margin-top: 10px;
    font-size: 14px;
}

.thankyou-actions {
    margin-top: 30px;
}

.primary-btn {
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #4f46e5;
    color: #fff;
}

.primary-btn:hover {
    background: #4338ca;
}

.action-wrapper-main {
    padding: 15px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    flex-direction: column;
}

.detailsWithAnnonymousBtn {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 27px;
}

.uploadSizeText {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.estimatePrice p {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.estimatePrice span {
    font-family: Inter;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
}

.estimatePrice {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.anonymousLink {
    padding: 11px 22px;
    border-radius: 10px;
    border: 1px solid;
    cursor: pointer;
}

.horizontalLine {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.dash1,
.dash2 {
    height: 1px;
    background: black;
    width: 40%;
}

input.customerEmail {
    padding: 11px 20px 11px 35px;
    border-radius: 10px;
    border: 1px solid;
}

button#sendEmailBtn {
    padding: 10px 13px;
    border: 1px solid;
    border-radius: 0px 10px 10px 0px;
}

.email-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    /* adjust as needed */
    border: 1px solid #000;
    border-radius: 999px;
    /* pill shape */
    overflow: hidden;
    background: #fff;
}

.email-input {
    flex: 1;
    padding: 12px 18px;
    font-size: 14px;
    border: none;
    outline: none;
}

.email-input::placeholder {
    color: #888;
}

.send-btn {
    padding: 12px 22px;
    border: none;
    border-left: 1px solid #000;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.send-btn:hover {
    background: #f3f3f3;
}

.discountText {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.emailSendMain {
    display: flex;
    flex-direction: column;
    gap: 17px;
    justify-content: center;
    align-items: center;
}

.mainContentContainer {
    max-width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 27px;
    min-height: 94vh;
}

.sizeInfo {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.paymentModule {
    width: 341px;
    height: 376px;
    opacity: 1;
    background: #D9D9D9;
    padding: 10px;
    text-align: center;
}

.paymentModule p {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    margin-top: 37px;
}

.emailSendPageContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 60%;
    margin: auto;
    gap: 29px;
    background-color: white;
}

div#emailSentPage {
    background: white;
}

button#openGmail,
button#openOutlook {
    padding: 10px 25px;
    border: 1px solid;
    border-radius: 10px;
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}

.emailActions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.otp-wrapper {
    max-width: 360px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.otp-wrapper p {
    margin-bottom: 16px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.otp-wrapper strong {
    color: #111;
    font-weight: 600;
}

/* OTP input */
#otpInput {
    width: 100%;
    padding: 14px 12px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 6px;
    border: 1.5px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#otpInput::placeholder {
    letter-spacing: normal;
    font-size: 14px;
    color: #98a2b3;
}

#otpInput:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

#verifyOtpBtn {
    color: black;
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    font-size: 15px;
    /* font-weight: 600; */
    /* color: #fff; */
    /* background: linear-gradient(135deg, #2563eb, #1d4ed8); */
    border: 1px solid black;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease;
}

#verifyOtpBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

#verifyOtpBtn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Resend section */
.resend-wrapper {
    margin-top: 16px;
}

#resendOtpBtn {
    background: none;
    border: none;
    font-size: 13px;
    color: #2563eb;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

#resendOtpBtn:hover:not(:disabled) {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Disabled resend */
#resendOtpBtn:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

#resendTimer {
    margin-left: 4px;
    font-weight: 500;
}


/* Button loader base */
button#resendOtpBtn,
button#verifyOtpBtn {
    position: relative;
}

/* Hide loader by default */
.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Verify button loader color */
#verifyOtpBtn .btn-loader {
    border-color: rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
}

/* Resend loader color */
#resendOtpBtn .btn-loader {
    border-color: rgba(37, 99, 235, 0.4);
    border-top-color: #2563eb;
}

/* Loading state */
button.loading {
    pointer-events: none;
}

button.loading .btn-text {
    display: none;
}

button.loading .btn-loader {
    display: inline-block;
}

/* Spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.completedActionButtons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.payment-redirect-loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 10000;
}

.payment-redirect-loader-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.payment-redirect-loader-card {
    width: 100%;
    max-width: 580px;
    padding: 40px 24px;
    border-radius: 8px;
    border: 2px solid #fbbf24;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.payment-redirect-loader-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #f3f3f3;
    border-top-color: #34AB45;
    animation: spin 0.8s linear infinite;
    margin-bottom: 8px;
}

.payment-redirect-loader-text {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #131131;
    text-align: center;
    letter-spacing: -0.02em;
}

.payment-redirect-loader-subtext {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #586A84;
    text-align: center;
}

.consentBox {
    margin: 14px 0 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8f9fb;
    border: 1px solid #e2e6ef;
}

.consentLabel {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #2c2f36;
    cursor: pointer;
    line-height: 1.4;
}

.consentCheckbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4f46e5;
    /* modern browsers */
}

.consentLabel:hover {
    color: #1f2937;
}

/* Utility */
.hidden {
    display: none;
}

button#updateEmail {
    border: none;
    text-decoration: underline;
    color: blue;
    text-align: right;
    cursor: pointer;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #374151;
}

.tab-btn:hover {
    background: #f3f4f6;
}

.tab-btn.active {
    background: linear-gradient(135deg, #4285f4, #2563eb);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.25);
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

/* =========================================
   NEW POPUP REDESIGN STYLES (Figma)
   ========================================= */

:root {
    --rep-border-accent: #FAB32B;
    --rep-title: #131131;
    --rep-subtext: #6C6884;
    --rep-icon: #D97706;
    --rep-cta: #0069D3;
    --rep-row-border: #E8E8E8;
    --rep-divider: #E7E9EB;
    --rep-radius-card: 16px;
    --rep-radius-row: 6px;
}

#welcomePage.rep-card,
.rep-card {
    box-sizing: border-box;
    width: 420px;
    min-height: 600px;
    height: 100vh;
    background: #FFFFFF !important;
    border: 3px solid var(--rep-border-accent);
    padding: 22px;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: visible;
}

.popup-header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.icon-btn-settings {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    padding: 0;
}

.icon-btn-settings:hover {
    background: #f0f0f0;
}

.icon-btn-settings svg {
    width: 16px;
    height: 16px;
}

.popup-content-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    flex: 1;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0;
    min-height: 0;
}

.popup-content-main::-webkit-scrollbar {
    display: none;
}

/* ---------- Header (logo row) ---------- */
.rep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.rep-header__brand,
.rep-header__brand.brand-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.rep-header__logo {
    width: 41px;
    height: 41px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 46px;
}

.rep-header__logo svg {
    width: 41px;
    height: 41px;
    display: block;
}

.rep-header__name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.05em;
    color: var(--rep-title);
}

.rep-header__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.rep-header__audits-badge {
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    /* Height matches .rep-header__menu so the two sit level in the header. */
    height: 32px;
    padding: 0 12px;
    background: #FFF4DC;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.02em;
    color: var(--rep-title);
    white-space: nowrap;
    cursor: pointer;
}

.rep-header__audits-badge:hover {
    background: #FFE9BC;
}

.rep-header__audits-badge:focus-visible {
    outline: 2px solid var(--rep-border-accent);
    outline-offset: 2px;
}

.rep-header__audits-badge.show {
    display: inline-flex;
}

.rep-header__menu-wrap {
    position: relative;
    flex: none;
}

.rep-header__menu {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
    background: transparent;
    border: none;
    padding: 0;
}

.rep-header__menu svg {
    width: 16px;
    height: 16px;
}

/* ---------- Hero ---------- */
.rep-hero {
    text-align: center;
    margin-top: 24px;
}

.rep-hero__title,
.audit-main-title {
    font-family: 'Vollkorn', serif !important;
    font-weight: 500;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: -0.05em;
    text-transform: capitalize;
    color: var(--rep-title);
    margin: 0;
    text-align: center;
}

.highlight-underline {
    position: relative;
    z-index: 2;
}

.highlight-underline svg.tp {
    position: absolute;
    right: -11px;
    bottom: -32px;
    z-index: -1;
    pointer-events: none;
}

.highlight-underline::after {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 105%;
    height: 6px;
    background: #f59e0b;
    border-radius: 4px;
    transform: rotate(-2deg);
    z-index: -1;
    opacity: 0.8;
}

.rep-hero__subtitle,
.audit-subtitle-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.05em;
    color: var(--rep-title);
    margin-top: 8px;
    margin-bottom: 0;
}

/* ---------- Feature rows ---------- */
.rep-features,
.feature-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 0;
    width: 100%;
}

.rep-feature,
.feat-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 70px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1px solid var(--rep-row-border);
    border-radius: var(--rep-radius-row);
    text-align: left;
    box-shadow: none;
}

.rep-feature__icon,
.feat-icon {
    flex: none;
    width: 16px;
    height: 16px;
    margin-right: 0;
    background: transparent;
    border-radius: 0;
    color: var(--rep-icon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rep-feature__icon svg,
.feat-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.rep-feature__text,
.feat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rep-feature__title,
.feat-text strong {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: var(--rep-title);
}

.rep-feature__desc,
.feat-text span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--rep-subtext);
}

/* ---------- Archive retrieval ---------- */
.rep-archive {
    margin-top: 28px;
    text-align: center;
    width: 100%;
}

.rep-archive__heading,
.retrieve-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: var(--rep-title);
}

.rep-archive__heading::before,
.rep-archive__heading::after,
.retrieve-divider::before,
.retrieve-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rep-divider);
}

.retrieve-divider span {
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.05em;
    color: var(--rep-title);
}

.rep-archive__socials,
.social-circles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 0;
    width: 100%;
}

.social-circle-border {
    display: contents;
}

.rep-archive__social-icon,
.social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
    overflow: hidden;
    flex: none;
}

.social-btn:hover {
    transform: scale(1.05);
}

.rep-archive__social-icon svg,
.social-btn svg {
    width: 30px;
    height: 30px;
    display: block;
}

.rep-archive__social-icon--facebook { background: #0B84EE; }
.rep-archive__social-icon--youtube  { background: #F40000; }
.rep-archive__social-icon--linkedin { background: #2878B7; }
.rep-archive__social-icon--x        { background: #000000; }

/* ---------- CTA / action sheet ---------- */
#welcomePage .action-sheet.rep-cta-wrap,
.rep-cta-wrap.action-sheet {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-top: none;
    transform: none;
    gap: 12px;
    z-index: 1;
}

#welcomePage .action-sheet.rep-cta-wrap.hidden {
    display: flex;
}

#welcomePage .action-sheet.rep-cta-wrap.show,
.action-sheet.show {
    transform: none;
}

.action-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #f3f4f6;
    padding: 20px 20px 24px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.hud-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    cursor: pointer;
    user-select: none;
}

.hud-toggle-label {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #131131;
    line-height: 1.35;
    flex: 1;
}

.hud-toggle-input {
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    accent-color: #0069D3;
    cursor: pointer;
}

.btn-primary,
.rep-cta {
    width: 100%;
    height: 44px;
    padding: 0 24px;
    background: var(--rep-cta);
    border: none;
    border-radius: 44px;
    box-shadow: 0px 2px 12px rgba(99, 102, 241, 0.3);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
}

.btn-primary:hover,
.rep-cta:hover {
    filter: brightness(1.05);
    background: var(--rep-cta);
}

.btn-primary:active,
.rep-cta:active {
    transform: scale(0.98);
}

.btn-outline {
    background: white;
    color: #4b5563;
    border: 1px solid #E2E8F0;
    padding: 0 14px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #111827;
}

.btn-outline:active {
    transform: scale(0.98);
}

/* Base resets */
body {
    background: #ffffff !important;
}

/* Override existing content padding */
.content {
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* =========================================
   NEW UPLOAD PAGE REDESIGN STYLES 
   ========================================= */

#uploadPage {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-brand-logo {
    margin-bottom: 40px;
}

.upload-page-content {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
}

.upload-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 24px;
}

.upload-page-title {
    color: #131131;
    margin: 0;
    letter-spacing: -0.5px;
    font-family: "Vollkorn", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}

.upload-page-link {
    color: #0069D3;
    text-decoration: none;
    margin-bottom: 2px;
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    vertical-align: bottom;
}

.upload-page-link:hover {
    text-decoration: underline;
}

.upload-container-new {
    width: 100%;
}

.upload-box-new {
    width: 100%;
    border: 2px dashed #fbd38d;
    /* Subtle orange/yellow dashed */
    border-radius: 24px;
    background: #ffffff;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-box-new:hover {
    background: #fffbeb;
    border-color: #f6ad55;
}

.upload-icon-new {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.upload-icon-new svg {
    width: 100%;
    height: 100%;
}

.upload-text-new {
    color: #131131;
    margin-bottom: 24px;
    font-family: Inter;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.00em;
    text-align: center;
}

.btn-select-file {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    padding: 10px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: none;
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    max-width: 152px;
    width: 100%;
    color: #45556C;
}

.upload-box-new:hover .btn-select-file {
    border-color: #d1d5db;
    color: #111827;
}

/* =========================================
   POST-UPLOAD FILE SELECTION STYLES
   ========================================= */

.file-sel-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.file-card {
    display: flex;
    align-items: center;
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 27px 27px 27px 20px;
    background: #ffffff;
    margin-bottom: 32px;
    outline: 3px solid #FAB32B40;
}

.file-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: white;
    flex-shrink: 0;
}

.file-card-icon svg {
    width: 48px;
    height: 48px;
}

.file-card-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-card-name {
    color: #25262B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    text-transform: capitalize;
}

.file-card-size {
    color: #586A84;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    vertical-align: middle;
    margin-top: 7px;
}

.select-folders-title {
    color: #111827;
    margin: 0 0 16px 0;
    font-family: Vollkorn;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.04em;
}

.folder-list-wrap {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.folder-list-description {
    color: #586A84;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 12px 0;
}

.folder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    padding: 24px 20px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}

.folder-item.active {
    border-color: #fbbf24;
}

.folder-item-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.folder-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background: #ffffff;
    position: relative;
    transition: all 0.1s;
}

.folder-item input[type="checkbox"]:checked {
    background: #0069D3;
    border-color: #0051A3;
}

.folder-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.folder-item-name {
    color: #131131;
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.03em;
    text-transform: none;
}

.folder-item-size {
    background: #F1F5F9;
    padding: 2px 10px;
    border-radius: 6px;
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: -0.03em;
    text-align: center;
    vertical-align: middle;
    color: #131131;
    max-width: fit-content;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-sel-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.file-sel-actions button {
    min-width: 120px;
    width: fit-content;
}

/* =========================================
   CHOOSE AUDIT TYPE STYLES
   ========================================= */

.choose-audit-container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.choose-audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.choose-audit-title {
    font-family: Vollkorn, serif;
    font-size: 20px;
    font-weight: 500;
    color: #131131;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 24px;
}

.back-to-config-link {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0069D3;
    text-decoration: none;
}

.back-to-config-link:hover {
    text-decoration: underline;
}

.summary-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-section {
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #586A84;
    margin-bottom: 4px;
}

.summary-value {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #131131;
}

.summary-pricing-box {
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 16px;
    margin-top: 4px;
}

.summary-footer-text {
    font-family: Inter, sans-serif;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-top: 24px;
    line-height: 1.5;
}

.summary-footer-text a {
    color: #64748b;
    text-decoration: underline;
    font-family: "Inter", sans-serif;
}

.audit-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audit-option-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.audit-option-card:hover {
    border-color: #cbd5e1;
}

.audit-option-card.active {
    border: 2px solid #fbbf24;
    outline: 2px solid rgba(251, 191, 36, 0.25);
}

.audit-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.audit-card-icon {
    width: 50px;
    height: 50px;
    background: #F1F5F9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audit-card-title-wrap {
    display: flex;
    flex-direction: column;
}

.audit-card-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #131131;
    margin: 0 0 4px 0;
}

.audit-card-subtitle {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #131131;
    margin: 0;
}

.audit-features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audit-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #131131;
    line-height: 28px;
}

.audit-price-breakdown {
    border-top: 1px solid #E7E9EB;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.price-row-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-row.total-row span {
    color: #131131;
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

.old-price {
    font-family: Inter;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 100%;
    text-align: right;
    text-decoration: line-through;
}

.price-row span {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    line-height: 100%;
    color: #131131;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #4b5563;
}

.total-row {
    margin-top: 4px;
    font-weight: 700;
    font-size: 16px;
    color: #131131;
}

.old-price {
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 400;
}

.new-price {
    font-weight: 800;
    color: #131131;
}

.audit-id-notice {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 20px;
    font-family: Inter, sans-serif;
    font-size: 13px;
    color: #131131;
    text-align: center;
    line-height: 1.4;
    font-weight: 400;
}

.summary-label {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    vertical-align: middle;
    color: #586A84;
}

.summary-value {
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #25262B;
    margin-top: 5px;
    word-break: break-all;
}

.payment-module-placeholder {
    height: 400px;
}

.payment-module-placeholder h3 {
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    text-transform: capitalize;
    color: #25262B;
}

/* =========================================
   UPLOAD PAGE SCROLL FIX
   ========================================= */
body.upload-body {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
}

body.upload-body .page.active {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
}

.audit-history-page {
    border: 3px solid #FAB32B;
    border-radius: 10px;
}

.dt-tm span {
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 24px;
    color: #131131;
}

div#totalAuditsBadge {
    font-family: Inter;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 24px;
    color: #131131 !important;
}

.action-dropdown .dropdown-item.btn-download span {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 32px;
    color: #131131;
}

.action-dropdown .dropdown-item.btn-delete span {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 32px;
    color: #F46666;
}

/* .audit-list-wrapper::-webkit-scrollbar {
    background: #131131;
    width: 10px;
    height: 50px;
    border-radius: 10px;
    min-height: 50px;
} */

.audit-list-wrapper::-webkit-scrollbar {
    width: 10px;
}

.audit-list-wrapper::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}

.audit-list-wrapper::-webkit-scrollbar-thumb {
    background: #131131;
    border-radius: 10px;
    min-height: 64px;
    height: 64px;
}