/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* =========================
   LOGO
========================= */

.logo a {
    font-size: 22px;
    font-weight: 600;
    color: #1e88e5;
}

/* =========================
   NAVIGATION
========================= */

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: 0.3s;
}

.nav ul li a:hover {
    color: #1e88e5;
}

/* =========================
   BUTTONS
========================= */

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #1e88e5;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #1565c0;
}

.btn-outline {
    border: 1px solid #1e88e5;
    color: #1e88e5;
    background: transparent;
}

.btn-outline:hover {
    background: #1e88e5;
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .nav ul {
        display: none;
    }

    .auth-buttons {
        gap: 5px;
    }

    .logo a {
        font-size: 18px;
    }

}
/* =========================
   FOOTER
========================= */

.footer {
    background: #0f172a;
    color: #ffffff;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-size: 14px;
    color: #cbd5e1;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #38bdf8;
}

/* Social */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.social-icons a {
    font-size: 14px;
    color: #cbd5e1;
}

.social-icons a:hover {
    color: #38bdf8;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        align-items: center;
    }
}

/* =========================
   HERO SECTION
========================= */

.hero {
    background: linear-gradient(135deg, #e3f2fd, #f8fbff);
    padding: 70px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    width: 450px;
}

/* =========================
   SEARCH SECTION
========================= */

.search-section {
    padding: 30px 0;
    background: #ffffff;
}

.search-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input {
    width: 100%;
    max-width: 500px;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

/* =========================
   COMMON SECTION
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-heading p {
    color: #64748b;
    font-size: 15px;
}

/* =========================
   CATEGORIES
========================= */

.categories-section,
.featured-section,
.how-section,
.why-section {
    padding: 70px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 20px;
    color: #1e88e5;
    margin-bottom: 10px;
}

.category-card p {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

/* =========================
   FEATURED DOCUMENTS
========================= */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.document-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.document-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.document-card-content {
    padding: 20px;
}

.doc-category {
    display: inline-block;
    font-size: 13px;
    color: #1e88e5;
    font-weight: 600;
    margin-bottom: 10px;
}

.document-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

.document-card-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    color: #0f172a;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

/* =========================
   HOW IT WORKS
========================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #1e88e5;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.step-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* =========================
   WHY SECTION
========================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.why-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.why-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: 70px 0;
}

.cta-box {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    text-align: center;
    padding: 50px 30px;
    border-radius: 16px;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.7;
    font-size: 15px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .hero-container,
    .categories-grid,
    .documents-grid,
    .steps-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .categories-grid,
    .documents-grid,
    .steps-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .section-heading h2,
    .cta-box h2 {
        font-size: 26px;
    }

    .hero {
        padding: 50px 0;
    }
}

/* =========================
   LOGO STYLING
========================= */

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #1e88e5;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.page-banner p {
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 15px;
}

/* =========================
   ABOUT INTRO
========================= */

.about-intro-section {
    padding: 70px 0;
    background: #ffffff;
}

.about-intro-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-intro-image,
.about-intro-content {
    flex: 1;
}

.about-intro-image img {
    width: 50%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.about-intro-content h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 20px;
}

.about-intro-content p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* =========================
   MISSION SECTION
========================= */

.mission-section {
    padding: 70px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.mission-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e88e5;
}

.mission-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   OFFER SECTION
========================= */

.offer-section {
    padding: 70px 0;
    background: #ffffff;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.offer-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.offer-card h3 {
    color: #0f172a;
    margin-bottom: 12px;
    font-size: 20px;
}

.offer-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

/* =========================
   TRUST SECTION
========================= */

.trust-section {
    padding: 70px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trust-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.trust-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0f172a;
}

.trust-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

/* =========================
   POLICY SECTION
========================= */

.policy-section {
    padding: 70px 0;
}

.policy-box {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
}

.policy-box h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.policy-box p {
    max-width: 850px;
    margin: 0 auto 15px;
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .about-intro-container {
        flex-direction: column;
    }

    .mission-grid,
    .offer-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 30px;
    }

    .about-intro-content h2,
    .policy-box h2 {
        font-size: 26px;
    }

    .mission-grid,
    .offer-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SERVICES PAGE
========================= */

.services-main-section {
    padding: 70px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #f8fafc;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1e88e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   SERVICE PROCESS
========================= */

.service-process-section {
    padding: 70px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.process-card h3 {
    font-size: 22px;
    color: #1e88e5;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   SERVICE FEATURES
========================= */

.service-features-section {
    padding: 70px 0;
    background: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.feature-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   SERVICE NOTE
========================= */

.service-note-section {
    padding: 70px 0;
}

.service-note-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    text-align: center;
    padding: 45px 30px;
    border-radius: 16px;
}

.service-note-box h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.service-note-box p {
    max-width: 850px;
    margin: 0 auto 15px;
    line-height: 1.8;
    font-size: 15px;
    color: #cbd5e1;
}

.service-note-box .btn {
    margin-top: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .services-grid,
    .process-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid,
    .process-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .service-note-box h2 {
        font-size: 26px;
    }

    .service-card h3,
    .process-card h3 {
        font-size: 20px;
    }
}

/* =========================
   HOW IT WORKS PAGE
========================= */

.how-page-intro {
    padding: 60px 0 20px;
    background: #ffffff;
}

.how-page-steps {
    padding: 20px 0 70px;
}

.how-step-row {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.how-step-number {
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1e88e5;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-step-content h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
}

.how-step-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   RULES SECTION
========================= */

.how-rules-section {
    padding: 70px 0;
    background: #ffffff;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.rule-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.rule-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
}

.rule-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   BENEFITS SECTION
========================= */

.how-benefits-section {
    padding: 70px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.benefit-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.benefit-card h3 {
    font-size: 20px;
    color: #1e88e5;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

/* =========================
   CTA SECTION
========================= */

.how-cta-section {
    padding: 70px 0;
}

.how-cta-box {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    text-align: center;
    padding: 45px 30px;
    border-radius: 16px;
}

.how-cta-box h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.how-cta-box p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .rules-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .how-step-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rules-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .how-step-content h3,
    .how-cta-box h2 {
        font-size: 24px;
    }

    .how-step-number {
        min-width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page-section {
    padding: 70px 0;
    background: #ffffff;
}

.contact-page-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.contact-form-box,
.contact-info-box {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.contact-form-box h2,
.contact-info-box h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-form-box p,
.contact-info-box p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Form */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1e88e5;
}

.contact-form textarea {
    resize: vertical;
}

/* Contact Info */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-info-item h3 {
    font-size: 18px;
    color: #1e88e5;
    margin-bottom: 8px;
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* FAQ */
.contact-faq-section {
    padding: 70px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.faq-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.faq-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
}

.faq-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-page-container,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-box,
    .contact-info-box {
        padding: 22px;
    }

    .contact-form-box h2,
    .contact-info-box h2 {
        font-size: 24px;
    }
}

.documents-filter-section {
    padding: 50px 0 20px;
    background: #ffffff;
}

.documents-filter-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: #1e88e5;
}

.filter-actions {
    grid-column: span 4;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.documents-page-section {
    padding: 30px 0 70px;
}

.documents-page-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.documents-page-top h2 {
    font-size: 30px;
    color: #0f172a;
}

.documents-page-top p {
    font-size: 15px;
    color: #64748b;
}

.documents-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.document-page-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.document-page-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.document-page-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.document-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 30px;
    margin-bottom: 12px;
    width: fit-content;
}

.document-page-content h3 {
    font-size: 21px;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.5;
}

.document-page-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.document-extra-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.document-extra-info span {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.document-page-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 15px;
    gap: 10px;
}

.file-type {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 30px;
}

.doc-price {
    font-size: 20px;
    font-weight: 700;
    color: #1e88e5;
}

.no-documents-found {
    text-align: center;
    background: #ffffff;
    padding: 50px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.no-documents-found h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.no-documents-found p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
}

.pagination {
    margin-top: 35px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.page-link:hover,
.page-link.active {
    background: #1e88e5;
    color: #ffffff;
    border-color: #1e88e5;
}

@media (max-width: 992px) {
    .documents-filter-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-actions {
        grid-column: span 2;
    }

    .documents-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .documents-filter-form {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        grid-column: span 1;
    }

    .documents-page-grid {
        grid-template-columns: 1fr;
    }

    .documents-page-top h2 {
        font-size: 24px;
    }

    .document-page-content h3 {
        font-size: 19px;
    }
}

/* =========================
   AUTH PAGES
========================= */

.auth-section {
    padding: 70px 0;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.auth-left,
.auth-right {
    display: flex;
}

.auth-info-card,
.auth-form-card {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 35px;
}

.auth-info-card {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
}

.auth-info-card h2,
.auth-form-card h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.auth-info-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 22px;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
}

.auth-feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.auth-feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
}

.auth-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 22px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-form label span {
    color: #64748b;
    font-weight: 400;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.auth-form input:focus {
    border-color: #1e88e5;
}

.auth-form input[type="file"] {
    padding: 12px;
    background: #f8fafc;
}

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.auth-bottom-text {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.auth-bottom-text a {
    color: #1e88e5;
    font-weight: 600;
}

.auth-bottom-text a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-info-card,
    .auth-form-card {
        padding: 24px;
    }

    .auth-info-card h2,
    .auth-form-card h2 {
        font-size: 26px;
    }
}
/* =========================
   AUTH PAGES
========================= */

.auth-section {
    padding: 70px 0;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.auth-left,
.auth-right {
    display: flex;
}

.auth-info-card,
.auth-form-card {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 35px;
}

.auth-info-card {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
}

.auth-info-card h2,
.auth-form-card h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.auth-info-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 22px;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
}

.auth-feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.auth-feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
}

.auth-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 22px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-form label span {
    color: #64748b;
    font-weight: 400;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.auth-form input:focus {
    border-color: #1e88e5;
}

.auth-form input[type="file"] {
    padding: 12px;
    background: #f8fafc;
}

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.auth-bottom-text {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.auth-bottom-text a {
    color: #1e88e5;
    font-weight: 600;
}

.auth-bottom-text a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-info-card,
    .auth-form-card {
        padding: 24px;
    }

    .auth-info-card h2,
    .auth-form-card h2 {
        font-size: 26px;
    }
}

/* =========================
   USER DASHBOARD
========================= */

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-welcome-card {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-welcome-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.dashboard-welcome-card p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 700px;
    color: #e2e8f0;
}

.dashboard-welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-welcome-actions .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.dashboard-welcome-actions .btn-outline:hover {
    background: #ffffff;
    color: #1e88e5;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.dashboard-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.dashboard-stat-card h3 {
    font-size: 28px;
    color: #1e88e5;
    margin-bottom: 10px;
}

.dashboard-stat-card p {
    font-size: 15px;
    color: #475569;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dashboard-card-header h3 {
    font-size: 22px;
    color: #0f172a;
}

.dashboard-card-header a {
    font-size: 14px;
    font-weight: 600;
    color: #1e88e5;
}

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.dashboard-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.dashboard-table td {
    color: #475569;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.pending {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.failed {
    background: #fee2e2;
    color: #b91c1c;
}

.empty-text {
    color: #64748b;
    font-size: 15px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome-card {
        padding: 24px;
    }

    .dashboard-welcome-card h2 {
        font-size: 24px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .dashboard-card-header h3 {
        font-size: 20px;
    }
}

/* =========================
   USER PROFILE PAGE
========================= */

.profile-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-header-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-avatar-large img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
}

.profile-header-info h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 8px;
}

.profile-header-info p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 10px;
}

.profile-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.profile-status-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.profile-status-badge.blocked {
    background: #fee2e2;
    color: #b91c1c;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    font-size: 15px;
    color: #0f172a;
    line-height: 1.7;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-header-card {
        padding: 20px;
    }

    .profile-header-info h2 {
        font-size: 24px;
    }

    .profile-avatar-large img {
        width: 75px;
        height: 75px;
    }
}


/* =========================
   PURCHASES PAGE
========================= */

.purchases-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-subtext {
    font-size: 14px;
    color: #64748b;
    margin-top: 6px;
}

.purchases-table th,
.purchases-table td {
    white-space: nowrap;
}

.empty-state-box {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-box h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
}

.empty-state-box p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 18px;
}


/* =========================
   INVOICES PAGE
========================= */

.invoices-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.invoices-table th,
.invoices-table td {
    white-space: nowrap;
    vertical-align: top;
}

.invoices-table small {
    color: #64748b;
    font-size: 12px;
}

.table-link-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background: #1e88e5;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

.table-link-btn:hover {
    background: #1565c0;
}

.table-muted-text {
    color: #94a3b8;
    font-size: 13px;
}


/* =========================
   DOCUMENT DETAILS PAGE
========================= */

.document-details-section {
    padding: 70px 0;
}

.document-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.document-preview-card,
.document-info-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.document-preview-image img {
    width: 100%;
    display: block;
    max-height: 700px;
    object-fit: cover;
}

.document-preview-note {
    padding: 24px;
    border-top: 1px solid #e2e8f0;
}

.document-preview-note h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 10px;
}

.document-preview-note p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.document-info-card {
    padding: 30px;
}

.document-details-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.document-info-card h2 {
    font-size: 32px;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 18px;
}

.document-main-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 25px;
}

.document-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.document-info-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.info-value {
    font-size: 14px;
    color: #0f172a;
    text-align: right;
}

.document-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.price-label {
    font-size: 16px;
    color: #475569;
    font-weight: 500;
}

.price-value {
    font-size: 30px;
    font-weight: 700;
    color: #1e88e5;
}

.document-policy-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
}

.document-policy-box h3 {
    font-size: 20px;
    color: #9a3412;
    margin-bottom: 12px;
}

.document-policy-box ul {
    padding-left: 18px;
    margin: 0;
}

.document-policy-box ul li {
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.document-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.document-login-note {
    margin-top: 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

.document-details-empty {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    padding: 50px 30px;
    text-align: center;
}

.document-details-empty h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.document-details-empty p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .document-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .document-info-card {
        padding: 22px;
    }

    .document-info-card h2 {
        font-size: 26px;
    }

    .price-value {
        font-size: 24px;
    }

    .document-info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-value {
        text-align: left;
    }
}


/* =========================
   CHECKOUT PAGE
========================= */

.checkout-section {
    padding: 70px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.checkout-left,
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checkout-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    padding: 28px;
}

.checkout-card-header {
    margin-bottom: 20px;
}

.checkout-card-header h2 {
    font-size: 26px;
    color: #0f172a;
}

.checkout-document-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.checkout-document-image {
    width: 180px;
    min-width: 180px;
}

.checkout-document-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.checkout-document-info {
    flex: 1;
}

.checkout-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.checkout-document-info h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.5;
}

.checkout-document-info p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 14px;
}

.checkout-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-meta span {
    font-size: 14px;
    color: #334155;
}

.checkout-policy-box {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 18px;
}

.checkout-policy-box ul {
    margin: 0;
    padding-left: 18px;
}

.checkout-policy-box ul li {
    font-size: 14px;
    color: #7c2d12;
    line-height: 1.8;
    margin-bottom: 6px;
}

.billing-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #334155;
}

.total-row {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
}

.checkout-form {
    margin-bottom: 12px;
}

.checkout-back-btn {
    margin-top: 0;
}

.checkout-note {
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

.checkout-empty-box {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    padding: 50px 30px;
    text-align: center;
}

.checkout-empty-box h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.checkout-empty-box p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .checkout-card {
        padding: 22px;
    }

    .checkout-document-box {
        flex-direction: column;
    }

    .checkout-document-image {
        width: 100%;
        min-width: 100%;
    }

    .checkout-card-header h2 {
        font-size: 22px;
    }

    .checkout-document-info h3 {
        font-size: 22px;
    }

    .billing-row {
        flex-direction: column;
        gap: 6px;
    }
}


/* =========================
   PAYMENT SUCCESS PAGE
========================= */

.payment-success-section {
    padding: 70px 0;
}

.payment-success-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.payment-message-box,
.payment-summary-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    padding: 30px;
}

.success-box {
    text-align: center;
    border-top: 5px solid #22c55e;
}

.error-box {
    text-align: center;
    border-top: 5px solid #ef4444;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.payment-message-box h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 12px;
}

.payment-message-box p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
}

.payment-summary-card h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 20px;
}

.payment-summary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.payment-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #334155;
}

.total-item {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.payment-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.payment-note {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .payment-success-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .payment-message-box,
    .payment-summary-card {
        padding: 22px;
    }

    .payment-message-box h2,
    .payment-summary-card h3 {
        font-size: 24px;
    }

    .payment-summary-item {
        flex-direction: column;
        gap: 6px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}
/* =========================
   ADMIN LAYOUT - FINAL FIX
========================= */

.admin-body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f1f5f9;
}

.admin-sidebar {
    width: 240px;
    background: #020617;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

.admin-sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-sidebar-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.admin-sidebar-header p {
    font-size: 13px;
    color: #94a3b8;
}

.admin-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar-menu li {
    margin-bottom: 5px;
}

.admin-sidebar-menu li a {
    display: block;
    padding: 14px 22px;
    color: #cbd5f5;
    font-size: 15px;
    transition: 0.3s;
}

.admin-sidebar-menu li a:hover {
    background: #1e293b;
    color: #ffffff;
}

.admin-sidebar-menu li.active a {
    background: #22c55e;
    color: #022c22;
    font-weight: 600;
}

.admin-sidebar-menu li.logout a {
    color: #f87171;
}

.admin-sidebar-menu li.logout a:hover {
    background: #7f1d1d;
    color: #ffffff;
}

.admin-page-wrapper {
    margin-left: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 900;
}

.admin-topbar-title {
    font-size: 22px;
    color: #020617;
    margin: 0;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topbar-user-name {
    font-size: 14px;
    color: #334155;
}

.admin-topbar-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-main-content {
    padding: 30px;
    flex: 1;
    background: #f1f5f9;
}

/* =========================
   ADMIN DASHBOARD
========================= */

.admin-dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-welcome-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-welcome-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.admin-welcome-card p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 700px;
    color: #cbd5e1;
}

.admin-welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-welcome-actions .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.admin-welcome-actions .btn-outline:hover {
    background: #ffffff;
    color: #0f172a;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

.admin-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.admin-stat-card h3 {
    font-size: 28px;
    color: #22c55e;
    margin-bottom: 10px;
}

.admin-stat-card p {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* =========================
   COMMON DASHBOARD CARDS/TABLES
========================= */

.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dashboard-card-header h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 0;
}

.dashboard-card-header a {
    font-size: 14px;
    font-weight: 600;
    color: #1e88e5;
}

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    white-space: nowrap;
}

.dashboard-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.dashboard-table td {
    color: #475569;
}

.empty-text {
    color: #64748b;
    font-size: 15px;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success,
.status-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.pending {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.failed,
.status-badge.blocked,
.status-badge.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .admin-page-wrapper {
        margin-left: 0;
    }

    .admin-topbar {
        position: static;
    }

    .admin-main-content {
        padding: 20px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-welcome-card {
        padding: 24px;
    }

    .admin-welcome-card h2 {
        font-size: 24px;
    }
}
/* =========================
   ADMIN CATEGORIES PAGE
========================= */

.admin-categories-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category-form {
    margin-top: 10px;
}

.category-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.category-form .form-group {
    display: flex;
    flex-direction: column;
}

.category-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.category-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.category-form .form-group input:focus {
    border-color: #22c55e;
}

.categories-table th,
.categories-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.table-action-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-action-btn {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.table-action-btn.secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.table-action-btn.secondary:hover {
    background: #cbd5e1;
}

.table-action-btn.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.table-action-btn.danger:hover {
    background: #fecaca;
}

@media (max-width: 768px) {
    .category-form-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ADMIN UPLOAD DOCUMENT PAGE
========================= */

.admin-upload-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upload-document-form {
    margin-top: 10px;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.upload-document-form .form-group {
    display: flex;
    flex-direction: column;
}

.upload-document-form .form-group.full-width {
    grid-column: span 2;
}

.upload-document-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.upload-document-form .form-group input,
.upload-document-form .form-group select,
.upload-document-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.upload-document-form .form-group input:focus,
.upload-document-form .form-group select:focus,
.upload-document-form .form-group textarea:focus {
    border-color: #22c55e;
}

.upload-document-form .form-group input[type="file"] {
    padding: 12px;
    background: #f8fafc;
}

.upload-document-form .form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .upload-document-form .form-group.full-width {
        grid-column: span 1;
    }
}


/* =========================
   ADMIN MANAGE DOCUMENTS PAGE
========================= */

.admin-manage-documents-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.manage-documents-filter-form {
    margin-top: 10px;
}

.manage-documents-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.manage-documents-filter-form .form-group {
    display: flex;
    flex-direction: column;
}

.manage-documents-filter-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.manage-documents-filter-form .form-group input,
.manage-documents-filter-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.manage-documents-filter-form .form-group input:focus,
.manage-documents-filter-form .form-group select:focus {
    border-color: #22c55e;
}

.manage-documents-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.manage-documents-table th,
.manage-documents-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.document-table-preview {
    width: 55px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 992px) {
    .manage-documents-filter-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ADMIN ORDERS PAGE
========================= */

.admin-orders-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.orders-filter-form {
    margin-top: 10px;
}

.orders-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.orders-filter-form .form-group {
    display: flex;
    flex-direction: column;
}

.orders-filter-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.orders-filter-form .form-group input,
.orders-filter-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.orders-filter-form .form-group input:focus,
.orders-filter-form .form-group select:focus {
    border-color: #22c55e;
}

.orders-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.orders-table th,
.orders-table td {
    white-space: nowrap;
    vertical-align: middle;
}

@media (max-width: 992px) {
    .orders-filter-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ADMIN USERS PAGE
========================= */

.admin-users-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.users-filter-form {
    margin-top: 10px;
}

.users-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.users-filter-form .form-group {
    display: flex;
    flex-direction: column;
}

.users-filter-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.users-filter-form .form-group input,
.users-filter-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.users-filter-form .form-group input:focus,
.users-filter-form .form-group select:focus {
    border-color: #22c55e;
}

.users-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.users-table th,
.users-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.user-table-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

@media (max-width: 992px) {
    .users-filter-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   ADMIN LOGIN LOGS PAGE
========================= */

.admin-login-logs-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.login-logs-filter-form {
    margin-top: 10px;
}

.login-logs-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

.login-logs-filter-form .form-group {
    display: flex;
    flex-direction: column;
}

.login-logs-filter-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.login-logs-filter-form .form-group input,
.login-logs-filter-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.login-logs-filter-form .form-group input:focus,
.login-logs-filter-form .form-group select:focus {
    border-color: #22c55e;
}

.login-logs-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.login-logs-table th,
.login-logs-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.user-type-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.user-type-badge.admin {
    background: #dcfce7;
    color: #166534;
}

.user-type-badge.user {
    background: #dbeafe;
    color: #1d4ed8;
}

.user-agent-cell {
    max-width: 280px;
    white-space: normal !important;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 992px) {
    .login-logs-filter-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   USER DOWNLOADS PAGE
========================= */

.user-page {
    padding: 20px;
}

.user-page-header {
    margin-bottom: 20px;
}

.user-page-header h2 {
    font-size: 26px;
    margin-bottom: 5px;
}

.user-page-header p {
    color: #64748b;
    font-size: 14px;
}


/* =========================
   USER LAYOUT - FINAL FIX
========================= */

.user-body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f1f5f9;
}

.user-sidebar {
    width: 240px;
    background: #0f172a;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 13px;
    color: #cbd5e1;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: block;
    padding: 14px 22px;
    color: #cbd5e1;
    font-size: 15px;
    transition: 0.3s;
}

.sidebar-menu li a:hover {
    background: #1e293b;
    color: #ffffff;
}

.sidebar-menu li.active a {
    background: #1e88e5;
    color: #ffffff;
}

.sidebar-menu li.logout a {
    color: #f87171;
}

.sidebar-menu li.logout a:hover {
    background: #7f1d1d;
    color: #ffffff;
}

.user-page-wrapper {
    margin-left: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.user-topbar {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar-title {
    font-size: 22px;
    color: #0f172a;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-user-name {
    font-size: 14px;
    color: #334155;
}

.topbar-user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-main-content {
    padding: 20px 30px 30px;
    background: #f1f5f9;
    flex: 1;
    display: block;
}

/* =========================
   USER DASHBOARD
========================= */

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start !important;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.dashboard-welcome-card {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #ffffff;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-welcome-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.dashboard-welcome-card p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 700px;
    color: #e2e8f0;
}

.dashboard-welcome-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-welcome-actions .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.dashboard-welcome-actions .btn-outline:hover {
    background: #ffffff;
    color: #1e88e5;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.dashboard-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.dashboard-stat-card h3 {
    font-size: 28px;
    color: #1e88e5;
    margin-bottom: 10px;
}

.dashboard-stat-card p {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}



/* =========================
   COMMON CARDS/TABLES
========================= */

.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dashboard-card-header h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 0;
}

.dashboard-card-header a {
    font-size: 14px;
    font-weight: 600;
    color: #1e88e5;
}

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    white-space: nowrap;
}

.dashboard-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.dashboard-table td {
    color: #475569;
}

.empty-text {
    color: #64748b;
    font-size: 15px;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success,
.status-badge.active {
    background: #dcfce7;
    color: #15803d;
}

.status-badge.pending {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.failed,
.status-badge.blocked,
.status-badge.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .user-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .user-page-wrapper {
        margin-left: 0;
    }

    .user-topbar {
        position: static;
    }

    .user-main-content {
        padding: 20px;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome-card {
        padding: 24px;
    }

    .dashboard-welcome-card h2 {
        font-size: 24px;
    }
}


/* =========================
   USER BROWSE DOCUMENTS PAGE
========================= */

.browse-documents-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.browse-hero-card {
    background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
    color: #ffffff;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.browse-hero-content {
    flex: 1;
    min-width: 280px;
}

.browse-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.browse-hero-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.browse-hero-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #dbeafe;
    max-width: 760px;
}

.browse-hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.browse-mini-stat {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
}

.browse-mini-stat h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #ffffff;
}

.browse-mini-stat p {
    font-size: 14px;
    color: #dbeafe;
    margin: 0;
}

.browse-filter-card {
    border: 1px solid #e2e8f0;
}

.browse-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.browse-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.browse-results-header h3 {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 6px;
}

.browse-results-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.browse-results-count {
    background: #ffffff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.08);
}

.user-documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.user-document-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.user-document-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.user-document-card .document-page-image {
    position: relative;
    overflow: hidden;
}

.user-document-card .document-page-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.user-document-card .document-page-content {
    padding: 22px;
}

.user-document-card .document-page-content h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #0f172a;
    line-height: 1.5;
    min-height: 62px;
}

.user-document-card .document-page-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
    min-height: 74px;
}

.user-document-card .document-extra-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.user-document-card .document-extra-info span {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.user-document-card .document-page-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.user-document-card .file-type {
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 30px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
}

.user-document-card .doc-price {
    font-size: 24px;
    font-weight: 700;
    color: #1e88e5;
}

.user-document-actions {
    margin-top: auto;
}

.user-empty-state {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

@media (max-width: 1200px) {
    .user-documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .browse-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .browse-hero-card {
        padding: 24px;
    }

    .browse-hero-content h2 {
        font-size: 26px;
    }

    .browse-filter-grid {
        grid-template-columns: 1fr;
    }

    .user-documents-grid {
        grid-template-columns: 1fr;
    }

    .browse-results-header {
        align-items: flex-start;
    }

    .browse-mini-stat {
        min-width: 100%;
    }
}

/* =========================
   DOWNLOAD ALERT MESSAGE
========================= */

.download-alert-box {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.download-alert-box.warning {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fdba74;
}

.download-alert-box.error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.download-alert-box.success {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.profile-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-upload-card {
    margin-top: 25px;
}

.profile-upload-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-upload-form .form-group {
    display: flex;
    flex-direction: column;
}

.profile-upload-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 8px;
}

.profile-upload-form input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
}

.profile-upload-note {
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}