/* ==========================================
FINANCING PAGE
========================================== */

:root{
    --red:#3BB143;
    --navy:#0B6623;
    --light:#f8f8f8;
    --white:#ffffff;
    --gray:#666666;
    --dark:#111111;
}

/* GLOBAL *//*02142d*/

.financing-page{
    background:var(--white);
    color:var(--navy);
}

.container{
    max-width:1400px;
    margin:auto;
    padding:0 20px;
}

/* BUTTONS */

.btn-red{
    display:inline-block;
    background:var(--red);
    color:var(--white);
    padding:15px 32px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    border-radius:4px;
    border:2px solid var(--red);
    transition:all .3s ease;
    cursor:pointer;
}

.btn-red:hover{
    background:var(--navy);
    border-color:var(--navy);
    color:var(--white);
}

.btn-outline{
    display:inline-block;
    background:transparent;
    color:var(--navy);
    padding:15px 32px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    border-radius:4px;
    border:2px solid var(--navy);
    transition:all .3s ease;
}

.btn-outline:hover{
    background:var(--navy);
    color:var(--white);
}

/* TAG */

.financing-tag{
    color:var(--red);
    font-size:18px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    display:inline-block;
    margin-bottom:18px;
}

.financing-tag:after{
    content:'';
    display:inline-block;
    width:120px;
    height:2px;
    background:var(--red);
    margin-left:15px;
    vertical-align:middle;
}

/* SECTION HEADINGS */

.financing-section{
    padding:90px 0;
}

.section-heading{
    max-width:850px;
    margin-bottom:55px;
}

.section-heading.center{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.section-heading h2,
.about-lending-content h2,
.pre-approval-content h2,
.financing-cta-box h2{
    font-size:48px;
    line-height:1.1;
    color:var(--navy);
    margin:0 0 22px;
    font-weight:800;
}

.section-heading p,
.about-lending-content p,
.pre-approval-content p,
.financing-cta-box p{
    font-size:18px;
    line-height:1.7;
    color:var(--gray);
    margin:0;
}

/* ==========================================
HERO
========================================== */

.financing-hero{
    background:var(--white);
    padding:90px 0;
}

.financing-hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:60px;
    align-items:center;
}

.financing-hero-content h1{
    font-size:72px;
    line-height:1;
    color:var(--navy);
    margin:0 0 28px;
    font-weight:900;
}

.financing-hero-content p{
    font-size:20px;
    line-height:1.7;
    color:var(--gray);
    max-width:720px;
    margin:0 0 35px;
}

.financing-hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.financing-hero-card{
    background:var(--navy);
    color:var(--white);
    padding:45px;
    border-radius:8px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.premier-logo-bar{
    background:#ffffff;
    padding:20px 22px;
    border-radius:6px;
    margin-bottom:28px;
}

.financing-hero-card h3{
    font-size:34px;
    line-height:1.15;
    margin:0 0 18px;
    color:var(--white);
}

.financing-hero-card p{
    font-size:17px;
    line-height:1.7;
    color:rgba(255,255,255,.8);
    margin:0 0 30px;
}

.hero-card-list{
    display:grid;
    gap:18px;
}

.hero-card-list div{
    background:rgba(255,255,255,.08);
    border-left:4px solid var(--red);
    padding:18px 20px;
}

.hero-card-list strong{
    display:block;
    font-size:18px;
    color:var(--white);
    margin-bottom:5px;
}

.hero-card-list span{
    display:block;
    font-size:15px;
    color:rgba(255,255,255,.75);
}
/* PREMIER LOGO */

.premier-logo-wrap{
    margin-bottom:22px;
}

.premier-logo-wrap.light{
    background:#ffffff;
    padding:14px 16px;
    border-radius:6px;
    display:inline-block;
    margin-bottom:24px;
}

.premier-logo{
    display:block;
    max-width:260px;
    width:100%;
    height:auto;
}
/* ==========================================
WHY CHOOSE
========================================== */

.why-financing{
    background:var(--light);
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.financing-card{
    background:var(--white);
    padding:38px 30px;
    border-radius:6px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.financing-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.13);
}

.card-number{
    font-size:15px;
    font-weight:800;
    color:var(--red);
    letter-spacing:2px;
    margin-bottom:18px;
}

.financing-card h3{
    font-size:24px;
    color:var(--navy);
    margin:0 0 14px;
}

.financing-card p{
    font-size:16px;
    line-height:1.7;
    color:var(--gray);
    margin:0;
}

/* ==========================================
LOAN PROGRAMS
========================================== */

.loan-programs{
    background:var(--white);
}

.loan-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.loan-card{
    background:var(--white);
    border:1px solid #eeeeee;
    padding:34px 28px;
    border-radius:6px;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
    transition:all .3s ease;
    position:relative;
    overflow:hidden;
}

.loan-card:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:var(--red);
}

.loan-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.13);
}

.loan-card h3{
    font-size:24px;
    color:var(--navy);
    margin:0 0 14px;
}

.loan-card p{
    font-size:16px;
    line-height:1.7;
    color:var(--gray);
    margin:0 0 22px;
}

.loan-card span{
    display:inline-block;
    font-size:13px;
    font-weight:800;
    color:var(--red);
    text-transform:uppercase;
    letter-spacing:1.5px;
}

/* ==========================================
ABOUT PREMIER ASSET LENDING
========================================== */

.about-lending{
    background:var(--light);
}

.about-lending-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:60px;
    align-items:center;
}

.about-lending-content p + p{
    margin-top:18px;
}

.about-lending-points{
    display:grid;
    gap:18px;
    margin-top:35px;
}

.about-lending-points div{
    background:var(--white);
    border-left:4px solid var(--red);
    padding:20px 24px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.about-lending-points strong{
    display:block;
    color:var(--navy);
    font-size:18px;
    margin-bottom:6px;
}

.about-lending-points span{
    display:block;
    color:var(--gray);
    font-size:16px;
    line-height:1.6;
}

.about-lending-box{
    background:var(--navy);
    color:var(--white);
    padding:45px;
    border-radius:8px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.about-lending-box h3{
    font-size:32px;
    color:var(--white);
    margin:0 0 25px;
}

.about-lending-box ul{
    list-style:none;
    padding:0;
    margin:0 0 35px;
}

.about-lending-box li{
    position:relative;
    padding:13px 0 13px 28px;
    border-bottom:1px solid rgba(255,255,255,.12);
    color:rgba(255,255,255,.85);
    font-size:17px;
}

.about-lending-box li:before{
    content:'';
    position:absolute;
    left:0;
    top:21px;
    width:9px;
    height:9px;
    background:var(--red);
    border-radius:50%;
}

/* ==========================================
FINANCING PROCESS
========================================== */

.financing-process{
    background:var(--white);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.process-card{
    background:var(--white);
    border:1px solid #eeeeee;
    padding:36px 28px;
    border-radius:6px;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
    transition:all .3s ease;
}

.process-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.13);
}

.process-card span{
    display:inline-block;
    font-size:13px;
    font-weight:800;
    color:var(--red);
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-bottom:16px;
}

.process-card h3{
    font-size:24px;
    color:var(--navy);
    margin:0 0 14px;
}

.process-card p{
    font-size:16px;
    line-height:1.7;
    color:var(--gray);
    margin:0;
}

/* ==========================================
PRE-APPROVAL FORM
========================================== */

.pre-approval-section{
    background:var(--light);
}

.pre-approval-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:60px;
    align-items:start;
}

.pre-approval-note{
    margin-top:35px;
    background:var(--white);
    padding:25px 28px;
    border-left:4px solid var(--red);
    box-shadow:0 10px 28px rgba(0,0,0,.07);
}

.pre-approval-note strong{
    display:block;
    font-size:18px;
    color:var(--navy);
    margin-bottom:8px;
}

.pre-approval-note span{
    display:block;
    font-size:16px;
    color:var(--gray);
    line-height:1.6;
}

.pre-approval-form-card{
    background:var(--white);
    padding:42px;
    border-radius:8px;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.pre-approval-form{
    display:grid;
    gap:18px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.pre-approval-form input,
.pre-approval-form select,
.pre-approval-form textarea{
    width:100%;
    border:1px solid #dddddd;
    background:#ffffff;
    padding:16px 18px;
    font-size:15px;
    color:var(--navy);
    border-radius:4px;
    outline:none;
    font-family:inherit;
    transition:all .3s ease;
}

.pre-approval-form input:focus,
.pre-approval-form select:focus,
.pre-approval-form textarea:focus{
    border-color:var(--red);
    box-shadow:0 0 0 3px rgba(200,16,46,.08);
}

.pre-approval-form textarea{
    resize:vertical;
    min-height:140px;
}

.pre-approval-form button{
    width:fit-content;
    margin-top:6px;
}

/* ==========================================
FAQ
========================================== */

.financing-faq{
    background:var(--white);
}

.faq-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px;
}

.faq-item{
    background:var(--white);
    border:1px solid #eeeeee;
    padding:32px 30px;
    border-radius:6px;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
}

.faq-item h3{
    font-size:22px;
    line-height:1.3;
    color:var(--navy);
    margin:0 0 14px;
}

.faq-item p{
    font-size:16px;
    line-height:1.7;
    color:var(--gray);
    margin:0;
}

/* ==========================================
CTA
========================================== */

.financing-cta{
    background:var(--white);
    padding:0 0 90px;
}

.financing-cta-box{
    background:var(--navy);
    color:var(--white);
    padding:55px 60px;
    border-radius:8px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
    display:grid;
    grid-template-columns:1fr auto;
    gap:40px;
    align-items:center;
}

.financing-cta-box h2{
    color:var(--white);
    margin-bottom:16px;
}

.financing-cta-box p{
    color:rgba(255,255,255,.78);
    max-width:820px;
}

.financing-cta-box .financing-tag{
    color:var(--red);
}

.financing-cta-box .financing-tag:after{
    background:var(--red);
}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:1200px){

    .financing-hero-content h1{
        font-size:60px;
    }

    .section-heading h2,
    .about-lending-content h2,
    .pre-approval-content h2,
    .financing-cta-box h2{
        font-size:42px;
    }

    .why-grid,
    .loan-grid,
    .process-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:900px){

    .financing-hero{
        padding:70px 0;
    }

    .financing-section{
        padding:70px 0;
    }

    .financing-hero-grid,
    .about-lending-grid,
    .pre-approval-grid,
    .financing-cta-box{
        grid-template-columns:1fr;
        gap:35px;
    }

    .financing-hero-content h1{
        font-size:50px;
    }

    .section-heading h2,
    .about-lending-content h2,
    .pre-approval-content h2,
    .financing-cta-box h2{
        font-size:38px;
    }

    .faq-grid{
        grid-template-columns:1fr;
    }

    .financing-cta-box{
        padding:45px 38px;
    }

}

@media(max-width:650px){

    .container{
        padding:0 16px;
    }

    .financing-hero{
        padding:55px 0;
    }

    .financing-section{
        padding:55px 0;
    }

    .financing-tag{
        font-size:14px;
        letter-spacing:1.5px;
    }

    .financing-tag:after{
        width:65px;
        margin-left:10px;
    }

    .financing-hero-content h1{
        font-size:40px;
        line-height:1.08;
    }

    .financing-hero-content p,
    .section-heading p,
    .about-lending-content p,
    .pre-approval-content p,
    .financing-cta-box p{
        font-size:16px;
    }

    .section-heading h2,
    .about-lending-content h2,
    .pre-approval-content h2,
    .financing-cta-box h2{
        font-size:32px;
    }

    .financing-hero-actions{
        flex-direction:column;
    }

    .btn-red,
    .btn-outline{
        width:100%;
        text-align:center;
    }

    .why-grid,
    .loan-grid,
    .process-grid{
        grid-template-columns:1fr;
    }

    .financing-hero-card,
    .about-lending-box,
    .pre-approval-form-card{
        padding:32px 24px;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .pre-approval-form button{
        width:100%;
    }

    .financing-cta{
        padding-bottom:60px;
    }

    .financing-cta-box{
        padding:36px 24px;
    }

}

@media(max-width:430px){

    .financing-hero-content h1{
        font-size:34px;
    }

    .section-heading h2,
    .about-lending-content h2,
    .pre-approval-content h2,
    .financing-cta-box h2{
        font-size:28px;
    }

    .financing-card,
    .loan-card,
    .process-card,
    .faq-item{
        padding:28px 22px;
    }

    .financing-hero-card h3,
    .about-lending-box h3{
        font-size:28px;
    }

}
.form-card-heading{
    margin-bottom:28px;
    text-align:left;
}

.form-card-heading h3{
    font-size:34px;
    line-height:1.2;
    color:var(--navy);
    margin:0 0 10px;
    font-weight:800;
}

.form-card-heading p{
    font-size:17px;
    line-height:1.6;
    color:var(--gray);
    margin:0;
}
@media(max-width:900px)
.mortgage-calculator-card{
    grid-template-columns:1fr;
}
@media(max-width:650px
	
	.form-card-heading h3{
    font-size:28px;
}
.calculator-form,
.calculator-results{
    padding:32px 24px;
}

.monthly-payment{
    font-size:42px;
}
/* ==========================================
MORTGAGE CALCULATOR - CLEAN DESIGN
========================================== */

.mortgage-calculator-section{
    background:#ffffff;
}

.mortgage-calc-box{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    background:#ffffff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.mortgage-calc-left{
    padding:45px;
    background:#ffffff;
}

.mortgage-calc-left h3{
    font-size:32px;
    line-height:1.2;
    color:#02142d;
    margin:0 0 30px;
    font-weight:800;
}

.calc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.calc-field{
    display:flex;
    flex-direction:column;
}

.calc-field label{
    font-size:13px;
    font-weight:800;
    color:#02142d;
    text-transform:uppercase;
    letter-spacing:1.2px;
    margin-bottom:9px;
}

.calc-field input,
.calc-field select{
    width:100%;
    height:56px;
    border:1px solid #dddddd;
    background:#ffffff;
    color:#02142d;
    padding:0 16px;
    font-size:16px;
    border-radius:4px;
    outline:none;
    font-family:inherit;
    transition:all .3s ease;
}

.calc-field input:focus,
.calc-field select:focus{
    border-color:#c8102e;
    box-shadow:0 0 0 3px rgba(200,16,46,.10);
}

.calc-btn{
    margin-top:30px;
}

.mortgage-calc-right{
    background:#02142d;
    color:#ffffff;
    padding:45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.result-label{
    color:#c8102e;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.8px;
    margin-bottom:16px;
}

.result-payment{
    font-size:58px;
    line-height:1;
    font-weight:900;
    color:#ffffff;
    margin-bottom:35px;
}

.result-breakdown{
    display:grid;
    gap:14px;
    margin-bottom:30px;
}

.result-breakdown div{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.result-breakdown span{
    font-size:15px;
    color:rgba(255,255,255,.72);
}

.result-breakdown strong{
    font-size:16px;
    color:#ffffff;
}

.calc-disclaimer{
    font-size:14px;
    line-height:1.7;
    color:rgba(255,255,255,.70);
    margin:0 0 28px;
}

.btn-outline-white{
    display:inline-block;
    width:fit-content;
    background:transparent;
    color:#ffffff;
    padding:15px 32px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    border-radius:4px;
    border:2px solid #ffffff;
    transition:all .3s ease;
}

.btn-outline-white:hover{
    background:#c8102e;
    border-color:#c8102e;
    color:#ffffff;
}

/* Responsive */

@media(max-width:900px){

    .mortgage-calc-box{
        grid-template-columns:1fr;
    }

    .mortgage-calc-left,
    .mortgage-calc-right{
        padding:38px;
    }

}

@media(max-width:650px){

    .calc-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .mortgage-calc-left,
    .mortgage-calc-right{
        padding:32px 24px;
    }

    .mortgage-calc-left h3{
        font-size:28px;
    }

    .result-payment{
        font-size:44px;
    }

    .result-breakdown div{
        align-items:flex-start;
    }

}
/* ==========================================
MORTGAGE CALCULATOR
========================================== */

.mortgage-calc-section{
    background:#ffffff;
}

.mortgage-calc-card{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    background:#ffffff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.mortgage-calc-form{
    padding:45px;
    background:#ffffff;
}

.mortgage-calc-form h3{
    font-size:32px;
    color:#02142d;
    margin:0 0 30px;
    font-weight:800;
}

.mortgage-calc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.mortgage-calc-field{
    display:flex;
    flex-direction:column;
}

.mortgage-calc-field label{
    font-size:13px;
    font-weight:800;
    color:#02142d;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;
}

.mortgage-calc-field input,
.mortgage-calc-field select{
    width:100%;
    height:56px;
    border:1px solid #dddddd;
    background:#ffffff;
    color:#02142d;
    padding:0 16px;
    font-size:16px;
    border-radius:4px;
    outline:none;
    font-family:inherit;
}

.mortgage-calc-field input:focus,
.mortgage-calc-field select:focus{
    border-color:#c8102e;
    box-shadow:0 0 0 3px rgba(200,16,46,.10);
}

.mortgage-calc-btn{
    margin-top:30px;
}

.mortgage-calc-results{
    background:#02142d;
    color:#ffffff;
    padding:45px;
}

.mortgage-result-label{
    display:block;
    color:#c8102e;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.8px;
    margin-bottom:16px;
}

.mortgage-result-total{
    font-size:58px;
    line-height:1;
    font-weight:900;
    color:#ffffff;
    margin-bottom:35px;
}

.mortgage-result-list{
    display:grid;
    gap:14px;
    margin-bottom:30px;
}

.mortgage-result-list div{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.mortgage-result-list span{
    font-size:15px;
    color:rgba(255,255,255,.72);
}

.mortgage-result-list strong{
    font-size:16px;
    color:#ffffff;
}

.mortgage-calc-results p{
    font-size:14px;
    line-height:1.7;
    color:rgba(255,255,255,.70);
    margin:0 0 28px;
}

.btn-outline-white{
    display:inline-block;
    width:fit-content;
    background:transparent;
    color:#ffffff;
    padding:15px 32px;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    border-radius:4px;
    border:2px solid #ffffff;
}

.btn-outline-white:hover{
    background:#c8102e;
    border-color:#c8102e;
    color:#ffffff;
}

@media(max-width:900px){

    .mortgage-calc-card{
        grid-template-columns:1fr;
    }

    .mortgage-calc-form,
    .mortgage-calc-results{
        padding:38px;
    }
}

@media(max-width:650px){

    .mortgage-calc-grid{
        grid-template-columns:1fr;
    }

    .mortgage-calc-form,
    .mortgage-calc-results{
        padding:30px 22px;
    }

    .mortgage-result-total{
        font-size:42px;
    }
}
/* UPLOADED FILES PAGE */

.uploaded-files-card{
    background:#ffffff;
    padding:40px;
    border-radius:8px;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.uploaded-files-list{
    display:grid;
    gap:18px;
}

.uploaded-file-item{
    display:flex;
    justify-content:space-between;
    gap:25px;
    align-items:center;
    padding:24px;
    border:1px solid #eeeeee;
    border-left:5px solid #c8102e;
    border-radius:6px;
    background:#ffffff;
}

.uploaded-file-item h3{
    margin:0 0 8px;
    color:#02142d;
    font-size:22px;
}

.uploaded-file-item p{
    margin:0;
    color:#666666;
    font-size:15px;
}

.uploaded-file-actions{
    display:flex;
    gap:12px;
    align-items:center;
    flex-shrink:0;
}

.uploaded-file-actions form{
    margin:0;
}

.btn-delete{
    display:inline-block;
    background:#111111;
    color:#ffffff;
    padding:15px 32px;
    font-size:15px;
    font-weight:700;
    border-radius:4px;
    border:2px solid #111111;
    cursor:pointer;
}

.btn-delete:hover{
    background:#c8102e;
    border-color:#c8102e;
}

@media(max-width:768px){
    .uploaded-files-card{
        padding:24px;
    }

    .uploaded-file-item{
        flex-direction:column;
        align-items:flex-start;
    }

    .uploaded-file-actions{
        width:100%;
        flex-direction:column;
    }

    .uploaded-file-actions a,
    .uploaded-file-actions form,
    .uploaded-file-actions button{
        width:100%;
        text-align:center;
    }
}
.file-category-section{
    margin-bottom:42px;
}

.file-category-section h3{
    font-size:28px;
    color:#02142d;
    margin:0 0 18px;
    padding-bottom:12px;
    border-bottom:2px solid #c8102e;
}

.file-category-section h4{
    margin:0 0 8px;
    color:#02142d;
    font-size:21px;
}

.empty-category{
    color:#777;
    font-size:15px;
    margin:0;
}
/* PROFESSIONAL UPLOADED FILES PAGE */

.uploaded-dashboard{
    background:#f8f8f8;
    padding:80px 0;
}

.uploaded-topbar{
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:flex-end;
    margin-bottom:35px;
}

.uploaded-topbar h1{
    font-size:54px;
    line-height:1.05;
    color:#02142d;
    margin:0 0 14px;
    font-weight:900;
}

.uploaded-topbar p{
    font-size:18px;
    color:#666;
    margin:0;
}

.uploaded-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-bottom:28px;
}

.uploaded-stats div{
    background:#ffffff;
    padding:26px 28px;
    border-radius:8px;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    border-left:5px solid #c8102e;
}

.uploaded-stats span{
    display:block;
    color:#666;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:8px;
}

.uploaded-stats strong{
    color:#02142d;
    font-size:34px;
    font-weight:900;
}

.upload-alert{
    padding:16px 20px;
    margin-bottom:22px;
    border-radius:6px;
    font-weight:800;
}

.upload-alert.success{
    background:#e9f8ed;
    color:#126b2e;
    border:1px solid #b8e4c3;
}

.upload-alert.error{
    background:#fdecec;
    color:#9d1b1b;
    border:1px solid #f1b9b9;
}

.uploaded-files-card.professional{
    background:#ffffff;
    padding:34px;
    border-radius:10px;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.doc-category{
    border:1px solid #eeeeee;
    border-radius:8px;
    overflow:hidden;
    margin-bottom:28px;
    background:#ffffff;
}

.doc-category:last-child{
    margin-bottom:0;
}

.doc-category-header{
    background:#02142d;
    color:#ffffff;
    padding:22px 26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.doc-category-header h2{
    margin:0 0 5px;
    font-size:24px;
    color:#ffffff;
}

.doc-category-header p{
    margin:0;
    color:rgba(255,255,255,.75);
    font-size:15px;
}

.doc-empty{
    padding:22px 26px;
    color:#777;
    background:#fafafa;
}

.doc-table{
    width:100%;
}

.doc-table-head,
.doc-row{
    display:grid;
    grid-template-columns:1.6fr .7fr .4fr .9fr;
    gap:20px;
    align-items:center;
}

.doc-table-head{
    background:#f8f8f8;
    color:#02142d;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.8px;
    font-size:13px;
    padding:16px 22px;
    border-bottom:1px solid #eeeeee;
}

.doc-row{
    padding:20px 22px;
    border-bottom:1px solid #eeeeee;
}

.doc-row:last-child{
    border-bottom:none;
}

.doc-name{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.doc-name strong{
    color:#02142d;
    font-size:16px;
    overflow-wrap:anywhere;
}

.pdf-icon{
    background:#c8102e;
    color:#ffffff;
    font-size:12px;
    font-weight:900;
    padding:8px 9px;
    border-radius:4px;
    flex-shrink:0;
}

.doc-date,
.doc-size{
    color:#555;
    font-size:15px;
}

.doc-date small{
    color:#888;
}

.doc-actions{
    display:flex;
    gap:8px;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
}

.doc-actions form{
    margin:0;
}

.doc-btn{
    display:inline-block;
    border:none;
    text-decoration:none;
    padding:10px 14px;
    border-radius:4px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}

.doc-btn.open{
    background:#f1f1f1;
    color:#02142d;
}

.doc-btn.download{
    background:#c8102e;
    color:#ffffff;
}

.doc-btn.delete{
    background:#111111;
    color:#ffffff;
}

.doc-btn:hover{
    opacity:.86;
}

@media(max-width:900px){

    .uploaded-topbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .uploaded-topbar h1{
        font-size:42px;
    }

    .uploaded-stats{
        grid-template-columns:1fr;
    }

    .doc-table-head{
        display:none;
    }

    .doc-row{
        grid-template-columns:1fr;
        gap:14px;
    }

    .doc-actions{
        justify-content:flex-start;
    }
}

@media(max-width:600px){

    .uploaded-dashboard{
        padding:55px 0;
    }

    .uploaded-files-card.professional{
        padding:18px;
    }

    .doc-category-header{
        padding:20px;
    }

    .doc-row{
        padding:18px;
    }

    .doc-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .doc-actions a,
    .doc-actions form,
    .doc-actions button{
        width:100%;
        text-align:center;
    }
}
/* ==========================================
DOCUMENT DASHBOARD PAGE
========================================== */

.doc-page{
    background:#f8f8f8;
}

.doc-dashboard{
    padding:70px 0;
    background:#f8f8f8;
}

.doc-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    padding-bottom:30px;
    border-bottom:1px solid #dddddd;
    margin-bottom:24px;
}

.doc-header h1{
    font-size:44px;
    line-height:1.1;
    color:#111827;
    margin:0 0 10px;
    font-weight:900;
}

.doc-header p{
    font-size:18px;
    color:#4b5563;
    margin:0;
}

.doc-upload-btn{
    background:#c8102e;
    color:#ffffff;
    padding:16px 28px;
    border-radius:6px;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
    box-shadow:0 8px 20px rgba(200,16,46,.25);
}

.doc-toolbar{
    display:grid;
    grid-template-columns:1fr auto;
    gap:30px;
    align-items:center;
    margin-bottom:24px;
}

.doc-filters{
    display:flex;
    gap:16px;
}

.doc-filters select,
.doc-filters input{
    height:52px;
    border:1px solid #d9dee7;
    border-radius:6px;
    background:#ffffff;
    padding:0 18px;
    font-size:15px;
    color:#111827;
    outline:none;
}

.doc-filters select{
    min-width:220px;
}

.doc-filters input{
    min-width:360px;
}

.doc-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.doc-stats div{
    padding:18px 24px;
    min-width:150px;
    border-right:1px solid #e5e7eb;
}

.doc-stats div:last-child{
    border-right:none;
}

.doc-stats span{
    display:block;
    color:#4b5563;
    font-size:14px;
    margin-bottom:6px;
}

.doc-stats strong{
    display:block;
    color:#111827;
    font-size:20px;
    font-weight:900;
}

.doc-alert{
    padding:16px 20px;
    border-radius:6px;
    margin-bottom:20px;
    font-weight:800;
}

.doc-alert.success{
    background:#e9f8ed;
    color:#126b2e;
    border:1px solid #b8e4c3;
}

.doc-alert.error{
    background:#fdecec;
    color:#9d1b1b;
    border:1px solid #f1b9b9;
}

.doc-list{
    display:grid;
    gap:16px;
}

.doc-card{
    display:grid;
    grid-template-columns:110px 1fr 440px;
    gap:26px;
    align-items:center;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:26px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.doc-icon{
    width:86px;
    height:86px;
    border-radius:8px;
    background:#fdecec;
    display:flex;
    align-items:center;
    justify-content:center;
}

.doc-icon span{
    background:#c8102e;
    color:#ffffff;
    font-size:20px;
    font-weight:900;
    padding:18px 12px;
    border-radius:4px;
}

.doc-title-row{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:24px;
}

.doc-title-row h2{
    color:#111827;
    font-size:24px;
    margin:0;
    font-weight:900;
    overflow-wrap:anywhere;
}

.doc-badge{
    background:#fdecec;
    color:#c8102e;
    padding:7px 12px;
    border-radius:5px;
    font-size:13px;
    font-weight:700;
}

.doc-meta{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.doc-meta span{
    display:block;
    color:#4b5563;
    font-size:14px;
    margin-bottom:7px;
}

.doc-meta strong{
    color:#111827;
    font-size:16px;
}

.doc-side{
    display:grid;
    gap:24px;
    justify-items:end;
}

.doc-uploaded-date{
    color:#4b5563;
    font-size:15px;
}

.doc-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.doc-actions form{
    margin:0;
}

.doc-action{
    display:inline-block;
    border:1px solid #d9dee7;
    background:#ffffff;
    color:#111827;
    padding:14px 22px;

    border-radius:6px;
    text-decoration:none;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}

.doc-action.download{
    background:#c8102e;
    border-color:#c8102e;
    color:#ffffff;
}

.doc-action.delete{
    background:#ffffff;
    color:#111827;
}

.doc-action:hover{
    opacity:.85;
}

.doc-empty{
    background:#ffffff;
    padding:30px;
    border-radius:8px;
    border:1px solid #e5e7eb;
    color:#4b5563;
}

/* MOBILE */

@media(max-width:1200px){

    .doc-toolbar{
        grid-template-columns:1fr;
    }

    .doc-card{
        grid-template-columns:90px 1fr;
    }

    .doc-side{
        grid-column:1 / -1;
        justify-items:start;
    }

    .doc-actions{
        justify-content:flex-start;
    }
}

@media(max-width:768px){

    .doc-dashboard{
        padding:45px 0;
    }

    .doc-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .doc-header h1{
        font-size:34px;
    }

    .doc-upload-btn{
        width:100%;
        text-align:center;
    }

    .doc-filters{
        flex-direction:column;
    }

    .doc-filters select,
    .doc-filters input{
        width:100%;
        min-width:0;
    }

    .doc-stats{
        grid-template-columns:1fr;
    }

    .doc-stats div{
        border-right:none;
        border-bottom:1px solid #e5e7eb;
    }

    .doc-stats div:last-child{
        border-bottom:none;
    }

    .doc-card{
        grid-template-columns:1fr;
        padding:22px;
    }

    .doc-icon{
        width:76px;
        height:76px;
    }

    .doc-title-row h2{
        font-size:21px;
    }

    .doc-meta{
        grid-template-columns:1fr 1fr;
    }

    .doc-side{
        width:100%;
    }

    .doc-actions{
        width:100%;
        flex-direction:column;
    }

    .doc-actions a,
    .doc-actions form,
    .doc-actions button{
        width:100%;
        text-align:center;
    }
}

@media(max-width:480px){

    .doc-meta{
        grid-template-columns:1fr;
    }

    .doc-header h1{
        font-size:30px;
    }
}