/* =========================================
   RESPONSIVE.CSS
   Mobile and tablet fixes only
   Desktop layout remains controlled by theme.css
========================================= */

/* Mobile menu button base */
.mobile-menu-btn{
    display:none;
    border:none;
    background:#eef2ff;
    color:#36364f;
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:24px;
    cursor:pointer;
    align-items:center;
    justify-content:center;
}

/* =========================================
   TABLET: GENERAL LAYOUT
========================================= */

@media(max-width:1200px){

    .grid{
        grid-template-columns:repeat(3,1fr);
    }

    .review-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:1000px){

    .document-detail-grid{
        grid-template-columns:1fr;
    }

    .purchase-card{
        position:relative;
        top:auto;
    }

    .top-header{
        padding:20px 30px;
        grid-template-columns:1fr;
        gap:18px;
        text-align:center;
    }

    .center-nav{
        flex-wrap:wrap;
        gap:18px;
    }

    .auth-buttons{
        justify-content:center;
    }
}

@media(max-width:900px){

    .grid{
        grid-template-columns:repeat(2,1fr);
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero h1{
        font-size:42px;
    }

    .documents-hero h1{
        font-size:40px;
    }
}

/* =========================================
   HOMEPAGE HEADER: TABLET + PHONE
========================================= */

@media(max-width:900px){

    .top-header.home-header{
        display:grid;
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:14px 18px;
        text-align:left;
    }

    .home-header .logo{
        display:flex;
        align-items:center;
        min-width:0;
    }

    .home-header .site-logo img{
        height:40px;
        width:auto;
        display:block;
    }

    .mobile-menu-btn{
        display:flex;
        grid-column:3;
        grid-row:1;
    }

    .home-header .auth-buttons{
        grid-column:2;
        grid-row:1;
        justify-content:flex-end;
        gap:8px;
        min-width:0;
    }

    .home-header .signin-btn{
        background:#eef2ff;
        color:#5d6eea;
        padding:10px 14px;
        border-radius:14px;
        font-size:14px;
    }

    .home-header .signup-btn{
        padding:11px 16px;
        border-radius:14px;
        font-size:14px;
        white-space:nowrap;
    }

    .home-header .center-nav{
        display:none;
        grid-column:1 / -1;
        width:100%;
        background:white;
        border:1px solid #eeeaf8;
        border-radius:18px;
        padding:12px;
        box-shadow:0 18px 45px rgba(93,110,234,0.10);
        margin-top:8px;
    }

    .home-header .center-nav.show-mobile-nav{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
    }

    .home-header .center-nav a{
        padding:13px 14px;
        border-radius:12px;
        font-size:15px;
    }

    .home-header .center-nav a:hover{
        background:#f8f5ff;
    }
}

/* =========================================
   GLOBAL PHONE BASE
========================================= */

@media(max-width:700px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    body{
        font-size:15px;
    }

    .container{
        width:92%;
        max-width:100%;
    }

    .study-bg-animation,
    .study-float{
        display:none !important;
    }

    .grid,
    .review-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .section-header{
        gap:12px;
        margin-bottom:22px;
    }

    .section-title,
    .reviews-header h2{
        font-size:27px;
        line-height:1.2;
    }

    .card,
    .review-card{
        border-radius:22px;
    }

    .card h3,
    .description{
        min-height:auto;
    }

    .price-row{
        flex-direction:column;
        align-items:stretch;
    }

    .price-row .btn{
        width:100%;
    }

    .soft-section,
    .reviews-section{
        padding:46px 0;
    }

    footer{
        padding:26px 16px;
        font-size:13px;
    }
}

/* =========================================
   HOMEPAGE PHONE
========================================= */

@media(max-width:700px){

    .hero{
        text-align:left;
        padding:42px 18px 36px;
        overflow:hidden;
    }

    .hero-content{
        max-width:100%;
    }

    .hero h1{
        font-size:31px;
        line-height:1.15;
        letter-spacing:-0.5px;
        margin:0 0 16px;
    }

    .hero p{
        font-size:15px;
        line-height:1.65;
        margin:0 0 22px;
        max-width:100%;
    }

    .search-box{
        width:100%;
        max-width:100%;
    }

    .search-wrap{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        border-radius:22px;
        box-shadow:0 14px 35px rgba(93,110,234,0.10);
    }

    .search-icon{
        top:23px;
        left:20px;
        width:20px;
        height:20px;
    }

    .search-box input{
        width:100%;
        height:66px;
        padding:0 18px 0 54px;
        font-size:14px;
    }

    .search-box button{
        position:relative;
        right:auto;
        width:100%;
        height:54px;
        border-radius:0 0 22px 22px;
        font-size:15px;
        box-shadow:none;
    }

    .search-tags,
    .hero-stats{
        display:none !important;
    }

    .values-section{
        padding:14px 0 28px;
        background:white;
    }

    .values-wrap{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .value-box{
        padding:14px 10px;
        border-radius:18px;
        text-align:center;
        box-shadow:0 12px 28px rgba(93,110,234,0.08);
    }

    .value-box:hover{
        transform:none;
    }

    .value-box h3{
        font-size:13px;
        line-height:1.25;
        margin:0 0 8px;
    }

    .value-box p{
        display:none;
    }

    .mobile-mini-text{
        display:block;
        min-height:32px;
        font-size:10.5px;
        line-height:1.45;
        color:#74748a;
        margin:0 0 12px;
    }

    .value-box .btn{
        width:100%;
        padding:11px 8px;
        font-size:12px;
        line-height:1.2;
        border-radius:13px;
        white-space:normal;
    }

    .trusted-section{
        padding:24px 0 8px;
    }

    .trusted-grid{
        display:flex;
        justify-content:space-between;
        align-items:stretch;
        gap:10px;
        grid-template-columns:none;
    }

    .trusted-card{
        flex:1;
        padding:14px 8px;
        border-radius:18px;
        text-align:center;
        min-height:auto;
        box-shadow:0 12px 28px rgba(93,110,234,0.07);
    }

    .trusted-card:hover{
        transform:none;
    }

    .trusted-card p{
        display:none;
    }

    .trusted-card h3{
        font-size:13px;
        line-height:1.3;
        margin:10px 0 0;
    }

    .trusted-icon{
        width:44px;
        height:44px;
        margin:auto;
        border-radius:14px;
    }

    .trusted-icon svg{
        width:20px;
        height:20px;
    }

    .reviews-header{
        margin-bottom:28px;
    }

    .reviews-header p{
        font-size:15px;
        line-height:1.65;
    }
}

/* =========================================
   DOCUMENTS PAGE PHONE
========================================= */

@media(max-width:700px){

    .top-header:not(.home-header){
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
        padding:14px 16px;
        text-align:left;
        overflow:hidden;
    }

    .top-header:not(.home-header) .logo{
        flex:0 1 auto;
        min-width:0;
    }

    .top-header:not(.home-header) .logo h2{
        font-size:18px;
        line-height:1.1;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        margin:0;
    }

    .top-header:not(.home-header) .center-nav{
        display:none;
    }

    .top-header:not(.home-header) .auth-buttons{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:8px;
        margin-left:auto;
        min-width:max-content;
    }

    .top-header:not(.home-header) .signin-btn{
        display:none;
    }

    .top-header:not(.home-header) .signup-btn{
        padding:10px 14px;
        font-size:12px;
        border-radius:12px;
        white-space:nowrap;
    }

    .documents-hero{
        width:100%;
        min-height:auto;
        padding:34px 0 30px;
        display:block;
        background:linear-gradient(to bottom,#f8f5ff,#ffffff);
        overflow:hidden;
    }

    .documents-hero .container{
        width:100%;
        max-width:100%;
        padding:0 16px;
        margin:0 auto;
    }

    .documents-hero .section-badge{
        font-size:10px;
        padding:7px 11px;
        margin-bottom:12px;
    }

    .documents-hero h1{
        font-size:28px;
        line-height:1.16;
        letter-spacing:-0.4px;
        margin:10px 0 12px;
        max-width:100%;
    }

    .documents-hero p{
        font-size:13px;
        line-height:1.6;
        margin:0 0 20px;
        max-width:100%;
    }

    .documents-hero .search-box{
        width:100%;
        max-width:100%;
        margin:0;
    }

    .documents-hero .search-wrap{
        display:flex;
        flex-direction:row;
        align-items:center;
        width:100%;
        min-width:0;
        border-radius:18px;
        overflow:hidden;
    }

    .documents-hero .search-icon{
        top:50%;
        left:16px;
        width:18px;
        height:18px;
        transform:translateY(-50%);
    }

    .documents-hero .search-box input{
        width:100%;
        min-width:0;
        height:58px;
        padding:0 94px 0 45px;
        font-size:12px;
    }

    .documents-hero .search-box button{
        position:absolute;
        right:8px;
        top:8px;
        width:auto;
        height:42px;
        padding:0 16px;
        border-radius:13px;
        font-size:12px;
        white-space:nowrap;
    }

    .documents-section{
        width:100%;
        padding:28px 0 56px;
        overflow:hidden;
    }

    .documents-section .container{
        width:100%;
        max-width:100%;
        padding:0 16px;
        margin:0 auto;
    }

    .documents-section .section-header{
        display:block;
        margin-bottom:18px;
    }

    .documents-section .section-title{
        font-size:25px;
        line-height:1.18;
        margin:0;
    }

    .documents-section .result-count{
        display:block;
        margin-top:8px;
        font-size:12px;
        line-height:1.4;
    }

    .documents-section .grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:14px !important;
        width:100% !important;
        max-width:100% !important;
    }

    .documents-section .document-card-link{
        width:100%;
        max-width:100%;
        display:block;
    }

    .documents-section .card{
        width:100%;
        max-width:100%;
        padding:16px;
        border-radius:18px;
        min-height:auto;
    }

    .documents-section .card-top{
        gap:8px;
        margin-bottom:10px;
    }

    .documents-section .subject-pill{
        font-size:10px;
        padding:6px 9px;
        max-width:70%;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .documents-section .verified-mini{
        font-size:10px;
        white-space:nowrap;
    }

    .documents-section .card h3{
        font-size:15px;
        line-height:1.35;
        min-height:auto;
        margin:0 0 8px;
    }

    .documents-section .meta{
        font-size:11px;
        line-height:1.4;
        margin-bottom:8px;
    }

    .documents-section .verified-badge{
        font-size:11px;
        line-height:1.4;
        margin:8px 0;
    }

    .documents-section .description{
        font-size:12px;
        line-height:1.55;
        min-height:auto;
        margin-bottom:12px;
    }

    .documents-section .price-row{
        display:block;
        margin-top:12px;
    }

    .documents-section .price-row .btn,
    .documents-section .btn{
        width:100%;
        padding:12px 10px;
        font-size:12px;
        border-radius:14px;
    }
}

/* =========================================
   DOCUMENT DETAIL PHONE
========================================= */

@media(max-width:700px){

    .document-detail-hero{
        padding:42px 0 35px;
    }

    .document-detail-hero h1{
        font-size:28px;
        line-height:1.18;
        margin:14px 0;
    }

    .document-detail-hero p{
        font-size:14px;
        line-height:1.65;
        margin-bottom:24px;
    }

    .document-tags{
        gap:8px;
    }

    .doc-tag{
        padding:8px 13px;
        font-size:11px;
    }

    .document-main-card,
    .purchase-card{
        padding:24px;
    }

    .detail-block h2{
        font-size:24px;
    }

    .preview-text{
        padding:24px;
        font-size:15px;
    }

    .locked-overlay{
        width:92%;
        padding:22px;
        bottom:40px;
    }

    .lock-card-top{
        flex-direction:column;
        text-align:center;
    }

    .quality-row{
        grid-template-columns:1fr;
        text-align:center;
    }

    .quality-badge-icon{
        margin:auto;
    }

    .unlock-btn{
        width:100%;
    }
}

/* =========================================
   SMALL PHONE
========================================= */

@media(max-width:430px){

    .home-header .signin-btn{
        display:none;
    }

    .home-header .signup-btn{
        padding:10px 14px;
        font-size:13px;
    }

    .home-header .site-logo img{
        height:36px;
    }

    .mobile-menu-btn{
        width:40px;
        height:40px;
        font-size:22px;
    }

    .hero h1{
        font-size:29px;
    }

    .hero p{
        font-size:14px;
    }

    .value-box h3,
    .trusted-card h3{
        font-size:12px;
    }

    .mobile-mini-text{
        font-size:10px;
    }
}

/* =========================================
   HOMEPAGE REDESIGN RESPONSIVE FIXES
========================================= */

@media(max-width:1000px){
    .hero-shell{
        grid-template-columns:1fr;
        gap:34px;
    }

    .hero h1,
    .hero p,
    .hero .search-box{
        max-width:100%;
    }

    .hero-action-card{
        max-width:640px;
    }
}

@media(max-width:900px){
    .home-header.top-header{
        width:calc(100% - 28px);
        margin-top:14px;
        top:10px;
    }
}

@media(max-width:700px){
    .hero{
        padding:38px 18px 72px;
    }

    .hero-shell{
        display:block;
    }

    .hero-badge{
        font-size:12px;
        margin-bottom:18px;
    }

    .hero h1{
        font-size:34px;
        line-height:1.12;
        margin-bottom:16px;
    }

    .hero p{
        font-size:14px;
        line-height:1.65;
        margin-bottom:20px;
    }

    .hero-points{
        gap:10px;
        margin-bottom:22px;
    }

    .hero-points li{
        font-size:13px;
        line-height:1.45;
    }

    .hero .search-wrap{
        border-radius:18px;
    }

    .hero .search-box input{
        height:60px;
        padding:0 16px 0 52px;
    }

    .hero .search-box button{
        position:relative;
        right:auto;
        width:100%;
        height:52px;
        border-radius:0 0 18px 18px;
    }

    .hero-right{
        margin-top:24px;
    }

    .hero-action-card{
        padding:24px;
        border-radius:24px;
    }

    .hero-action-card h2{
        font-size:25px;
    }

    .hero-action-card p{
        font-size:14px;
    }

    .hero-card-btn{
        min-height:52px;
        font-size:14px;
    }

    .hero-card-list span{
        font-size:12px;
        padding:8px 11px;
        border-radius:999px;
    }

    .values-section{
        margin-top:0;
        padding:20px 0 34px;
    }
}

@media(max-width:430px){
    .hero h1{
        font-size:31px;
    }

    .hero-action-card{
        padding:20px;
    }
}


/* =========================================
   MOBILE MENU FIXES FOR ALL PUBLIC PAGES
========================================= */

@media(max-width:900px){

    .top-header.home-header{
        display:grid;
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:14px 18px;
        text-align:left;
    }

    .home-header .center-nav{
        display:none;
        grid-column:1 / -1;
        width:100%;
        background:white;
        border:1px solid #eeeaf8;
        border-radius:18px;
        padding:12px;
        box-shadow:0 18px 45px rgba(18,21,31,0.10);
        margin-top:8px;
    }

    .home-header .center-nav.show-mobile-nav{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
    }

    .home-header .center-nav.show-mobile-nav a{
        padding:13px 14px;
        border-radius:12px;
        font-size:15px;
    }

    .home-header .center-nav.show-mobile-nav a:hover{
        background:#fff6f3;
    }
}

@media(max-width:700px){

    .documents-hero{
        padding-top:34px;
    }

    .floating-help-popup{
        right:14px;
        bottom:14px;
        width:calc(100% - 28px);
        padding:12px 42px 12px 12px;
        border-radius:18px;
    }

    .floating-help-icon{
        width:44px;
        height:44px;
        border-radius:14px;
        font-size:13px;
    }

    .floating-help-content strong{
        font-size:13px;
    }

    .floating-help-content span{
        font-size:11.5px;
    }
}


/* =========================================
   DOCUMENT DETAIL MOBILE POLISH
========================================= */

@media(max-width:900px){
    .document-detail-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .document-sidebar{
        order:-1;
    }

    .purchase-card{
        position:relative;
        top:auto;
    }
}

@media(max-width:700px){
    .document-detail-hero{
        padding:34px 0 28px;
        text-align:left;
    }

    .document-detail-hero .container{
        width:100%;
        max-width:100%;
        padding:0 16px;
    }

    .document-detail-hero .section-badge{
        font-size:10px;
        padding:7px 11px;
        margin-bottom:10px;
    }

    .document-detail-hero h1{
        font-size:26px;
        line-height:1.18;
        letter-spacing:-0.4px;
        margin:10px 0 12px;
        word-break:break-word;
    }

    .document-detail-hero p{
        font-size:13px;
        line-height:1.6;
        margin:0 0 18px;
    }

    .document-tags{
        justify-content:flex-start;
        gap:8px;
    }

    .doc-tag{
        padding:8px 11px;
        font-size:10.5px;
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .document-detail-section{
        padding:24px 0 54px;
    }

    .document-detail-section .container{
        width:100%;
        max-width:100%;
        padding:0 16px;
    }

    .document-main-card,
    .purchase-card{
        padding:18px;
        border-radius:22px;
        box-shadow:0 14px 34px rgba(18,21,31,0.06);
    }

    .document-sidebar{
        order:-1;
    }

    .purchase-card h3{
        font-size:22px;
        margin-bottom:12px;
    }

    .price{
        font-size:24px;
        margin-bottom:12px;
    }

    .purchase-btn,
    .back-btn{
        min-height:48px;
        font-size:13px;
        border-radius:14px;
    }

    .sidebar-quality{
        padding:13px;
        border-radius:16px;
    }

    .notice{
        font-size:12.5px;
        line-height:1.6;
        margin-top:16px;
    }

    .detail-block{
        margin-bottom:28px;
    }

    .detail-block h2{
        font-size:20px;
        margin-bottom:12px;
    }

    .read-more-box{
        padding:16px;
        border-radius:18px;
    }

    .read-more-content{
        max-height:145px;
        font-size:13px;
        line-height:1.7;
    }

    .read-more-fade{
        left:16px;
        right:16px;
        bottom:46px;
        height:50px;
    }

    .read-more-btn{
        font-size:13px;
        margin-top:14px;
    }

    .answer-missing-card{
        padding:24px 16px;
        border-radius:20px;
    }

    .answer-missing-icon{
        width:58px;
        height:58px;
        font-size:26px;
        margin-bottom:14px;
    }

    .answer-missing-card h2{
        font-size:21px;
    }

    .answer-missing-card p{
        font-size:13px;
        line-height:1.6;
        margin-bottom:18px;
    }

    .preview-wrapper{
        min-height:540px;
        border-radius:18px;
    }

    .preview-text{
        padding:18px;
        font-size:13px;
        line-height:1.75;
        min-height:540px;
    }

    .preview-text:not(.full-preview){
        max-height:540px;
    }

    .preview-text:not(.full-preview)::after{
        height:250px;
    }

    .locked-overlay{
        width:90%;
        max-width:360px;
        padding:18px;
        bottom:26px;
        border-radius:20px;
    }

    .lock-icon{
        width:46px;
        height:46px;
        font-size:21px;
    }

    .lock-text h2{
        font-size:20px;
    }

    .lock-text p{
        font-size:12.5px;
    }

    .quality-row{
        gap:10px;
        padding-top:14px;
        margin-top:14px;
    }

    .quality-text strong{
        font-size:13px;
    }

    .quality-text span{
        font-size:12px;
    }

    .unlock-btn{
        width:100%;
        padding:13px 14px;
        border-radius:14px;
        font-size:13px;
        white-space:normal;
        text-align:center;
    }
}

@media(max-width:430px){
    .document-detail-hero h1{
        font-size:23px;
    }

    .document-main-card,
    .purchase-card{
        padding:16px;
    }

    .locked-overlay{
        width:92%;
    }
}

/* =========================================
   STUDENT DASHBOARD RESPONSIVE
========================================= */

@media(max-width:1050px){
    .dashboard-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){
    .student-dashboard-page{
        background:linear-gradient(to bottom,#fff6f3 0%,#ffffff 52%);
    }

    .student-topbar{
        margin-left:0;
        width:100%;
        height:72px;
        padding:0 16px;
        justify-content:space-between;
        position:sticky;
        top:0;
    }

    .student-menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        width:44px;
        height:44px;
        border:none;
        border-radius:14px;
        background:#fff0eb;
        color:#ff5538;
        font-size:24px;
        cursor:pointer;
        font-weight:900;
    }

    .student-mobile-logo{
        display:flex;
        align-items:center;
        margin-right:auto;
        margin-left:10px;
    }

    .student-mobile-logo img{
        height:36px;
        width:auto;
        display:block;
    }

    .student-sidebar{
        width:calc(100% - 28px);
        min-height:auto;
        max-height:calc(100vh - 92px);
        overflow-y:auto;
        top:82px;
        left:14px;
        right:14px;
        padding:18px;
        border-radius:22px;
        transform:translateY(-16px);
        opacity:0;
        pointer-events:none;
        transition:0.22s ease;
        box-shadow:0 24px 70px rgba(18,21,31,0.22);
    }

    .student-sidebar.show-student-sidebar{
        transform:translateY(0);
        opacity:1;
        pointer-events:auto;
    }

    .sidebar-logo{
        display:none;
    }

    .student-nav{
        gap:6px;
    }

    .student-nav a{
        padding:13px 14px;
        border-radius:14px;
    }

    .student-main{
        margin-left:0;
        width:100%;
        padding:22px 16px 42px;
    }

    .notif-dropdown{
        right:0;
        width:330px;
        max-width:calc(100vw - 30px);
    }

    .dashboard-welcome-card{
        display:block;
        padding:24px;
        border-radius:24px;
    }

    .dashboard-welcome-card h1{
        font-size:28px;
    }

    .dashboard-main-btn{
        width:100%;
        margin-top:18px;
    }

    .dashboard-section-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .dashboard-secondary-btn{
        width:100%;
    }
}

@media(max-width:700px){
    .dashboard-stats-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .dashboard-stat-card{
        padding:20px;
        border-radius:22px;
    }

    .dashboard-stat-card strong{
        font-size:36px;
    }

    .dashboard-table-card{
        padding:20px;
        border-radius:24px;
    }

    .dashboard-table-wrap{
        overflow:visible;
    }

    .dashboard-table{
        min-width:0;
        display:block;
    }

    .dashboard-table thead{
        display:none;
    }

    .dashboard-table tbody,
    .dashboard-table tr,
    .dashboard-table td{
        display:block;
        width:100%;
    }

    .dashboard-table tr{
        background:white;
        border:1px solid #f1dfd9;
        border-radius:18px;
        padding:14px;
        margin-bottom:14px;
        box-shadow:0 12px 28px rgba(18,21,31,0.05);
    }

    .dashboard-table td{
        border:none;
        padding:10px 0;
        font-size:13px;
        display:flex;
        justify-content:space-between;
        gap:14px;
        text-align:right;
    }

    .dashboard-table td::before{
        content:attr(data-label);
        color:#6f7280;
        font-weight:900;
        text-transform:uppercase;
        letter-spacing:.04em;
        font-size:11px;
        text-align:left;
        flex:0 0 92px;
    }

    .empty-dashboard-row{
        display:block !important;
        text-align:center !important;
    }

    .empty-dashboard-row::before{
        display:none;
    }
}

@media(max-width:430px){
    .student-main{
        padding:18px 14px 36px;
    }

    .dashboard-welcome-card h1{
        font-size:25px;
    }

    .dashboard-welcome-card p{
        font-size:14px;
    }

    .dashboard-section-header h2{
        font-size:23px;
    }

    .notif-dropdown{
        right:-6px;
        width:310px;
    }
}


/* =========================================
   CUSTOM REQUEST RESPONSIVE
========================================= */

@media(max-width:900px){
    .custom-request-card{
        padding:26px;
        border-radius:26px;
    }

    .custom-request-header h1{
        font-size:29px;
    }
}

@media(max-width:700px){
    .custom-request-card{
        padding:20px;
        border-radius:24px;
    }

    .custom-request-header{
        margin-bottom:22px;
    }

    .custom-request-header h1{
        font-size:25px;
    }

    .custom-request-header p{
        font-size:14px;
    }

    .request-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .form-group.full,
    .full{
        grid-column:1;
    }

    .custom-request-form label{
        font-size:11px;
        margin-bottom:7px;
    }

    .custom-request-form input,
    .custom-request-form select,
    .custom-request-form textarea{
        padding:13px 14px;
        border-radius:14px;
        font-size:14px;
    }

    .upload-box{
        padding:20px 14px;
        border-radius:18px;
    }

    .upload-box p{
        font-size:12.5px;
    }

    .request-file-input{
        width:100% !important;
        font-size:12.5px;
    }

    .submit-btn{
        width:100%;
        min-height:52px;
        margin-top:22px;
        border-radius:15px;
    }

    .tox.tox-tinymce{
        border-radius:16px !important;
    }
}

@media(max-width:430px){
    .custom-request-card{
        padding:18px;
    }

    .custom-request-header h1{
        font-size:23px;
    }
}



/* =========================================
   STUDENT REQUESTS RESPONSIVE
========================================= */

@media(max-width:900px){
    .requests-hero-card{
        margin-bottom:18px;
    }

    .requests-table-card{
        padding:20px;
    }
}

@media(max-width:700px){
    .requests-table-wrap{
        overflow:visible;
    }

    .requests-table{
        min-width:0;
        display:block;
    }

    .requests-table thead{
        display:none;
    }

    .requests-table tbody,
    .requests-table tr,
    .requests-table td{
        display:block;
        width:100%;
    }

    .requests-table tr{
        background:white;
        border:1px solid #f1dfd9;
        border-radius:20px;
        padding:14px;
        margin-bottom:14px;
        box-shadow:0 12px 28px rgba(18,21,31,0.05);
    }

    .requests-table td{
        border:none;
        padding:10px 0;
        font-size:13px;
        display:flex;
        justify-content:space-between;
        align-items:flex-start;
        gap:14px;
        text-align:right;
    }

    .requests-table td::before{
        content:attr(data-label);
        color:#6f7280;
        font-weight:900;
        text-transform:uppercase;
        letter-spacing:.04em;
        font-size:11px;
        text-align:left;
        flex:0 0 88px;
    }

    .request-title-cell{
        min-width:0;
        align-items:flex-end;
    }

    .request-title-cell strong{
        font-size:13px;
        text-align:right;
    }

    .request-title-cell span{
        font-size:11px;
    }

    .request-deadline-text{
        white-space:normal;
        text-align:right;
        font-size:12px;
    }

    .request-view-btn,
    .request-countdown,
    .request-budget-pill,
    .request-subject-pill,
    .request-status{
        font-size:11.5px;
    }

    .request-view-btn{
        min-width:92px;
    }

    .empty-requests-row{
        display:block !important;
        text-align:center !important;
    }

    .empty-requests-row::before{
        display:none;
    }
}

@media(max-width:430px){
    .requests-table-card{
        padding:16px;
    }

    .requests-table tr{
        padding:12px;
        border-radius:18px;
    }

    .requests-table td{
        gap:10px;
    }
}

/* =========================================
   STUDENT PURCHASES RESPONSIVE
========================================= */

@media(max-width:900px){
    .purchases-hero-card{
        margin-bottom:18px;
    }

    .purchases-table-card{
        padding:20px;
    }
}

@media(max-width:700px){
    .purchases-table-wrap{
        overflow:visible;
    }

    .purchases-table{
        min-width:0;
        display:block;
    }

    .purchases-table thead{
        display:none;
    }

    .purchases-table tbody,
    .purchases-table tr,
    .purchases-table td{
        display:block;
        width:100%;
    }

    .purchases-table tr{
        background:white;
        border:1px solid #f1dfd9;
        border-radius:20px;
        padding:14px;
        margin-bottom:14px;
        box-shadow:0 12px 28px rgba(18,21,31,0.05);
    }

    .purchases-table td{
        border:none;
        padding:10px 0;
        font-size:13px;
        display:flex;
        justify-content:space-between;
        align-items:flex-start;
        gap:14px;
        text-align:right;
    }

    .purchases-table td::before{
        content:attr(data-label);
        color:#6f7280;
        font-weight:900;
        text-transform:uppercase;
        letter-spacing:.04em;
        font-size:11px;
        text-align:left;
        flex:0 0 88px;
    }

    .purchase-title-cell{
        min-width:0;
        align-items:flex-end;
    }

    .purchase-title-cell strong{
        font-size:13px;
        text-align:right;
    }

    .purchase-title-cell span{
        font-size:11px;
    }

    .purchase-date-text{
        white-space:normal;
        text-align:right;
        font-size:12px;
    }

    .purchase-actions{
        flex-direction:column;
        align-items:flex-end;
        gap:8px;
    }

    .purchase-download-btn,
    .purchase-amount-pill,
    .request-view-btn,
    .request-subject-pill,
    .request-status{
        font-size:11.5px;
    }

    .purchase-download-btn,
    .request-view-btn{
        min-width:100px;
    }

    .empty-purchases-row{
        display:block !important;
        text-align:center !important;
    }

    .empty-purchases-row::before{
        display:none;
    }
}

@media(max-width:430px){
    .purchases-table-card{
        padding:16px;
    }

    .purchases-table tr{
        padding:12px;
        border-radius:18px;
    }

    .purchases-table td{
        gap:10px;
    }
}


/* =========================================
   STUDENT PROFILE RESPONSIVE
========================================= */

@media(max-width:700px){
    .profile-card{
        padding:22px;
        border-radius:24px;
    }

    .profile-header{
        align-items:flex-start;
        gap:16px;
        padding-bottom:22px;
        margin-bottom:22px;
    }

    .profile-avatar{
        width:58px;
        height:58px;
        border-radius:18px;
        font-size:20px;
    }

    .profile-heading h1{
        font-size:27px;
    }

    .profile-heading p{
        font-size:13px;
    }

    .profile-info-card{
        padding:16px;
        border-radius:18px;
    }

    .profile-info-card strong{
        font-size:14px;
    }
}

@media(max-width:430px){
    .profile-card{
        padding:18px;
    }

    .profile-header{
        flex-direction:column;
    }

    .profile-avatar{
        width:62px;
        height:62px;
    }

    .profile-heading h1{
        font-size:25px;
    }
}


/* =========================================
   VIEW STUDENT REQUEST RESPONSIVE
========================================= */

@media(max-width:1050px){
    .request-detail-meta-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .request-detail-hero-card,
    .request-answer-card{
        padding:20px;
        border-radius:24px;
    }

    .request-detail-hero-card h1{
        font-size:25px;
        line-height:1.22;
    }

    .request-detail-meta-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .request-detail-meta-card{
        padding:15px;
        border-radius:17px;
    }

    .request-section-header h2{
        font-size:22px;
    }

    .student-preview-lock-box{
        min-height:560px;
        border-radius:20px;
    }

    .student-preview-text{
        padding:20px;
        font-size:13px;
        line-height:1.75;
        max-height:560px;
    }

    .student-preview-fade{
        height:280px;
    }

    .student-preview-lock-card{
        width:90%;
        bottom:28px;
        padding:20px;
        border-radius:22px;
    }

    .student-lock-card-top{
        flex-direction:column;
        text-align:center;
        gap:14px;
    }

    .student-lock-icon{
        width:52px;
        height:52px;
        font-size:22px;
    }

    .student-lock-copy h3{
        font-size:22px;
    }

    .student-lock-copy p{
        font-size:12.5px;
    }

    .student-unlock-btn,
    .answer-download-btn{
        width:100%;
        text-align:center;
        padding:14px 16px;
        font-size:13px;
    }

    .student-chat-header{
        padding:20px;
        display:block;
    }

    .student-chat-sound-pill{
        display:inline-flex;
        margin-top:14px;
        font-size:12px;
    }

    .student-chat-status-bar{
        display:block;
        font-size:12.5px;
        line-height:1.6;
    }

    .student-typing-indicator{
        margin-top:6px;
    }

    .student-chat-box{
        height:360px;
        padding:16px;
    }

    .student-chat-form{
        flex-direction:column;
        padding:16px;
    }

    .student-chat-form input,
    .student-chat-form button{
        width:100%;
    }

    .student-message-bubble{
        max-width:86%;
        font-size:13px;
    }
}

@media(max-width:430px){
    .request-detail-hero-card,
    .request-answer-card{
        padding:18px;
    }

    .request-detail-hero-card h1{
        font-size:23px;
    }

    .student-preview-lock-card{
        width:92%;
        padding:18px;
    }

    .student-message-bubble{
        max-width:92%;
    }
}



/* =========================================
   CHECKOUT RESPONSIVE
========================================= */

@media(max-width:1000px){

    .checkout-container{
        grid-template-columns:1fr;
    }

    .checkout-summary-card{
        position:relative;
        top:auto;
    }
}

@media(max-width:700px){

    .checkout-section{
        padding:28px 14px 60px;
    }

    .checkout-card,
    .checkout-summary-card{
        border-radius:24px;
    }

    .checkout-card{
        padding:22px;
    }

    .checkout-summary-card{
        padding:22px;
    }

    .checkout-card h1{
        font-size:31px;
        line-height:1.15;
    }

    .checkout-subtitle{
        font-size:14px;
        line-height:1.7;
        margin-bottom:24px;
    }

    .payment-option-card{
        padding:18px;
        border-radius:20px;
    }

    .payment-option-top{
        flex-direction:column;
        gap:14px;
    }

    .payment-icon{
        width:50px;
        height:50px;
        border-radius:15px;
        font-size:22px;
    }

    .payment-option-card h3{
        font-size:20px;
    }

    .payment-option-card p{
        font-size:13px;
    }

    .payment-btn{
        width:100%;
        padding:14px 16px;
        font-size:13px;
        text-align:center;
    }

    .manual-payment-box{
        padding:16px;
        border-radius:18px;
    }

    .manual-payment-row{
        flex-direction:column;
        gap:6px;
    }

    .manual-payment-row strong{
        text-align:left;
    }

    .summary-top{
        align-items:flex-start;
        flex-direction:column;
    }

    .checkout-price{
        font-size:32px;
    }

    .summary-row{
        flex-direction:column;
        gap:6px;
    }

    .summary-row strong{
        text-align:left;
    }

    .checkout-security-box{
        padding:16px;
        border-radius:18px;
    }
}

@media(max-width:430px){

    .checkout-card{
        padding:18px;
    }

    .checkout-summary-card{
        padding:18px;
    }

    .checkout-card h1{
        font-size:28px;
    }
}
@media(max-width:700px){
    .whatsapp-bubble{
        left:14px;
        bottom:14px;
        padding:12px 15px;
        font-size:13px;
    }
}


/* =========================================
   DOCUMENT CHECKOUT RESPONSIVE
========================================= */

@media(max-width:900px){
    .checkout-wrap{
        width:calc(100% - 32px);
        padding:44px 0 70px;
    }

    .checkout-grid{
        grid-template-columns:1fr;
    }

    .checkout-payment-card{
        position:relative;
        top:auto;
    }

    .checkout-hero h1{
        font-size:34px;
    }
}

@media(max-width:700px){
    .checkout-wrap{
        width:100%;
        padding:34px 16px 56px;
    }

    .checkout-hero{
        margin-bottom:24px;
    }

    .checkout-hero h1{
        font-size:28px;
        line-height:1.18;
    }

    .checkout-hero p{
        font-size:14px;
        line-height:1.65;
    }

    .checkout-main-card,
    .checkout-payment-card{
        border-radius:22px;
        padding:20px;
    }

    .checkout-card-header h2{
        font-size:21px;
    }

    .checkout-info-row,
    .manual-payment-row{
        flex-direction:column;
        gap:6px;
    }

    .checkout-info-row strong,
    .manual-payment-row strong{
        text-align:left;
    }

    .checkout-price-box{
        padding:20px;
        border-radius:20px;
    }

    .checkout-price-box strong{
        font-size:32px;
    }

    .manual-payment-box{
        padding:16px;
        border-radius:20px;
    }
}
@media(max-width:700px){

    .locked-overlay{
        cursor:pointer;
    }

    .locked-overlay .document-buy-btn,
    .unlock-btn{
        width:100%;
        background:linear-gradient(135deg,#ff5538,#ff7a45);
        color:#ffffff;
        border:none;
        box-shadow:0 14px 28px rgba(255,85,56,0.22);
        white-space:normal;
        text-align:center;
        padding:14px 18px;
        border-radius:16px;
        font-size:14px;
        font-weight:900;
    }
}
