* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.navbar {
    width: 100%;
    min-height: 76px;
    padding: 16px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #123d73;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
}

.nav-links a:hover {
    color: #123d73;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.login-button,
.signup-button,
.primary-button,
.secondary-button,
.card-button {
    text-decoration: none;
    display: inline-block;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
}

.login-button {
    padding: 10px 18px;
    color: #123d73;
    border: 1px solid #123d73;
}

.signup-button {
    padding: 10px 18px;
    background: #123d73;
    color: #ffffff;
}

.login-button:hover,
.secondary-button:hover {
    background: #eef4fb;
}

.signup-button:hover,
.primary-button:hover,
.card-button:hover {
    background: #0d2f59;
}

.hero {
    min-height: 650px;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
    background:
        linear-gradient(
            120deg,
            #f4f8fc 0%,
            #ffffff 60%,
            #edf4fb 100%
        );
}

.small-heading {
    color: #b8872d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.12;
    color: #123d73;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 660px;
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-button {
    background: #123d73;
    color: #ffffff;
    padding: 14px 25px;
}

.secondary-button {
    color: #123d73;
    border: 1px solid #123d73;
    padding: 13px 24px;
}

.hero-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(18, 61, 115, 0.13);
    border-top: 5px solid #b8872d;
}

.hero-card h2 {
    color: #123d73;
    font-size: 29px;
    margin-bottom: 10px;
}

.hero-card > p {
    color: #6b7280;
    margin-bottom: 22px;
}

.review-option {
    background: #f6f9fc;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 14px;
    border-left: 4px solid #123d73;
}

.review-option h3 {
    color: #123d73;
    margin-bottom: 5px;
}

.review-option p {
    color: #6b7280;
    font-size: 14px;
}

.card-button {
    width: 100%;
    padding: 14px;
    text-align: center;
    background: #123d73;
    color: #ffffff;
    margin-top: 8px;
}

.services,
.how-it-works,
.about,
.contact {
    padding: 90px 7%;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-heading p {
    color: #b8872d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 38px;
    color: #123d73;
    line-height: 1.25;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.service-card h3 {
    color: #123d73;
    margin-bottom: 12px;
}

.service-card p {
    color: #6b7280;
}

.how-it-works {
    background: #f4f8fc;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step {
    background: #ffffff;
    padding: 28px;
    border-radius: 12px;
    text-align: center;
}

.step span {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    background: #123d73;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 {
    color: #123d73;
    margin-bottom: 9px;
}

.step p {
    color: #6b7280;
}

.about {
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 900px;
    text-align: center;
}

.about h2 {
    font-size: 40px;
    color: #123d73;
    margin-bottom: 22px;
}

.about p {
    color: #4b5563;
    font-size: 17px;
    margin-bottom: 16px;
}

.contact {
    background: #123d73;
    text-align: center;
    color: #ffffff;
}

.contact h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.contact p {
    margin-bottom: 25px;
    color: #dbe7f4;
}

.contact .primary-button {
    background: #ffffff;
    color: #123d73;
}

.contact .primary-button:hover {
    background: #edf4fb;
}

footer {
    padding: 35px 7%;
    background: #0c294d;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer h3 {
    margin-bottom: 5px;
}

footer p {
    color: #c9d6e5;
    font-size: 14px;
}

.pricing {
    padding: 90px 7%;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    position: relative;
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.pricing-card h3 {
    color: #123d73;
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    color: #123d73;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-card > p {
    color: #6b7280;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-card li {
    color: #4b5563;
    margin-bottom: 11px;
    padding-left: 22px;
    position: relative;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #123d73;
    font-weight: 800;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 13px 20px;
    background: #123d73;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
}

.pricing-button:hover {
    background: #0d2f59;
}

.featured-pricing {
    background: #123d73;
    color: #ffffff;
    transform: translateY(-10px);
}

.featured-pricing h3,
.featured-pricing .price {
    color: #ffffff;
}

.featured-pricing > p,
.featured-pricing li {
    color: #dbe7f4;
}

.featured-pricing li::before {
    color: #ffffff;
}

.featured-pricing .pricing-button {
    background: #ffffff;
    color: #123d73;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 22px;
    padding: 7px 12px;
    background: #b8872d;
    color: #ffffff;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 950px) {

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 65px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .featured-pricing {
        transform: none;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .navbar {
        padding: 14px 5%;
    }

    .logo {
        font-size: 21px;
    }

    .login-button {
        display: none;
    }

    .signup-button {
        padding: 9px 13px;
    }

    .hero {
        padding: 55px 5%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .how-it-works,
    .pricing,
    .about,
    .contact {
        padding: 65px 5%;
    }

    .section-heading h2,
    .about h2,
    .contact h2 {
        font-size: 31px;
    }

    footer {
        flex-direction: column;
    }
}

/* Authentication Pages */

.auth-page {
    min-height: 100vh;
    background:
        linear-gradient(
            120deg,
            #f4f8fc 0%,
            #ffffff 55%,
            #edf4fb 100%
        );
}

.auth-header {
    min-height: 75px;
    padding: 16px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.auth-logo {
    color: #123d73;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.auth-header p {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.auth-container {
    width: min(1180px, 86%);
    min-height: calc(100vh - 155px);
    margin: 0 auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: 90px;
}

.auth-information h1 {
    max-width: 610px;
    color: #123d73;
    font-size: 52px;
    line-height: 1.12;
    margin-bottom: 22px;
}

.auth-introduction {
    max-width: 620px;
    color: #4b5563;
    font-size: 17px;
    margin-bottom: 38px;
}

.auth-benefits {
    max-width: 600px;
    display: grid;
    gap: 20px;
}

.auth-benefit {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
}

.auth-benefit > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #123d73;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

.auth-benefit h3 {
    color: #123d73;
    font-size: 17px;
    margin-bottom: 4px;
}

.auth-benefit p {
    color: #6b7280;
    font-size: 14px;
}

.auth-card {
    width: 100%;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 5px solid #b8872d;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(18, 61, 115, 0.13);
}

.auth-card-heading {
    margin-bottom: 28px;
}

.auth-card-heading h2 {
    color: #123d73;
    font-size: 29px;
    margin-bottom: 7px;
}

.auth-card-heading p {
    color: #6b7280;
    font-size: 14px;
}

.auth-form {
    display: grid;
    gap: 19px;
}

.form-group {
    display: grid;
    gap: 7px;
}

.form-group label {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    color: #1f2937;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #123d73;
    box-shadow: 0 0 0 3px rgba(18, 61, 115, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group small {
    color: #6b7280;
    font-size: 11px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    padding: 4px;
    color: #123d73;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
    cursor: pointer;
}

.terms-checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #123d73;
    flex-shrink: 0;
}

.terms-checkbox a {
    color: #123d73;
    font-weight: 700;
    text-decoration: none;
}

.form-message {
    min-height: 20px;
    font-size: 12px;
    font-weight: 700;
}

.error-message {
    color: #b91c1c;
}

.success-message {
    color: #15803d;
}

.auth-submit-button {
    width: 100%;
    min-height: 50px;
    padding: 13px 20px;
    color: #ffffff;
    background: #123d73;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.auth-submit-button:hover {
    background: #0d2f59;
    transform: translateY(-2px);
}

.auth-divider {
    margin: 25px 0 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #9ca3af;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e5e7eb;
}

.auth-secondary-button {
    width: 100%;
    min-height: 49px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #123d73;
    background: #ffffff;
    border: 1px solid #123d73;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.auth-secondary-button:hover {
    background: #eef4fb;
}

.auth-back-link {
    margin-top: 22px;
    text-align: center;
}

.auth-back-link a {
    color: #6b7280;
    font-size: 12px;
    text-decoration: none;
}

.auth-back-link a:hover {
    color: #123d73;
}

.auth-footer {
    min-height: 80px;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    color: #c9d6e5;
    background: #0c294d;
    font-size: 11px;
}


@media (max-width: 950px) {

    .auth-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .auth-information {
        text-align: center;
    }

    .auth-information h1,
    .auth-introduction,
    .auth-benefits {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-benefit {
        text-align: left;
    }

    .auth-card {
        max-width: 560px;
        margin: 0 auto;
    }
}


@media (max-width: 600px) {

    .auth-header {
        padding: 14px 5%;
    }

    .auth-logo {
        font-size: 22px;
    }

    .auth-header p {
        display: none;
    }

    .auth-container {
        width: 90%;
        padding: 45px 0;
    }

    .auth-information h1 {
        font-size: 38px;
    }

    .auth-introduction {
        font-size: 15px;
    }

    .auth-card {
        padding: 27px 22px;
    }

    .auth-footer {
        padding: 25px 5%;
        flex-direction: column;
        text-align: center;
    }
}

.password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.forgot-password-link {
    color: #123d73;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}


/* Dashboard Page */

.dashboard-page {
    min-height: 100vh;
    background: #f5f8fc;
}

.dashboard-header {
    min-height: 76px;
    padding: 14px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.dashboard-brand {
    color: #123d73;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dashboard-navigation a {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-navigation a:hover,
.dashboard-navigation .active-dashboard-link {
    color: #123d73;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #123d73;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-details strong {
    color: #1f2937;
    font-size: 12px;
}

.user-details small {
    margin-top: 3px;
    color: #6b7280;
    font-size: 10px;
}

.logout-button {
    margin-left: 7px;
    padding: 9px 13px;
    color: #123d73;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.logout-button:hover {
    background: #eef4fb;
}

.dashboard-main {
    width: min(1180px, 86%);
    margin: 0 auto;
    padding: 55px 0 80px;
}

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.dashboard-welcome h1 {
    color: #123d73;
    font-size: 40px;
    margin-bottom: 7px;
}

.dashboard-welcome > div > p:last-child {
    color: #6b7280;
    font-size: 15px;
}

.new-review-button {
    padding: 12px 20px;
    color: #ffffff;
    background: #123d73;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.new-review-button:hover {
    background: #0d2f59;
}

.dashboard-summary {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.summary-card {
    padding: 23px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.summary-label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.summary-card strong {
    margin-top: 9px;
    color: #123d73;
    font-size: 30px;
}

.summary-card .plan-value {
    font-size: 23px;
}

.summary-card small {
    margin-top: 5px;
    color: #9ca3af;
    font-size: 10px;
}

.dashboard-review-section {
    margin-top: 70px;
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.dashboard-section-heading h2 {
    color: #123d73;
    font-size: 32px;
}

.dashboard-section-heading > p {
    color: #6b7280;
    font-size: 13px;
}

.dashboard-review-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.dashboard-review-card {
    padding: 31px;
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #b8872d;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(18, 61, 115, 0.12);
}

.dashboard-card-icon {
    width: 56px;
    height: 56px;
    padding: 13px;
    color: #123d73;
    background: #eef4fb;
    border-radius: 13px;
}

.dashboard-card-icon svg {
    width: 100%;
    height: 100%;
}

.review-type-label {
    color: #b8872d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dashboard-card-content h3 {
    margin-top: 8px;
    color: #123d73;
    font-size: 23px;
}

.dashboard-card-content > p {
    margin-top: 10px;
    color: #6b7280;
    font-size: 13px;
}

.dashboard-card-content ul {
    margin: 20px 0 24px;
    display: grid;
    gap: 8px;
    list-style: none;
}

.dashboard-card-content li {
    position: relative;
    padding-left: 21px;
    color: #4b5563;
    font-size: 11px;
}

.dashboard-card-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #123d73;
    font-weight: 800;
}

.dashboard-review-button {
    display: inline-flex;
    padding: 11px 17px;
    color: #ffffff;
    background: #123d73;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-review-button:hover {
    background: #0d2f59;
}

.recent-reviews {
    margin-top: 70px;
}

.recent-reviews-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.recent-reviews-heading h2 {
    color: #123d73;
    font-size: 30px;
}

.recent-reviews-heading > a {
    color: #123d73;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.empty-review-state {
    margin-top: 25px;
    padding: 60px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
}

.empty-state-icon {
    width: 55px;
    height: 55px;
    padding: 13px;
    color: #123d73;
    background: #eef4fb;
    border-radius: 50%;
}

.empty-state-icon svg {
    width: 100%;
    height: 100%;
}

.empty-review-state h3 {
    margin-top: 18px;
    color: #123d73;
    font-size: 20px;
}

.empty-review-state p {
    margin-top: 7px;
    color: #6b7280;
    font-size: 13px;
}

.empty-review-state > a {
    margin-top: 20px;
    color: #123d73;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-footer {
    min-height: 80px;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    color: #c9d6e5;
    background: #0c294d;
    font-size: 11px;
}


@media (max-width: 1000px) {

    .dashboard-navigation {
        display: none;
    }

    .dashboard-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-review-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .dashboard-header {
        padding: 12px 5%;
    }

    .dashboard-brand {
        font-size: 22px;
    }

    .user-details {
        display: none;
    }

    .logout-button {
        display: none;
    }

    .dashboard-main {
        width: 90%;
        padding-top: 40px;
    }

    .dashboard-welcome,
    .dashboard-section-heading,
    .recent-reviews-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-review-button {
        width: 100%;
        text-align: center;
    }

    .dashboard-welcome h1 {
        font-size: 33px;
    }

    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .dashboard-review-card {
        grid-template-columns: 1fr;
    }

    .dashboard-footer {
        padding: 25px 5%;
        flex-direction: column;
        text-align: center;
    }
}

/* Review Upload Pages */

.review-page {
    min-height: 100vh;
    background: #f5f8fc;
}

.review-main {
    width: min(1180px, 86%);
    margin: 0 auto;
    padding: 48px 0 80px;
}

.review-page-heading {
    max-width: 820px;
}

.back-to-dashboard {
    display: inline-block;
    margin-bottom: 27px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.back-to-dashboard:hover {
    color: #123d73;
}

.review-page-heading h1 {
    color: #123d73;
    font-size: 43px;
    line-height: 1.18;
    margin-bottom: 13px;
}

.review-page-heading > div > p:last-child {
    max-width: 720px;
    color: #6b7280;
    font-size: 15px;
}

.review-layout {
    margin-top: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 28px;
}

.review-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.review-form-section {
    padding: 33px;
    display: grid;
    grid-template-columns: 47px 1fr;
    gap: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.review-section-number {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #123d73;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

.review-form-content h2 {
    color: #123d73;
    font-size: 22px;
    margin-bottom: 7px;
}

.review-form-content > p {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 22px;
}

.upload-box {
    min-height: 190px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.upload-box:hover {
    background: #eef4fb;
    border-color: #123d73;
}

.upload-box input {
    display: none;
}

.upload-icon {
    width: 47px;
    height: 47px;
    padding: 11px;
    color: #123d73;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(18, 61, 115, 0.1);
}

.upload-box strong {
    margin-top: 15px;
    color: #123d73;
    font-size: 15px;
}

.upload-box > span:not(.upload-icon) {
    margin-top: 5px;
    font-size: 12px;
}

.upload-box small {
    margin-top: 9px;
    color: #9ca3af;
    font-size: 10px;
}

.selected-file {
    display: none;
}

.selected-file-visible {
    margin-top: 13px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #eef4fb;
    border-radius: 8px;
}

.selected-file strong {
    overflow: hidden;
    color: #123d73;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-file span {
    flex-shrink: 0;
    color: #6b7280;
    font-size: 10px;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.selection-card {
    position: relative;
    padding: 20px;
    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.selection-card:hover {
    border-color: #123d73;
    background: #f8fbff;
}

.selection-card input {
    position: absolute;
    opacity: 0;
}

.selection-indicator {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    display: block;
    border: 2px solid #9ca3af;
    border-radius: 50%;
}

.selection-card input:checked + .selection-indicator {
    border: 5px solid #123d73;
}

.selection-card:has(input:checked) {
    border-color: #123d73;
    background: #f4f8fc;
}

.selection-card strong {
    color: #123d73;
    font-size: 13px;
}

.selection-card p {
    margin-top: 6px;
    color: #6b7280;
    font-size: 11px;
}

.recommended-label {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 8px;
    color: #ffffff;
    background: #b8872d;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-template-area {
    display: none;
}

.custom-template-visible {
    margin-top: 20px;
    padding: 18px;
    display: grid;
    gap: 9px;
    background: #f8fafc;
    border-radius: 10px;
}

.custom-template-area label {
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.custom-template-area input {
    padding: 11px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 11px;
}

.custom-template-area small {
    color: #6b7280;
    font-size: 10px;
}

.format-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.format-option {
    min-width: 170px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    cursor: pointer;
}

.format-option:has(input:checked) {
    border-color: #123d73;
    background: #f4f8fc;
}

.format-option input {
    accent-color: #123d73;
}

.format-option span {
    color: #374151;
    font-size: 12px;
    font-weight: 700;
}

.review-submit-area {
    padding: 30px 33px;
}

.review-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6b7280;
    font-size: 11px;
}

.review-confirmation input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: #123d73;
}

.start-review-button {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 13px 20px;
    color: #ffffff;
    background: #123d73;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.start-review-button:hover {
    background: #0d2f59;
}

.review-guide-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 5px solid #b8872d;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    position: sticky;
    top: 105px;
}

.review-guide-card h2 {
    color: #123d73;
    font-size: 23px;
    line-height: 1.25;
}

.guide-introduction {
    margin-top: 10px;
    color: #6b7280;
    font-size: 12px;
}

.review-criteria {
    margin-top: 24px;
    display: grid;
}

.review-criteria > div {
    padding: 13px 0;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.review-criteria span {
    color: #b8872d;
    font-size: 9px;
    font-weight: 800;
}

.review-criteria p {
    color: #4b5563;
    font-size: 11px;
}

.review-security-note {
    margin-top: 24px;
    padding: 17px;
    background: #f4f8fc;
    border-radius: 9px;
}

.review-security-note strong {
    color: #123d73;
    font-size: 12px;
}

.review-security-note p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 10px;
}


@media (max-width: 950px) {

    .review-layout {
        grid-template-columns: 1fr;
    }

    .review-guide-card {
        position: static;
    }
}


@media (max-width: 700px) {

    .review-main {
        width: 90%;
        padding-top: 35px;
    }

    .review-page-heading h1 {
        font-size: 34px;
    }

    .review-form-section {
        padding: 25px 20px;
        grid-template-columns: 1fr;
    }

    .review-section-number {
        width: 36px;
        height: 36px;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .format-options {
        flex-direction: column;
    }

    .format-option {
        width: 100%;
    }

    .review-submit-area {
        padding: 25px 20px;
    }
}

/* Processing Page */

.processing-page {
    min-height: 100vh;
    background: #f5f8fc;
}

.processing-main {
    width: min(1100px, 86%);
    margin: 0 auto;
    padding: 55px 0 80px;
}

.processing-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.processing-heading h1 {
    color: #123d73;
    font-size: 42px;
    line-height: 1.18;
    margin-bottom: 14px;
}

.processing-heading > p:last-child {
    color: #6b7280;
    font-size: 15px;
}

.processing-layout {
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 27px;
}

.processing-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 5px solid #b8872d;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
}

.processing-document {
    padding-bottom: 25px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.processing-file-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
    color: #123d73;
    background: #eef4fb;
    border-radius: 11px;
}

.processing-document-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.processing-document-details small {
    color: #9ca3af;
    font-size: 9px;
}

.processing-document-details strong {
    margin-top: 2px;
    overflow: hidden;
    color: #123d73;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.processing-document-details span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 10px;
}

.processing-status-badge {
    padding: 7px 11px;
    color: #123d73;
    background: #eef4fb;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.overall-progress {
    padding: 27px 0 24px;
}

.overall-progress-heading {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4b5563;
    font-size: 12px;
}

.overall-progress-heading strong {
    color: #123d73;
}

.overall-progress-bar {
    height: 10px;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 999px;
}

.overall-progress-bar span {
    width: 0;
    height: 100%;
    display: block;
    background:
        linear-gradient(
            90deg,
            #123d73,
            #2c6cad
        );
    border-radius: inherit;
    transition: width 0.2s linear;
}

.processing-steps {
    display: grid;
    gap: 10px;
}

.processing-step {
    padding: 15px;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.processing-step-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.processing-step strong {
    color: #374151;
    font-size: 11px;
}

.processing-step p {
    margin-top: 2px;
    color: #9ca3af;
    font-size: 9px;
}

.step-status {
    color: #9ca3af;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.active-step {
    background: #f4f8fc;
    border-color: #123d73;
}

.active-step .processing-step-icon {
    background: #ffffff;
}

.active-step .step-status {
    color: #123d73;
}

.completed-step {
    background: #f8fcf9;
    border-color: #cfe5d6;
}

.completed-step .processing-step-icon {
    color: #15803d;
    background: #dcfce7;
}

.completed-step .step-status {
    color: #15803d;
}

.step-spinner {
    width: 17px;
    height: 17px;
    display: block;
    border: 3px solid #dbe7f4;
    border-top-color: #123d73;
    border-radius: 50%;
    animation: processing-spin 0.9s linear infinite;
}

@keyframes processing-spin {
    to {
        transform: rotate(360deg);
    }
}

.processing-message {
    margin-top: 24px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    background: #f4f8fc;
    border-radius: 9px;
    font-size: 11px;
}

.message-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    background: #b8872d;
    border-radius: 50%;
    animation: message-pulse 1.4s ease-in-out infinite;
}

@keyframes message-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.processing-side-card {
    padding: 27px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    position: sticky;
    top: 103px;
}

.processing-side-card h2 {
    color: #123d73;
    font-size: 23px;
    line-height: 1.25;
}

.processing-check-list {
    margin-top: 23px;
    display: grid;
    gap: 13px;
}

.processing-check-list > div {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 9px;
}

.processing-check-list span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: #15803d;
    background: #dcfce7;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
}

.processing-check-list p {
    color: #4b5563;
    font-size: 11px;
}

.processing-note {
    margin-top: 25px;
    padding: 16px;
    background: #fff9ec;
    border-left: 4px solid #b8872d;
    border-radius: 7px;
}

.processing-note strong {
    color: #8a631f;
    font-size: 11px;
}

.processing-note p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 9px;
}


@media (max-width: 900px) {

    .processing-layout {
        grid-template-columns: 1fr;
    }

    .processing-side-card {
        position: static;
    }
}


@media (max-width: 650px) {

    .processing-main {
        width: 90%;
        padding-top: 40px;
    }

    .processing-heading h1 {
        font-size: 34px;
    }

    .processing-card {
        padding: 22px;
    }

    .processing-document {
        grid-template-columns: 45px 1fr;
    }

    .processing-status-badge {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .processing-step {
        grid-template-columns: 31px 1fr;
    }

    .step-status {
        grid-column: 2;
    }
}

/* Results Page */

.results-page {
    min-height: 100vh;
    background: #f5f8fc;
}

.results-main {
    width: min(1180px, 86%);
    margin: 0 auto;
    padding: 50px 0 80px;
}

.results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.results-heading h1 {
    color: #123d73;
    font-size: 42px;
    line-height: 1.18;
    margin-bottom: 11px;
}

.results-heading > div > p:last-child {
    max-width: 700px;
    color: #6b7280;
    font-size: 14px;
}

.results-document-card {
    margin-top: 35px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.results-document-icon {
    width: 47px;
    height: 47px;
    padding: 11px;
    color: #123d73;
    background: #eef4fb;
    border-radius: 10px;
}

.results-document-information {
    display: flex;
    flex-direction: column;
}

.results-document-information small {
    color: #9ca3af;
    font-size: 9px;
}

.results-document-information strong {
    margin-top: 2px;
    color: #123d73;
    font-size: 13px;
}

.results-document-information span {
    margin-top: 3px;
    color: #6b7280;
    font-size: 10px;
}

.completed-badge {
    padding: 7px 12px;
    color: #15803d;
    background: #dcfce7;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.results-summary-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.result-score-card,
.result-summary-card {
    min-height: 175px;
    padding: 23px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.result-card-label {
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
}

.score-circle {
    width: 86px;
    height: 86px;
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding-top: 21px;
    color: #ffffff;
    background: #123d73;
    border-radius: 50%;
}

.score-circle strong {
    font-size: 31px;
}

.score-circle small {
    font-size: 10px;
}

.result-score-card > p,
.result-summary-card > p {
    margin-top: 10px;
    color: #6b7280;
    font-size: 10px;
}

.result-summary-card > strong {
    margin-top: 25px;
    color: #123d73;
    font-size: 38px;
}

.results-layout {
    margin-top: 45px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    align-items: start;
    gap: 27px;
}

.results-content {
    display: grid;
    gap: 22px;
}

.results-section-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
}

.results-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.results-section-card h2 {
    color: #123d73;
    font-size: 24px;
}

.recommendation-badge {
    flex-shrink: 0;
    padding: 7px 11px;
    color: #92400e;
    background: #fef3c7;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.assessment-text {
    margin-top: 20px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.75;
}

.feedback-list {
    margin-top: 23px;
    display: grid;
    gap: 13px;
}

.positive-feedback > div {
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 10px;
    align-items: start;
    background: #f8fcf9;
    border-radius: 8px;
}

.positive-feedback span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    color: #15803d;
    background: #dcfce7;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
}

.positive-feedback p {
    color: #4b5563;
    font-size: 12px;
}

.issue-feedback > div {
    padding: 16px;
    display: grid;
    grid-template-columns: 31px 1fr;
    gap: 12px;
    background: #fffaf0;
    border-left: 4px solid #b8872d;
    border-radius: 7px;
}

.issue-feedback > div > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #b8872d;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
}

.issue-feedback strong {
    color: #123d73;
    font-size: 12px;
}

.issue-feedback p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 11px;
}

.section-review-table {
    margin-top: 23px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}

.section-review-row {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr 0.65fr;
    gap: 15px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.section-review-row:last-child {
    border-bottom: none;
}

.section-review-row > span {
    color: #4b5563;
    font-size: 10px;
}

.section-review-header {
    background: #f4f8fc;
}

.section-review-header > span {
    color: #123d73;
    font-weight: 800;
}

.status-good,
.status-minor,
.status-major {
    width: fit-content;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px !important;
    font-weight: 800;
    text-transform: uppercase;
}

.status-good {
    color: #15803d !important;
    background: #dcfce7;
}

.status-minor {
    color: #92400e !important;
    background: #fef3c7;
}

.status-major {
    color: #b91c1c !important;
    background: #fee2e2;
}

.download-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: 5px solid #b8872d;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    position: sticky;
    top: 103px;
}

.download-card h2 {
    color: #123d73;
    font-size: 23px;
}

.download-card > p:not(.small-heading) {
    margin-top: 9px;
    color: #6b7280;
    font-size: 11px;
}

.download-options {
    margin-top: 23px;
    display: grid;
    gap: 11px;
}

.download-option {
    padding: 13px;
    display: grid;
    grid-template-columns: 39px 1fr auto;
    align-items: center;
    gap: 11px;
    color: inherit;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    text-decoration: none;
}

.download-option:hover {
    background: #eef4fb;
    border-color: #123d73;
}

.download-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #2563eb;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}

.pdf-icon {
    background: #b91c1c;
}

.comment-icon {
    background: #15803d;
}

.download-option > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.download-option strong {
    color: #123d73;
    font-size: 10px;
}

.download-option span {
    margin-top: 2px;
    color: #6b7280;
    font-size: 8px;
}

.download-arrow {
    color: #123d73 !important;
    font-size: 17px !important;
    font-weight: 800;
}

.download-note {
    margin-top: 22px;
    padding: 15px;
    background: #fff9ec;
    border-left: 4px solid #b8872d;
    border-radius: 7px;
}

.download-note strong {
    color: #8a631f;
    font-size: 10px;
}

.download-note p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 9px;
}

.return-dashboard-button {
    width: 100%;
    margin-top: 20px;
    padding: 12px 16px;
    display: block;
    color: #ffffff;
    background: #123d73;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.return-dashboard-button:hover {
    background: #0d2f59;
}


@media (max-width: 1000px) {

    .results-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-layout {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
    }
}


@media (max-width: 700px) {

    .results-main {
        width: 90%;
        padding-top: 38px;
    }

    .results-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-heading h1 {
        font-size: 34px;
    }

    .results-document-card {
        grid-template-columns: 48px 1fr;
    }

    .completed-badge {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .results-summary-grid {
        grid-template-columns: 1fr;
    }

    .results-section-heading {
        flex-direction: column;
    }

    .section-review-row {
        grid-template-columns: 1fr;
    }

    .section-review-header {
        display: none;
    }
}


/* My Reviews Page */

.reviews-main {
    width: min(1180px, 86%);
    min-height: calc(100vh - 156px);
    margin: 0 auto;
    padding: 52px 0 80px;
}

.reviews-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.reviews-page-heading h1 {
    color: #123d73;
    font-size: 42px;
    margin-bottom: 8px;
}

.reviews-page-heading > div > p:last-child {
    color: #6b7280;
    font-size: 14px;
}

.review-statistics {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.review-statistics article {
    padding: 22px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.review-statistics span {
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
}

.review-statistics strong {
    margin-top: 8px;
    color: #123d73;
    font-size: 29px;
}

.reviews-panel {
    margin-top: 32px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.reviews-toolbar {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.reviews-search {
    flex: 1;
    max-width: 390px;
}

.reviews-search input,
.reviews-filters select {
    min-height: 43px;
    padding: 10px 13px;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    font-size: 11px;
}

.reviews-search input {
    width: 100%;
}

.reviews-search input:focus,
.reviews-filters select:focus {
    border-color: #123d73;
    box-shadow: 0 0 0 3px rgba(18, 61, 115, 0.08);
}

.reviews-filters {
    display: flex;
    gap: 10px;
}

.reviews-table-wrapper {
    overflow-x: auto;
}

.reviews-table {
    min-width: 880px;
}

.reviews-table-row {
    min-height: 76px;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1.65fr 0.85fr 0.75fr 0.65fr 0.65fr;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.reviews-table-row:last-child {
    border-bottom: none;
}

.reviews-table-header {
    min-height: 48px;
    color: #123d73;
    background: #f4f8fc;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.review-record > span {
    color: #4b5563;
    font-size: 10px;
}

.review-document-cell {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.small-document-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #ffffff;
    background: #2563eb;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
}

.pdf-document-icon {
    background: #b91c1c;
}

.review-document-cell > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.review-document-cell strong {
    overflow: hidden;
    color: #123d73;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-document-cell small {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 8px;
}

.review-status {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px !important;
    font-weight: 800;
    text-transform: uppercase;
}

.completed-status {
    color: #15803d !important;
    background: #dcfce7;
}

.processing-status {
    color: #92400e !important;
    background: #fef3c7;
}

.failed-status {
    color: #b91c1c !important;
    background: #fee2e2;
}

.review-action {
    color: #123d73;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.review-action:hover {
    text-decoration: underline;
}

.no-review-results {
    display: none;
    padding: 55px 25px;
    text-align: center;
}

.no-review-results h3 {
    color: #123d73;
    font-size: 19px;
}

.no-review-results p {
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}


@media (max-width: 900px) {

    .review-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-search {
        max-width: none;
    }
}


@media (max-width: 600px) {

    .reviews-main {
        width: 90%;
        padding-top: 38px;
    }

    .reviews-page-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-page-heading h1 {
        font-size: 34px;
    }

    .review-statistics {
        grid-template-columns: 1fr;
    }

    .reviews-filters {
        flex-direction: column;
    }

    .reviews-filters select {
        width: 100%;
    }
}


/* Downloads Page */

.downloads-main {
    width: min(1180px, 86%);
    min-height: calc(100vh - 156px);
    margin: 0 auto;
    padding: 52px 0 80px;
}

.downloads-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.downloads-heading h1 {
    color: #123d73;
    font-size: 42px;
    margin-bottom: 8px;
}

.downloads-heading > div > p:last-child {
    color: #6b7280;
    font-size: 14px;
}

.download-summary {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.download-summary article {
    padding: 22px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.download-summary span {
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
}

.download-summary strong {
    margin-top: 8px;
    color: #123d73;
    font-size: 29px;
}

.download-summary small {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 9px;
}

.downloads-panel {
    margin-top: 32px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.downloads-toolbar {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.download-search {
    width: 100%;
    max-width: 390px;
}

.download-search input,
.download-filters select {
    min-height: 43px;
    padding: 10px 13px;
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    font-size: 11px;
}

.download-search input {
    width: 100%;
}

.download-search input:focus,
.download-filters select:focus {
    border-color: #123d73;
    box-shadow: 0 0 0 3px rgba(18, 61, 115, 0.08);
}

.download-filters {
    display: flex;
    gap: 10px;
}

.download-file-list {
    display: grid;
}

.download-file-card {
    min-height: 115px;
    padding: 20px;
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    gap: 17px;
    border-bottom: 1px solid #e5e7eb;
}

.download-file-card:last-child {
    border-bottom: none;
}

.download-file-card:hover {
    background: #fbfdff;
}

.download-file-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900;
}

.word-file {
    background: #2563eb;
}

.pdf-file {
    background: #b91c1c;
}

.commented-file {
    background: #15803d;
}

.download-file-information {
    min-width: 0;
}

.download-type-label {
    color: #b8872d;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.download-file-information h3 {
    margin-top: 5px;
    overflow: hidden;
    color: #123d73;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.download-file-information > p {
    margin-top: 3px;
    color: #6b7280;
    font-size: 10px;
}

.download-file-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.download-file-meta span {
    color: #9ca3af;
    font-size: 8px;
}

.download-file-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.file-download-button,
.file-view-button {
    min-height: 38px;
    padding: 9px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.file-download-button {
    color: #ffffff;
    background: #123d73;
}

.file-download-button:hover {
    background: #0d2f59;
}

.file-view-button {
    color: #123d73;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.file-view-button:hover {
    background: #eef4fb;
}

.no-download-results {
    display: none;
    padding: 55px 25px;
    text-align: center;
}

.no-download-results h3 {
    color: #123d73;
    font-size: 19px;
}

.no-download-results p {
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.download-information-note {
    margin-top: 27px;
    padding: 19px 21px;
    background: #fff9ec;
    border-left: 4px solid #b8872d;
    border-radius: 8px;
}

.download-information-note strong {
    color: #8a631f;
    font-size: 11px;
}

.download-information-note p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 10px;
}


@media (max-width: 900px) {

    .download-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .downloads-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .download-search {
        max-width: none;
    }

    .download-file-card {
        grid-template-columns: 55px 1fr;
    }

    .download-file-actions {
        grid-column: 2;
    }
}


@media (max-width: 600px) {

    .downloads-main {
        width: 90%;
        padding-top: 38px;
    }

    .downloads-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .downloads-heading h1 {
        font-size: 34px;
    }

    .download-summary {
        grid-template-columns: 1fr;
    }

    .download-filters {
        flex-direction: column;
    }

    .download-filters select {
        width: 100%;
    }

    .download-file-card {
        grid-template-columns: 1fr;
    }

    .download-file-icon {
        width: 46px;
        height: 46px;
    }

    .download-file-actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .file-download-button,
    .file-view-button {
        width: 100%;
    }
}

.auth-submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.dashboard-page,
.review-page,
.processing-page,
.results-page {
    visibility: hidden;
}

.dashboard-page.authenticated-page,
.review-page.authenticated-page,
.processing-page.authenticated-page,
.results-page.authenticated-page {
    visibility: visible;
}