/*==========================
    ACCOUNT SIDEBAR
==========================*/

.account-sidebar{

    width:320px;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border:1px solid #edf0f7;
    position:sticky;
    top:25px;

}

/*==========================
    PROFILE
==========================*/

.sidebar-profile{

    padding:35px 25px;
    background:linear-gradient(135deg,#091d57,#163f96);
    text-align:center;
    color:#fff;

}

.profile-image{

    width:95px;
    height:95px;
    margin:auto;
    position:relative;

}

.profile-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    border:4px solid rgba(255,255,255,.25);

}

.online-dot{

    width:18px;
    height:18px;
    background:#20b486;
    border-radius:50%;
    border:3px solid #fff;

    position:absolute;
    right:3px;
    bottom:6px;

}

.sidebar-profile h3{

    margin:18px 0 6px;
    font-size:22px;
    font-weight:700;

}

.sidebar-profile p{

    margin:0;
    font-size:14px;
    opacity:.85;

}

.member-badge{

    display:inline-block;
    margin-top:18px;
    padding:8px 18px;

    background:#ff6b35;

    border-radius:50px;

    font-size:13px;
    font-weight:600;

}

/*==========================
    MENU
==========================*/

.account-menu{

    list-style:none;
    margin:0;
    padding:20px;

}

.account-menu li{

    margin-bottom:10px;

}

.account-menu li:last-child{

    margin-top:20px;

}

/*==========================
    MENU LINK
==========================*/

.account-menu a{

    display:grid;
    grid-template-columns:26px 1fr auto;

    align-items:center;

    column-gap:16px;

    height:58px;

    padding:0 18px;

    border-radius:16px;

    text-decoration:none;

    color:#091d57;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

.account-menu a i{

    font-size:18px;
    color:#ff6b35;
    text-align:center;

}

.account-menu a:hover{

    background:#f7f9fd;

}

.account-menu a.active{

    background:#091d57;
    color:#fff;

}

.account-menu a.active i{

    color:#fff;

}

/*==========================
    COUNT
==========================*/

.menu-count{

    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#ff6b35;
    color:#fff;

    border-radius:50%;

    font-size:12px;
    font-weight:700;

}

/*==========================
    LOGOUT
==========================*/

.logout-btn{

    border:1px solid #ffe0d3;

    color:#ff5c40 !important;

}

.logout-btn i{

    color:#ff5c40 !important;

}

.logout-btn:hover{

    background:#ff5c40;

    color:#258b8a !important;

}

.logout-btn:hover i{

    color:#258b8a !important;

}

/*==========================
    MOBILE
==========================*/

@media(max-width:991px){

.account-sidebar{

    width:100%;
    position:relative;
    top:0;

}

}

@media(max-width:767px){

.account-menu{

    padding:15px;

}

.account-menu a{

    height:54px;
    font-size:15px;

}

.sidebar-profile{

    padding:30px 20px;

}

}

/*=========================
      WELCOME CARD
=========================*/

.welcome-card{

    background:linear-gradient(135deg,#091d57,#163f96);

    border-radius:28px;

    padding:45px;

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    overflow:hidden;

    position:relative;

    box-shadow:0 20px 60px rgba(9,29,87,.18);

}

/* Background Effect */

.welcome-card::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    top:-150px;

    right:-100px;

}

.welcome-card::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    background:rgba(255,255,255,.04);

    border-radius:50%;

    bottom:-120px;

    left:-80px;

}

.welcome-content{

    flex:1;

    position:relative;

    z-index:2;

}

.welcome-badge{

    display:inline-block;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.2);

    padding:10px 18px;

    border-radius:40px;

    font-size:14px;

    margin-bottom:22px;

    font-weight:600;

}

.welcome-content h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:18px;

    line-height:1.2;

}

.welcome-content p{

    max-width:620px;

    color:#e7ecff;

    line-height:30px;

    font-size:17px;

    margin-bottom:35px;

}

/* Buttons */

.welcome-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.welcome-btn{

    background:#ff6b35;

    color:#fff;

    padding:15px 30px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.welcome-btn:hover{

    background:#fff;

    color:#091d57;

}

.download-btn2{

    background:rgba(255,255,255,.12);

    color:#fff;

    border:1px solid rgba(255,255,255,.25);

    padding:15px 30px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.download-btn2:hover{

    background:#fff;

    color:#091d57;

}

.welcome-btn i,
.download-btn2 i{

    margin-right:8px;

}

/* Right Side */

.welcome-right{

    width:220px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;

}

.welcome-circle{

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(255,255,255,.10);

    display:flex;

    justify-content:center;

    align-items:center;

    border:2px solid rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

}

.welcome-circle i{

    font-size:80px;

    color:#fff;

}

/* Responsive */

@media(max-width:991px){

.welcome-card{

    flex-direction:column;

    text-align:center;

    padding:35px;

}

.welcome-content p{

    margin:auto auto 30px;

}

.welcome-buttons{

    justify-content:center;

}

.welcome-right{

    width:100%;

}

}

@media(max-width:576px){

.welcome-card{

    padding:28px;

}

.welcome-content h2{

    font-size:30px;

}

.welcome-content p{

    font-size:15px;

    line-height:26px;

}

.welcome-circle{

    width:130px;

    height:130px;

}

.welcome-circle i{

    font-size:60px;

}

}


.account-section{

    padding:30px 0;

}

.account-wrapper{

    display:flex;

    gap:35px;

    align-items:flex-start;

}

.account-sidebar{

    width:320px;

    flex-shrink:0;

}

.account-content{

    flex:1;

    min-width:0;

}

.welcome-card{

    width:100%;

    margin-bottom:30px;

}

@media(max-width:991px){

.account-wrapper{

    flex-direction:column;

}

.account-sidebar{

    width:100%;

}

.account-content{

    width:100%;

}

}

.account-sidebar{

    width:320px;

    background:#fff;

    border-radius:22px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}


.account-menu-toggle{

    display:none;

    width:48px;

    height:48px;

    border:none;

    background:#091d57;

    color:#fff;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;

    margin-bottom:20px;

}

.sidebar-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.sidebar-overlay.active{

    opacity:1;

    visibility:visible;

}

@media(max-width:991px){

.account-menu-toggle{

    display:flex;

    align-items:center;

    justify-content:center;

}

.account-sidebar{

    position:fixed;

    left:-340px;

    top:0;

    width:300px;

    height:100vh;

    border-radius:0;

    overflow:auto;

    transition:.35s;

    z-index:1000;

    background:#fff;

}

.account-sidebar.active{

    left:0;

}

}

/*=========================
    MOBILE SIDEBAR HEADER
=========================*/

.mobile-sidebar-header{

    display:none;

}

@media(max-width:991px){

.mobile-sidebar-header{

    display:flex;

    align-items:center;

    gap:18px;

    background:#fff;

    padding:14px 18px;

    border-radius:18px;

    margin-bottom:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    border:1px solid #edf1f8;

}

.account-menu-toggle{

    width:50px;

    height:50px;

    border:none;

    border-radius:14px;

    background:#091d57;

    color:#fff;

    font-size:20px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.account-menu-toggle:hover{

    background:#ff6b35;

}

.mobile-sidebar-title{

    flex:1;

}

.mobile-sidebar-title h5{

    margin:0;

    font-size:18px;

    font-weight:700;

    color:#091d57;

}

.mobile-sidebar-title span{

    display:block;

    margin-top:2px;

    color:#7d879c;

    font-size:13px;

}

}
/*==================================
        ORDER CARD
==================================*/

.order-card{

    background:#fff;

    border-radius:22px;

    padding:28px;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    border:1px solid #eef1f7;

    margin-bottom:30px;

    transition:.35s;

}

.order-card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

/*==================================
        TOP
==================================*/

.order-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

    padding-bottom:18px;

    border-bottom:1px solid #edf1f6;

}

.order-top h4{

    margin:0;

    color:#091d57;

    font-size:22px;

    font-weight:700;

}

.order-top span{

    display:block;

    margin-top:6px;

    color:#7d879c;

    font-size:14px;

}

/*==================================
        STATUS
==================================*/

.order-status{

    background:#20b486;

    color:#fff;

    padding:8px 18px;

    border-radius:40px;

    font-size:14px;

    font-weight:600;

}

/*==================================
        INFO
==================================*/

.order-info{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:25px;

}

.order-info div{

    background:#f7f9fc;

    border-radius:16px;

    padding:18px;

}

.order-info strong{

    display:block;

    color:#091d57;

    font-size:14px;

    margin-bottom:8px;

}

.order-info span{

    color:#666;

    font-size:15px;

}

/*==================================
        BOOK LIST
==================================*/

.order-books{

    display:flex;

    flex-direction:column;

    gap:18px;

    margin-bottom:25px;

}

.book-item{

    display:flex;

    align-items:center;

    gap:16px;

    padding:15px;

    border:1px solid #edf1f7;

    border-radius:16px;

    transition:.3s;

}

.book-item:hover{

    background:#fafbfd;

}

.book-item img{

    width:70px;

    height:90px;

    object-fit:cover;

    border-radius:12px;

    border:1px solid #eee;

}

.book-item span{

    font-size:16px;

    font-weight:600;

    color:#091d57;

    line-height:26px;

}

/*==================================
        FOOTER
==================================*/

.order-footer{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    border-top:1px solid #edf1f7;

    padding-top:22px;

}

.order-footer a{

    text-decoration:none;

    padding:12px 28px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

/* View Details */

.order-footer a:first-child{

    background:#eef2fb;

    color:#091d57;

}

.order-footer a:first-child:hover{

    background:#091d57;

    color:#fff;

}

/* Download */

.download-order{

    background:#ff6b35;

    color:#fff;

}

.download-order:hover{

    background:#091d57;

    color:#fff;

}

/*==================================
        MOBILE
==================================*/

@media(max-width:768px){

.order-card{

    padding:20px;

}

.order-top{

    flex-direction:column;

    align-items:flex-start;

    gap:15px;

}

.order-info{

    grid-template-columns:1fr;

}

.book-item{

    align-items:flex-start;

}

.book-item img{

    width:60px;

    height:80px;

}

.book-item span{

    font-size:15px;

}

.order-footer{

    flex-direction:column;

}

.order-footer a{

    width:100%;

    text-align:center;

}

}

.book-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:18px;

    border:1px solid #edf1f7;

    border-radius:16px;

    transition:.3s;

}

.book-item:hover{

    background:#fafbfd;

}

.book-left{

    display:flex;

    align-items:center;

    gap:16px;

    flex:1;

}

.book-left img{

    width:70px;

    height:90px;

    object-fit:cover;

    border-radius:12px;

    border:1px solid #eee;

}

.book-content{

    flex:1;

}

.book-content h5{

    margin:0 0 8px;

    color:#091d57;

    font-size:17px;

    font-weight:700;

    line-height:26px;

}

.book-content span{

    color:#777;

    font-size:14px;

}

.download-order{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#ff6b35;

    color:#fff;

    text-decoration:none;

    padding:12px 20px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    white-space:nowrap;

    transition:.3s;

}

.download-order:hover{

    background:#091d57;

    color:#fff;

}


@media(max-width:768px){

.book-item{

    flex-direction:column;

    align-items:flex-start;

}

.book-left{

    width:100%;

}

.download-order{

    width:100%;

    justify-content:center;

}

}
/*==========================
      PAGINATION
==========================*/

.pagination-wrapper{

    margin-top:40px;

    display:flex;

    justify-content:center;

}

.pagination{

    display:flex;

    gap:10px;

    list-style:none;

    padding:0;

    margin:0;

}

.pagination li a{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    background:#fff;

    color:#091d57;

    text-decoration:none;

    font-weight:600;

    border:1px solid #e8edf5;

    transition:.3s;

}

.pagination li a:hover{

    background:#ff6b35;

    color:#fff;

}

.pagination li a.active{

    background:#091d57;

    color:#fff;

    border-color:#091d57;

}
/*==========================
      MY BOOKS
==========================*/

.my-books-section{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 10px 40px rgba(0,0,0,.06);

}

.page-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

}

.page-header h2{

    font-size:32px;

    font-weight:700;

    color:#091d57;

    margin-bottom:8px;

}

.page-header p{

    color:#666;

    margin:0;

}

.book-count span{

    background:#eef4ff;

    color:#091d57;

    padding:10px 18px;

    border-radius:30px;

    font-weight:600;

}

.my-books-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.my-book-card{

    background:#fff;

    border:1px solid #edf1f8;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}

.my-book-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(0,0,0,.10);

}

.book-cover{

    position:relative;

}

.book-cover img{

    width:100%;

    height:320px;

    object-fit:cover;

    display:block;

}

.book-badge{

    position:absolute;

    top:15px;

    right:15px;

    background:#27ae60;

    color:#fff;

    font-size:13px;

    padding:7px 14px;

    border-radius:25px;

}

.book-content{

    padding:22px;

}

.book-content h4{

    font-size:19px;

    color:#091d57;

    line-height:30px;

    margin-bottom:15px;

    height:60px;

    overflow:hidden;

}

.book-meta{

    margin-bottom:22px;

    color:#777;

    font-size:14px;

}

.book-meta i{

    color:#ff6b35;

    margin-right:6px;

}

.book-actions{

    display:flex;

    gap:12px;

}

.read-btn,

.download-btn{

    flex:1;

    text-align:center;

    text-decoration:none;

    padding:13px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.read-btn{

    background:#091d57;

    color:#fff;

}

.download-btn{

    background:#ff6b35;

    color:#fff;

}

.read-btn:hover,

.download-btn:hover{

    opacity:.9;

    color:#fff;

}

/*==========================
      MOBILE
==========================*/

@media(max-width:991px){

.my-books-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.my-books-section{

    padding:20px;

}

.page-header{

    flex-direction:column;

    align-items:flex-start;

    gap:15px;

}

.my-books-grid{

    grid-template-columns:1fr;

}

.book-cover img{

    height:280px;

}

}

.book-actions{

    margin-top:20px;

}

.download-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    height:52px;

    background:linear-gradient(135deg,#ff7b3d,#ff5b2e);

    color:#fff;

    text-decoration:none;

    border-radius:14px;

    font-size:16px;

    font-weight:600;

    transition:.35s;

    box-shadow:0 10px 25px rgba(255,107,53,.28);

}

.download-btn i{

    font-size:18px;

}

.download-btn:hover{

    background:#091d57;

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 15px 30px rgba(9,29,87,.25);

}
.book-content h4{

    font-size:18px;

    font-weight:700;

    color:#091d57;

    line-height:28px;

    margin-bottom:14px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

    min-height:56px;

}
/*=========================
      PROFILE
=========================*/

.profile-wrapper{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:30px;

}

.profile-sidebar{

    background:#fff;

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.profile-image{

    position:relative;

    width:160px;

    height:160px;

    margin:auto;

}

.profile-image img{

    width:100%;

    height:100%;

    border-radius:50%;

    object-fit:cover;

    border:6px solid #f3f5fb;

}

.upload-photo{

    margin-top:20px;

    display:inline-flex;

    gap:8px;

    align-items:center;

    background:#ff6b35;

    color:#fff;

    padding:10px 18px;

    border-radius:40px;

    cursor:pointer;

    font-size:14px;

}

.profile-sidebar h3{

    margin-top:25px;

    color:#091d57;

    font-size:24px;

}

.profile-sidebar p{

    color:#777;

    margin:8px 0 18px;

}

.profile-badge{

    display:inline-block;

    background:#091d57;

    color:#fff;

    padding:10px 18px;

    border-radius:30px;

    font-size:13px;

}

.profile-content{

    background:#fff;

    border-radius:22px;

    padding:40px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.profile-header h2{

    color:#091d57;

    margin-bottom:8px;

}

.profile-header p{

    color:#666;

    margin-bottom:35px;

}

.profile-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    font-weight:600;

    color:#091d57;

    margin-bottom:10px;

}

.form-group input,

.form-group textarea{

    border:1px solid #dde3ef;

    border-radius:14px;

    padding:14px 18px;

    font-size:15px;

    transition:.3s;

}

.form-group input:focus,

.form-group textarea:focus{

    outline:none;

    border-color:#ff6b35;

}

.full-width{

    grid-column:1/-1;

}

.save-profile-btn{

    margin-top:35px;

    background:#ff6b35;

    color:#fff;

    border:none;

    padding:15px 30px;

    border-radius:14px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.save-profile-btn:hover{

    background:#091d57;

}

/*=========================
      MOBILE
=========================*/

@media(max-width:991px){

.profile-wrapper{

    grid-template-columns:1fr;

}

.profile-grid{

    grid-template-columns:1fr;

}

.profile-content{

    padding:25px;

}

}

.save-photo-btn{

    margin-top:18px;

    width:100%;

    border:none;

    background:#ff6b35;

    color:#fff;

    padding:13px;

    border-radius:12px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.save-photo-btn:hover{

    background:#091d57;

}












