*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#F7F9FC;
    color:#0B1F3A;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

header{
    width:100%;
    background:white;
    padding:18px 7%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow:0 8px 24px rgba(11,31,58,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:900;
    color:#0B1F3A;
    letter-spacing:-1px;
}

nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

nav a{
    color:#0B1F3A;
    font-size:15px;
    font-weight:800;
    transition:0.25s ease;
}

nav a:hover{
    color:#315C9B;
}

.login-btn{
    background:#0B1F3A;
    color:white !important;
    padding:11px 18px;
    border-radius:999px;
}

.login-btn:hover{
    background:#315C9B;
    color:white !important;
}

.logout-nav,
nav a[href*="cikis.php"]{
    background:#B42318 !important;
    color:white !important;
}

.logout-nav:hover,
nav a[href*="cikis.php"]:hover{
    background:#8F1B12 !important;
    color:white !important;
}

.section{
    padding:55px 7%;
}

.page-title{
    padding:70px 7% 45px;
    text-align:center;
    background:linear-gradient(135deg,#F7F9FC,#E9EEF6);
}

.page-title h1{
    font-size:42px;
    margin-bottom:14px;
    color:#0B1F3A;
}

.page-title p{
    color:#516070;
    font-size:17px;
    max-width:760px;
    margin:0 auto;
    line-height:1.7;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:30px;
}

.section-head h2{
    color:#0B1F3A;
    font-size:30px;
    margin-bottom:8px;
}

.section-head p{
    color:#516070;
    line-height:1.6;
}

.small-link,
.main-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#0B1F3A;
    color:white;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
    border:none;
    cursor:pointer;
}

.small-link:hover,
.main-btn:hover{
    background:#315C9B;
    color:white;
}

.empty-box{
    background:white;
    padding:35px;
    border-radius:28px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    text-align:center;
}

.empty-box h3{
    color:#0B1F3A;
    margin-bottom:10px;
}

.empty-box p{
    color:#516070;
    line-height:1.6;
    margin-bottom:18px;
}

.form-message{
    background:white;
    padding:18px 22px;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(11,31,58,0.08);
    color:#0B1F3A;
    font-weight:800;
    text-align:center;
}

.message-section{
    padding-bottom:0;
}

footer{
    background:#0B1F3A;
    color:white;
    text-align:center;
    padding:28px 7%;
    margin-top:40px;
}

.hero{
    padding:80px 7%;
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:40px;
    align-items:center;
    background:linear-gradient(135deg,#F7F9FC,#E9EEF6);
}

.hero-text h1,
.hero h1{
    font-size:54px;
    line-height:1.1;
    margin-bottom:20px;
    color:#0B1F3A;
}

.hero-text p,
.hero p{
    color:#516070;
    font-size:18px;
    line-height:1.7;
    margin-bottom:26px;
}

.hero-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.hero-feature-card{
    background:white;
    border-radius:32px;
    box-shadow:0 18px 45px rgba(11,31,58,0.13);
    overflow:hidden;
    position:relative;
    max-width:430px;
    width:100%;
    justify-self:end;
}

.hero-feature-card img{
    width:100%;
    height:360px;
    object-fit:cover;
    display:block;
}

.hero-feature-info{
    padding:22px;
}

.hero-feature-info span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    margin-bottom:10px;
}

.hero-feature-info h3{
    color:#0B1F3A;
    font-size:24px;
    margin-bottom:6px;
}

.hero-feature-info p{
    color:#516070;
    margin-bottom:12px;
}

.hero-feature-info a{
    display:inline-flex;
    background:#0B1F3A;
    color:white;
    padding:10px 16px;
    border-radius:999px;
    font-weight:900;
}

.hero-feature-info a:hover{
    background:#315C9B;
    color:white;
}

.books-grid,
.profile-books-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(170px, 210px));
    gap:22px;
    justify-content:start;
    align-items:start;
}

.book-card,
.profile-book-card{
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    transition:0.25s ease;
    color:#0B1F3A;
    max-width:210px;
    width:100%;
    position:relative;
}

.book-card:hover,
.profile-book-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 36px rgba(11,31,58,0.13);
}

.book-card img{
    width:100%;
    height:245px;
    object-fit:cover;
    display:block;
}

.book-info{
    padding:14px;
}

.book-info h3,
.profile-book-card h3{
    color:#0B1F3A;
    font-size:15px;
    line-height:1.3;
    margin-bottom:6px;
}

.book-info p,
.profile-book-card p{
    color:#516070;
    font-size:13px;
    margin-bottom:8px;
}

.book-info span,
.profile-book-card span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:5px 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
}

.book-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:0 14px 14px;
}

.book-actions a{
    flex:1;
    text-align:center;
    background:#EEF4FF;
    color:#0B1F3A;
    padding:9px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
}

.book-actions a:hover{
    background:#0B1F3A;
    color:white;
}

.favorite-card{
    position:relative !important;
}

.favorite-form{
    margin:0 !important;
    padding:0 !important;
}

.favorite-star{
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    border:none !important;
    background:white !important;
    color:#A8B0BD !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:20px !important;
    font-weight:900 !important;
    cursor:pointer !important;
    box-shadow:0 6px 16px rgba(11,31,58,0.16) !important;
    z-index:20 !important;
    transition:0.25s ease !important;
    text-decoration:none !important;
    line-height:1 !important;
}

.favorite-star:hover{
    background:#FFF7D6 !important;
    color:#D99A00 !important;
    transform:scale(1.08) !important;
}

.active-star{
    background:#FFF1B8 !important;
    color:#D99A00 !important;
}

.hero-feature-card .favorite-star{
    top:14px !important;
    right:14px !important;
}

.list-book-small-card .favorite-star{
    width:30px !important;
    height:30px !important;
    font-size:18px !important;
    top:8px !important;
    right:8px !important;
}

.profile-book-card .favorite-star{
    width:32px !important;
    height:32px !important;
    font-size:18px !important;
}

.form-section{
    min-height:70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:55px 7%;
}

.login-page,
.register-page{
    display:flex;
    align-items:center;
    justify-content:center;
}

.basic-form{
    width:100%;
    max-width:460px;
    background:white;
    padding:35px;
    border-radius:30px;
    box-shadow:0 14px 36px rgba(11,31,58,0.1);
}

.basic-form h1{
    color:#0B1F3A;
    margin-bottom:22px;
    text-align:center;
}

.basic-form input,
.basic-form textarea,
.basic-form select{
    width:100%;
    padding:15px;
    border:2px solid #DCE5F2;
    border-radius:16px;
    outline:none;
    margin-bottom:14px;
    font-size:15px;
    font-family:Arial, Helvetica, sans-serif;
}

.basic-form input:focus,
.basic-form textarea:focus,
.basic-form select:focus{
    border-color:#315C9B;
}

.basic-form textarea{
    min-height:120px;
    resize:vertical;
}

.basic-form button{
    width:100%;
    background:#0B1F3A;
    color:white;
    border:none;
    padding:15px;
    border-radius:999px;
    font-weight:900;
    font-size:15px;
    cursor:pointer;
}

.basic-form button:hover{
    background:#315C9B;
}

.basic-form p{
    text-align:center;
    margin-top:18px;
    color:#516070;
}

.basic-form p a{
    color:#0B1F3A;
    font-weight:900;
}

.mood-area{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:22px;
}

.mood-area button{
    background:white;
    color:#0B1F3A;
    border:2px solid #DCE5F2;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
}

.mood-area button:hover{
    background:#0B1F3A;
    color:white;
    border-color:#0B1F3A;
}

.mood-result{
    background:white;
    padding:24px;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    max-width:560px;
}

.mood-result span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    margin-bottom:10px;
}

.mood-result h4{
    color:#0B1F3A;
    font-size:24px;
    margin-bottom:6px;
}

.mood-result p{
    color:#516070;
    line-height:1.6;
    margin-bottom:8px;
}

.mood-result a{
    display:inline-flex;
    background:#0B1F3A;
    color:white;
    padding:10px 16px;
    border-radius:999px;
    font-weight:900;
    margin-top:8px;
}

.mood-result a:hover{
    background:#315C9B;
    color:white;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:18px;
}

.category-grid a{
    background:white;
    color:#0B1F3A;
    padding:22px;
    border-radius:24px;
    text-align:center;
    font-weight:900;
    box-shadow:0 10px 24px rgba(11,31,58,0.08);
}

.category-grid a:hover{
    background:#0B1F3A;
    color:white;
}

.profile-hero{
    margin:55px 7%;
    background:white;
    padding:40px;
    border-radius:36px;
    box-shadow:0 18px 45px rgba(11,31,58,0.1);
    display:grid;
    grid-template-columns:270px 1fr;
    gap:38px;
    align-items:center;
}

.profile-photo-area{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
}

.profile-photo-large{
    width:190px;
    height:190px;
    border-radius:50%;
    object-fit:cover;
    border:7px solid #F3F6FB;
    box-shadow:0 14px 32px rgba(11,31,58,0.12);
}

.profile-photo-form{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
}

.photo-upload-btn,
.profile-photo-form button{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:#E9EEF6;
    color:#0B1F3A;
    border:none;
    padding:11px 18px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
    font-size:14px;
}

.photo-upload-btn:hover,
.profile-photo-form button:hover{
    background:#DCE5F2;
}

.profile-info-area h2{
    font-size:34px;
    color:#0B1F3A;
    margin:8px 0;
}

.profile-info-area p{
    color:#516070;
    line-height:1.7;
    margin-bottom:10px;
}

.profile-badge{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:8px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
}

.profile-username{
    color:#315C9B !important;
    font-weight:900;
}

.profile-info-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
    margin:24px 0;
}

.profile-info-grid div{
    background:#F7F9FC;
    padding:16px;
    border-radius:18px;
    text-align:center;
}

.profile-info-grid strong{
    display:block;
    color:#0B1F3A;
    font-size:24px;
}

.profile-info-grid span{
    color:#516070;
    font-size:13px;
    font-weight:900;
}

.profile-tags{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.profile-tags a{
    background:#EEF4FF;
    color:#0B1F3A;
    padding:9px 13px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
}

.profile-tags a:hover{
    background:#0B1F3A;
    color:white;
}

.profile-edit-button,
.profile-logout-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
    margin-right:10px;
    margin-top:8px;
}

.profile-edit-button{
    background:#0B1F3A;
    color:white;
}

.profile-edit-button:hover{
    background:#315C9B;
    color:white;
}

.profile-logout-button{
    background:#B42318 !important;
    color:white !important;
}

.profile-logout-button:hover{
    background:#8F1B12 !important;
    color:white !important;
}

.profile-search-box{
    background:white;
    padding:24px;
    border-radius:26px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    margin-bottom:30px;
}

.profile-live-search-input{
    width:100%;
    padding:15px;
    border:2px solid #DCE5F2;
    border-radius:16px;
    outline:none;
    font-size:15px;
}

.profile-live-search-input:focus{
    border-color:#315C9B;
}

.search-help-text{
    color:#516070;
    margin-top:10px;
    font-size:14px;
}

.profile-search-results{
    margin-bottom:35px;
}

.profile-search-results h3{
    color:#0B1F3A;
    margin-bottom:18px;
}

.profile-sub-head{
    margin-top:30px;
}

.profile-read-card{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:18px;
}

.profile-book-main{
    display:grid;
    grid-template-columns:82px 1fr;
    gap:16px;
    align-items:center;
    color:#0B1F3A;
}

.profile-book-main img{
    width:82px;
    height:115px;
    border-radius:14px;
    object-fit:cover;
}

.read-add-button{
    width:100%;
    background:#0B1F3A;
    color:white;
    border:none;
    padding:12px 14px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
}

.read-add-button:hover{
    background:#315C9B;
}

.unread-button{
    display:block;
    text-align:center;
    background:#FDECEC;
    color:#B42318;
    padding:11px 14px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
}

.unread-button:hover{
    background:#B42318;
    color:white;
}

.profile-lower-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
}

.profile-panel{
    background:white;
    padding:28px;
    border-radius:30px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
}

.profile-panel h2{
    color:#0B1F3A;
    margin-bottom:18px;
}

.profile-list-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#F7F9FC;
    padding:15px;
    border-radius:18px;
    margin-bottom:12px;
}

.profile-list-line span{
    color:#0B1F3A;
    font-weight:900;
}

.profile-list-item{
    align-items:flex-start;
    gap:14px;
}

.profile-list-item div{
    flex:1;
}

.profile-list-item p{
    color:#516070;
    font-size:14px;
    margin-top:6px;
    line-height:1.5;
}

.profile-list-item a{
    background:#EEF4FF;
    color:#0B1F3A;
    padding:9px 13px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    white-space:nowrap;
}

.profile-list-item a:hover{
    background:#0B1F3A;
    color:white;
}

.profile-activity{
    background:#F7F9FC;
    padding:18px;
    border-radius:18px;
    color:#516070;
}

.community-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}

.community-card{
    background:white;
    padding:28px;
    border-radius:30px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    position:relative;
    overflow:hidden;
}

.community-card h3{
    color:#0B1F3A;
    font-size:22px;
    margin-bottom:12px;
}

.community-card p{
    color:#516070;
    line-height:1.6;
    margin-bottom:14px;
}

.community-card strong{
    color:#0B1F3A;
}

.community-card .card-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

.community-card .card-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:11px 18px;
    border-radius:999px;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    transition:0.25s ease;
    border:2px solid transparent;
}

.community-link{
    background:#EEF4FF;
    color:#0B1F3A;
    border-color:#DCE5F2 !important;
}

.community-link:hover{
    background:#0B1F3A;
    color:white;
    border-color:#0B1F3A !important;
}

.community-join-button{
    background:#0B1F3A;
    color:white;
    border-color:#0B1F3A !important;
}

.community-join-button:hover{
    background:#315C9B;
    color:white;
    border-color:#315C9B !important;
}

.community-leave-button{
    background:white;
    color:#B42318;
    border-color:#F5C2C0 !important;
}

.community-leave-button:hover{
    background:#FDECEC;
    color:#B42318;
    border-color:#B42318 !important;
}

.card-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.card-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 15px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    background:#EEF4FF;
    color:#0B1F3A;
}

.card-actions a:hover{
    background:#0B1F3A;
    color:white;
}

.compact-create-section{
    padding-top:28px;
    padding-bottom:10px;
}

.compact-create-card{
    background:white;
    border-radius:24px;
    box-shadow:0 10px 24px rgba(11,31,58,0.08);
    padding:20px;
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:20px;
    align-items:center;
}

.compact-create-card h2{
    color:#0B1F3A;
    font-size:22px;
    margin-bottom:6px;
}

.compact-create-card p{
    color:#516070;
    line-height:1.5;
    font-size:14px;
}

.compact-inline-form{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:10px;
    align-items:center;
    width:100%;
}

.compact-inline-form input{
    width:100%;
    padding:12px 14px;
    border:2px solid #DCE5F2;
    border-radius:14px;
    outline:none;
    font-size:14px;
    background:white;
}

.compact-inline-form input:focus{
    border-color:#315C9B;
}

.compact-inline-form button{
    background:#0B1F3A;
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
    white-space:nowrap;
}

.compact-inline-form button:hover{
    background:#315C9B;
}

.list-create-form{
    max-width:none !important;
    margin:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    background:transparent !important;
}

.lists-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:22px;
}

.list-card{
    background:white;
    padding:24px;
    border-radius:26px;
    box-shadow:0 10px 24px rgba(11,31,58,0.08);
}

.list-card h3{
    color:#0B1F3A;
    margin-bottom:10px;
}

.list-card p{
    color:#516070;
    line-height:1.6;
    margin-bottom:20px;
}

.list-card .card-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

.list-card .card-actions a,
.list-mini-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}

.list-card .card-actions a:first-child,
.list-mini-actions a:first-child{
    background:#EEF4FF;
    color:#0B1F3A;
    border:2px solid #DCE5F2;
}

.follow-button{
    background:#0B1F3A !important;
    color:white !important;
    border:2px solid #0B1F3A !important;
}

.unfollow-button,
.delete-list-button{
    background:white !important;
    color:#B42318 !important;
    border:2px solid #F5C2C0 !important;
}

.unfollow-button:hover,
.delete-list-button:hover{
    background:#FDECEC !important;
    color:#B42318 !important;
    border-color:#B42318 !important;
}

.list-mini-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.list-book-search-box{
    background:white;
    padding:24px;
    border-radius:26px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    margin-bottom:28px;
}

.list-book-search-box input{
    width:100%;
    padding:15px;
    border:2px solid #DCE5F2;
    border-radius:16px;
    outline:none;
    font-size:15px;
}

.list-book-search-box input:focus{
    border-color:#315C9B;
}

.list-book-search-box p{
    color:#516070;
    margin-top:10px;
    font-size:14px;
}

.list-search-results{
    margin-bottom:32px;
}

.listed-books-area{
    margin-top:20px;
}

.list-detail-books-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap:18px;
}

.list-book-small-card{
    background:white;
    padding:14px;
    border-radius:20px;
    box-shadow:0 10px 24px rgba(11,31,58,0.08);
    display:grid;
    grid-template-columns:64px 1fr;
    gap:14px;
    align-items:center;
    position:relative;
}

.list-book-small-card img{
    width:64px;
    height:92px;
    object-fit:cover;
    border-radius:13px;
}

.list-book-small-card h3{
    color:#0B1F3A;
    font-size:15px;
    margin-bottom:5px;
}

.list-book-small-card p{
    color:#516070;
    font-size:14px;
    margin-bottom:8px;
}

.list-book-small-card span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:5px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    margin-bottom:10px;
}

.list-book-small-card form{
    margin-top:8px;
}

.list-book-small-card button{
    background:#0B1F3A;
    color:white;
    border:none;
    padding:9px 13px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
    font-size:13px;
}

.list-book-small-card button:hover{
    background:#315C9B;
}

.list-book-remove{
    display:inline-block;
    background:white;
    color:#B42318;
    border:2px solid #F5C2C0;
    padding:8px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    margin-top:8px;
}

.list-book-remove:hover{
    background:#FDECEC;
    color:#B42318;
    border-color:#B42318;
}

.users-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}

.user-search-box{
    background:white;
    padding:24px;
    border-radius:26px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    margin-bottom:30px;
}

.user-search-form{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.user-search-form input{
    flex:1;
    min-width:240px;
    padding:15px;
    border:2px solid #DCE5F2;
    border-radius:16px;
    outline:none;
    font-size:15px;
}

.user-search-form input:focus{
    border-color:#315C9B;
}

.user-search-form button,
.user-search-form a{
    background:#0B1F3A;
    color:white;
    border:none;
    padding:14px 22px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
}

.user-search-form a{
    background:#E9EEF6;
    color:#0B1F3A;
}

.user-card{
    background:white;
    padding:26px;
    border-radius:28px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
    text-align:center;
}

.user-card-main{
    display:block;
    color:#0B1F3A;
}

.user-card-main img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #F3F6FB;
    margin-bottom:16px;
}

.user-card-main h3{
    color:#0B1F3A;
    margin-bottom:6px;
}

.user-card-main p{
    color:#315C9B;
    font-weight:900;
}

.user-mini-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
    margin:20px 0;
}

.user-mini-stats div{
    background:#F7F9FC;
    padding:12px;
    border-radius:16px;
}

.user-mini-stats strong{
    display:block;
    color:#0B1F3A;
    font-size:20px;
}

.user-mini-stats span{
    color:#516070;
    font-size:12px;
    font-weight:800;
}

.user-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.user-actions a{
    flex:1;
    background:#EEF4FF;
    color:#0B1F3A;
    padding:11px 13px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
}

.user-actions a:hover{
    background:#0B1F3A;
    color:white;
}

.user-actions .follow-button{
    background:#0B1F3A;
    color:white;
}

.user-actions .follow-button:hover{
    background:#315C9B;
}

.user-actions .unfollow-button{
    background:#FDECEC;
    color:#B42318;
}

.user-actions .unfollow-button:hover{
    background:#B42318;
    color:white;
}

.comments-page-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.comment-page-card{
    background:white;
    padding:24px;
    border-radius:26px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
}

.comment-user-area{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.comment-user-area img{
    width:58px;
    height:58px;
    border-radius:50%;
    object-fit:cover;
}

.comment-user-area h3{
    color:#0B1F3A;
    margin-bottom:3px;
}

.comment-user-area p{
    color:#315C9B;
    font-weight:900;
}

.comment-book-area{
    display:flex;
    align-items:center;
    gap:14px;
    background:#F7F9FC;
    padding:14px;
    border-radius:18px;
    margin-bottom:16px;
}

.comment-book-area img{
    width:54px;
    height:78px;
    object-fit:cover;
    border-radius:10px;
}

.comment-book-area a{
    color:#0B1F3A;
    font-weight:900;
}

.comment-book-area p{
    color:#516070;
    margin-top:4px;
}

.comment-text{
    color:#26384D;
    line-height:1.7;
    margin-bottom:12px;
}

.comment-date{
    color:#7B8794;
    font-size:13px;
    font-weight:800;
}

.detail-section{
    padding:55px 7%;
}

.detail-card{
    background:white;
    border-radius:34px;
    box-shadow:0 18px 45px rgba(11,31,58,0.1);
    padding:35px;
    display:grid;
    grid-template-columns:260px 1fr;
    gap:35px;
}

.detail-card img{
    width:100%;
    max-height:390px;
    object-fit:cover;
    border-radius:24px;
}

.detail-info h1{
    color:#0B1F3A;
    font-size:36px;
    margin-bottom:12px;
}

.detail-info p{
    color:#516070;
    line-height:1.7;
    margin-bottom:12px;
}

.detail-info span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-weight:900;
    margin-bottom:14px;
}

.contact-info{
    background:white;
    padding:28px;
    border-radius:28px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
}

.contact-info h3{
    color:#0B1F3A;
    margin-bottom:12px;
}

.contact-info p{
    color:#516070;
    line-height:1.7;
}

.admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
    gap:20px;
}

.admin-card{
    background:white;
    padding:24px;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(11,31,58,0.08);
}

.admin-card h3{
    color:#0B1F3A;
    margin-bottom:10px;
}

.admin-card strong{
    font-size:30px;
    color:#315C9B;
}

@media(max-width:900px){
    header{
        align-items:flex-start;
        flex-direction:column;
        gap:16px;
    }

    nav{
        width:100%;
    }

    .hero{
        grid-template-columns:1fr;
    }

    .hero-feature-card{
        justify-self:center;
        max-width:390px;
    }

    .hero-feature-card img{
        height:300px;
    }

    .hero-text h1,
    .hero h1{
        font-size:40px;
    }

    .profile-hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .profile-info-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .profile-tags{
        justify-content:center;
    }

    .profile-lower-section{
        grid-template-columns:1fr;
    }

    .detail-card{
        grid-template-columns:1fr;
    }

    .section-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .compact-create-card{
        grid-template-columns:1fr;
    }

    .compact-inline-form{
        grid-template-columns:1fr;
    }

    .books-grid,
    .profile-books-grid{
        grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    }

    .book-card,
    .profile-book-card{
        max-width:none;
    }
}

@media(max-width:700px){
    .section{
        padding:40px 5%;
    }

    .page-title{
        padding:55px 5% 35px;
    }

    .page-title h1{
        font-size:32px;
    }

    .hero{
        padding:55px 5%;
    }

    .hero-feature-card{
        max-width:100%;
    }

    .hero-feature-card img{
        height:260px;
    }

    .profile-hero{
        margin:35px 5%;
        padding:28px;
    }

    .profile-info-grid{
        grid-template-columns:1fr 1fr;
    }

    .profile-photo-large{
        width:160px;
        height:160px;
    }

    .community-card .card-actions{
        flex-direction:column;
    }

    .community-card .card-actions a{
        width:100%;
    }

    .user-search-form{
        flex-direction:column;
    }

    .user-search-form button,
    .user-search-form a{
        width:100%;
        text-align:center;
    }

    .profile-book-main{
        grid-template-columns:70px 1fr;
    }

    .profile-book-main img{
        width:70px;
        height:100px;
    }

    .list-detail-books-grid{
        grid-template-columns:1fr;
    }

    .list-book-small-card{
        grid-template-columns:68px 1fr;
    }

    .list-book-small-card img{
        width:68px;
        height:98px;
    }
}

@media(max-width:520px){
    nav{
        gap:10px;
    }

    nav a{
        font-size:13px;
    }

    .logo{
        font-size:24px;
    }

    .hero-text h1,
    .hero h1{
        font-size:34px;
    }

    .profile-info-grid{
        grid-template-columns:1fr;
    }

    .books-grid,
    .profile-books-grid,
    .community-grid,
    .lists-grid,
    .users-grid{
        grid-template-columns:1fr;
    }

    .basic-form{
        padding:26px;
    }

    .book-card,
    .profile-book-card{
        max-width:none;
    }

    .book-card img{
        height:260px;
    }
}
.home-hero{
    padding:80px 7%;
    background:
        radial-gradient(circle at top right, rgba(49,92,155,0.18), transparent 34%),
        linear-gradient(135deg,#F7F9FC,#E9EEF6);
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:50px;
    align-items:center;
}

.home-hero-text{
    max-width:680px;
}

.hero-mini-title{
    display:inline-block;
    background:white;
    color:#315C9B;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
    box-shadow:0 8px 20px rgba(11,31,58,0.08);
    margin-bottom:18px;
}

.home-hero-text h1{
    color:#0B1F3A;
    font-size:58px;
    line-height:1.05;
    letter-spacing:-2px;
    margin-bottom:22px;
}

.home-hero-text p{
    color:#516070;
    font-size:18px;
    line-height:1.8;
    margin-bottom:28px;
}

.home-feature-book{
    background:white;
    border-radius:36px;
    padding:24px;
    box-shadow:0 24px 60px rgba(11,31,58,0.16);
    display:grid;
    grid-template-columns:210px 1fr;
    gap:24px;
    align-items:center;
    position:relative;
    overflow:visible;
}

.feature-book-cover{
    position:relative;
}

.feature-book-cover::before{
    content:"";
    position:absolute;
    inset:18px -14px -18px 14px;
    background:#0B1F3A;
    border-radius:24px;
    opacity:0.12;
    z-index:0;
}

.feature-book-cover img{
    position:relative;
    z-index:1;
    width:210px;
    height:315px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 18px 38px rgba(11,31,58,0.24);
    transform:rotate(-2deg);
}

.feature-book-info span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    margin-bottom:12px;
}

.feature-book-info h2{
    color:#0B1F3A;
    font-size:30px;
    line-height:1.15;
    margin-bottom:8px;
}

.feature-book-info p{
    color:#516070;
    margin-bottom:14px;
    font-weight:800;
}

.feature-book-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.feature-book-meta strong{
    background:#F7F9FC;
    color:#0B1F3A;
    padding:8px 12px;
    border-radius:14px;
    font-size:13px;
}

.feature-book-info a{
    display:inline-flex;
    background:#0B1F3A;
    color:white;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
}

.feature-book-info a:hover{
    background:#315C9B;
    color:white;
}

.home-feature-book .favorite-star{
    top:18px !important;
    right:18px !important;
}

.home-books-grid{
    grid-template-columns:repeat(auto-fit, minmax(170px, 210px)) !important;
    justify-content:start !important;
}

.mood-modern-section{
    padding-top:35px;
}

.mood-modern-card{
    background:white;
    border-radius:36px;
    padding:34px;
    box-shadow:0 20px 50px rgba(11,31,58,0.1);
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:34px;
    align-items:start;
}

.mood-left h2{
    color:#0B1F3A;
    font-size:36px;
    margin-bottom:12px;
}

.mood-left p{
    color:#516070;
    line-height:1.7;
    margin-bottom:20px;
}

.mood-area{
    display:flex !important;
    gap:12px !important;
    flex-wrap:wrap !important;
    margin-bottom:22px !important;
}

.mood-area button{
    background:#F7F9FC !important;
    color:#0B1F3A !important;
    border:2px solid #DCE5F2 !important;
    padding:12px 18px !important;
    border-radius:999px !important;
    font-weight:900 !important;
    cursor:pointer !important;
}

.mood-area button:hover{
    background:#0B1F3A !important;
    color:white !important;
    border-color:#0B1F3A !important;
}

.mood-result{
    background:#F7F9FC !important;
    padding:22px !important;
    border-radius:24px !important;
    box-shadow:none !important;
    max-width:100% !important;
}

.mood-result span{
    display:inline-block !important;
    background:white !important;
    color:#315C9B !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    font-weight:900 !important;
    font-size:13px !important;
    margin-bottom:10px !important;
}

.mood-result h4{
    color:#0B1F3A !important;
    font-size:24px !important;
    margin-bottom:6px !important;
}

.mood-result p{
    color:#516070 !important;
    line-height:1.6 !important;
    margin-bottom:8px !important;
}

.mood-result a{
    display:inline-flex !important;
    background:#0B1F3A !important;
    color:white !important;
    padding:10px 16px !important;
    border-radius:999px !important;
    font-weight:900 !important;
    margin-top:8px !important;
}

.mood-books{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

.mood-book-card{
    background:#F7F9FC;
    border-radius:24px;
    padding:14px;
    display:grid;
    grid-template-columns:78px 1fr;
    gap:14px;
    color:#0B1F3A;
    position:relative;
    overflow:hidden;
    min-height:145px;
}

.mood-book-card img{
    width:78px;
    height:116px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 10px 24px rgba(11,31,58,0.12);
}

.mood-book-card span{
    display:inline-block;
    background:white;
    color:#315C9B;
    padding:5px 9px;
    border-radius:999px;
    font-weight:900;
    font-size:11px;
    margin-bottom:8px;
}

.mood-book-card h3{
    color:#0B1F3A;
    font-size:16px;
    line-height:1.25;
    margin-bottom:6px;
}

.mood-book-card p{
    color:#516070;
    font-size:13px;
    line-height:1.45;
}

.mood-book-card .favorite-star{
    width:30px !important;
    height:30px !important;
    font-size:18px !important;
    top:10px !important;
    right:10px !important;
}

.category-grid{
    display:grid !important;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap:18px !important;
}

.category-grid a{
    background:white !important;
    color:#0B1F3A !important;
    padding:22px !important;
    border-radius:24px !important;
    text-align:center !important;
    font-weight:900 !important;
    box-shadow:0 10px 24px rgba(11,31,58,0.08) !important;
}

.category-grid a:hover{
    background:#0B1F3A !important;
    color:white !important;
}

@media(max-width:1050px){
    .home-hero{
        grid-template-columns:1fr;
    }

    .home-feature-book{
        max-width:680px;
    }

    .mood-modern-card{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    .home-hero{
        padding:60px 5%;
    }

    .home-hero-text h1{
        font-size:40px;
        letter-spacing:-1px;
    }

    .home-feature-book{
        grid-template-columns:1fr;
        text-align:center;
    }

    .feature-book-cover img{
        margin:0 auto;
        width:190px;
        height:285px;
    }

    .feature-book-meta{
        justify-content:center;
    }

    .mood-books{
        grid-template-columns:1fr;
    }

    .mood-modern-card{
        padding:24px;
    }
}

@media(max-width:520px){
    .home-hero-text h1{
        font-size:34px;
    }

    .home-feature-book{
        padding:20px;
    }

    .feature-book-cover img{
        width:165px;
        height:250px;
    }
}
.hero-showcase{
    background:white;
    border-radius:38px;
    padding:26px;
    box-shadow:0 24px 60px rgba(11,31,58,0.16);
    position:relative;
    overflow:hidden;
}

.hero-showcase::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(49,92,155,0.10);
    right:-60px;
    top:-70px;
}

.hero-showcase-header{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:18px;
}

.hero-showcase-header span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    margin-bottom:8px;
}

.hero-showcase-header h2{
    color:#0B1F3A;
    font-size:24px;
}

.hero-slider-dots{
    display:flex;
    gap:8px;
    margin-top:6px;
}

.hero-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    border:none;
    background:#DCE5F2;
    cursor:pointer;
}

.hero-dot.active-dot{
    background:#0B1F3A;
}

.hero-slider{
    position:relative;
    min-height:360px;
    z-index:2;
}

.hero-slide{
    display:none;
    grid-template-columns:210px 1fr;
    gap:24px;
    align-items:center;
    animation:heroFade 0.35s ease;
}

.hero-slide.active-hero-slide{
    display:grid;
}

@keyframes heroFade{
    from{
        opacity:0;
        transform:translateY(8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero-slide-cover{
    position:relative;
}

.hero-slide-cover::before{
    content:"";
    position:absolute;
    inset:18px -14px -18px 14px;
    background:#0B1F3A;
    border-radius:24px;
    opacity:0.12;
    z-index:0;
}

.hero-slide-cover img{
    position:relative;
    z-index:1;
    width:210px;
    height:315px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 18px 38px rgba(11,31,58,0.24);
    transform:rotate(-2deg);
}

.hero-slide-info span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-weight:900;
    font-size:13px;
    margin-bottom:12px;
}

.hero-slide-info h3{
    color:#0B1F3A;
    font-size:30px;
    line-height:1.15;
    margin-bottom:8px;
}

.hero-slide-info p{
    color:#516070;
    margin-bottom:14px;
    font-weight:800;
}

.hero-slide-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.hero-slide-meta strong{
    background:#F7F9FC;
    color:#0B1F3A;
    padding:8px 12px;
    border-radius:14px;
    font-size:13px;
}

.hero-slide-info a{
    display:inline-flex;
    background:#0B1F3A;
    color:white;
    padding:12px 18px;
    border-radius:999px;
    font-weight:900;
}

.hero-slide-info a:hover{
    background:#315C9B;
    color:white;
}

.hero-slide .favorite-star{
    top:14px !important;
    right:14px !important;
}

.hero-mini-books{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
    margin-top:20px;
}

.hero-mini-books button{
    border:none;
    background:#F7F9FC;
    border-radius:18px;
    padding:10px;
    display:grid;
    grid-template-columns:42px 1fr;
    gap:10px;
    align-items:center;
    cursor:pointer;
    text-align:left;
}

.hero-mini-books button:hover{
    background:#EEF4FF;
}

.hero-mini-books img{
    width:42px;
    height:60px;
    object-fit:cover;
    border-radius:10px;
}

.hero-mini-books span{
    color:#0B1F3A;
    font-weight:900;
    font-size:12px;
    line-height:1.25;
}

.book-filter-panel{
    background:white;
    padding:28px;
    border-radius:32px;
    box-shadow:0 16px 42px rgba(11,31,58,0.10);
}

.filter-title-area{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:24px;
}

.filter-title-area span{
    display:inline-block;
    background:#EEF4FF;
    color:#315C9B;
    padding:7px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    margin-bottom:8px;
}

.filter-title-area h2{
    color:#0B1F3A;
    font-size:30px;
    margin-bottom:8px;
}

.filter-title-area p{
    color:#516070;
    line-height:1.6;
}

.book-filter-form{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 0.8fr 0.8fr auto auto;
    gap:12px;
    align-items:center;
}

.book-filter-form input,
.book-filter-form select{
    width:100%;
    padding:13px 14px;
    border:2px solid #DCE5F2;
    border-radius:16px;
    outline:none;
    background:white;
    color:#0B1F3A;
    font-size:14px;
}

.book-filter-form input:focus,
.book-filter-form select:focus{
    border-color:#315C9B;
}

.book-filter-form button{
    background:#0B1F3A;
    color:white;
    border:none;
    padding:13px 18px;
    border-radius:999px;
    font-weight:900;
    cursor:pointer;
}

.book-filter-form button:hover{
    background:#315C9B;
}

.book-filter-form a{
    background:#EEF4FF;
    color:#0B1F3A;
    padding:13px 18px;
    border-radius:999px;
    font-weight:900;
    text-align:center;
}

.book-filter-form a:hover{
    background:#0B1F3A;
    color:white;
}

.book-results-section{
    padding-top:20px;
}

.book-info small{
    display:inline-block;
    margin-top:8px;
    color:#516070;
    font-size:12px;
    font-weight:900;
}

@media(max-width:1150px){
    .hero-slide{
        grid-template-columns:180px 1fr;
    }

    .hero-slide-cover img{
        width:180px;
        height:270px;
    }

    .hero-slider{
        min-height:320px;
    }

    .book-filter-form{
        grid-template-columns:1fr 1fr 1fr;
    }
}

@media(max-width:760px){
    .hero-showcase{
        padding:22px;
    }

    .hero-slide{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-slide-cover img{
        margin:0 auto;
        width:170px;
        height:255px;
    }

    .hero-slide-meta{
        justify-content:center;
    }

    .hero-mini-books{
        grid-template-columns:1fr;
    }

    .book-filter-form{
        grid-template-columns:1fr;
    }

    .filter-title-area{
        flex-direction:column;
    }
}
.hero-showcase{
    overflow:hidden !important;
}

.hero-slide{
    grid-template-columns:210px 1fr !important;
    align-items:center !important;
}

.hero-slide-cover{
    width:210px !important;
    height:315px !important;
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.hero-slide-cover::before{
    content:"" !important;
    position:absolute !important;
    width:190px !important;
    height:295px !important;
    left:22px !important;
    top:18px !important;
    background:#0B1F3A !important;
    border-radius:24px !important;
    opacity:0.10 !important;
    z-index:0 !important;
}

.hero-slide-cover img{
    position:relative !important;
    z-index:2 !important;
    width:205px !important;
    height:310px !important;
    object-fit:cover !important;
    border-radius:24px !important;
    box-shadow:0 18px 38px rgba(11,31,58,0.24) !important;
    transform:rotate(-2deg) !important;
}

.hero-slide-info{
    padding-left:10px !important;
}

.hero-slider{
    min-height:345px !important;
}

@media(max-width:760px){
    .hero-slide{
        grid-template-columns:1fr !important;
    }

    .hero-slide-cover{
        margin:0 auto !important;
    }

    .hero-slide-info{
        padding-left:0 !important;
    }
}
.hero-showcase{
    padding:22px !important;
    border-radius:32px !important;
}

.hero-showcase-header{
    margin-bottom:10px !important;
}

.hero-showcase-header h2{
    font-size:22px !important;
}

.hero-slider{
    min-height:285px !important;
}

.hero-slide{
    grid-template-columns:170px 1fr !important;
    gap:20px !important;
}

.hero-slide-cover{
    width:170px !important;
    height:255px !important;
}

.hero-slide-cover::before{
    width:155px !important;
    height:235px !important;
    left:18px !important;
    top:15px !important;
    border-radius:20px !important;
}

.hero-slide-cover img{
    width:165px !important;
    height:250px !important;
    border-radius:20px !important;
}

.hero-slide-info h3{
    font-size:25px !important;
    margin-bottom:6px !important;
}

.hero-slide-info p{
    margin-bottom:10px !important;
}

.hero-slide-meta{
    margin-bottom:14px !important;
}

.hero-slide-info a{
    padding:10px 16px !important;
}

.hero-mini-books{
    margin-top:12px !important;
    gap:10px !important;
}

.hero-mini-books button{
    padding:8px !important;
    border-radius:15px !important;
}

.hero-mini-books img{
    width:36px !important;
    height:52px !important;
}

.hero-mini-books span{
    font-size:11px !important;
}

@media(max-width:760px){
    .hero-slider{
        min-height:auto !important;
    }

    .hero-slide-cover{
        width:160px !important;
        height:240px !important;
    }

    .hero-slide-cover img{
        width:155px !important;
        height:235px !important;
    }
}
.home-hero{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(430px, 560px) !important;
    gap:38px !important;
    align-items:center !important;
}

.home-hero-text{
    min-width:0 !important;
}

.home-stats-row{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
    margin-top:28px !important;
    max-width:620px !important;
}

.home-stats-row div{
    background:white !important;
    padding:16px 14px !important;
    border-radius:20px !important;
    box-shadow:0 10px 24px rgba(11,31,58,0.08) !important;
    min-width:0 !important;
}

.home-stats-row strong{
    display:block !important;
    color:#0B1F3A !important;
    font-size:18px !important;
    line-height:1.2 !important;
    margin-bottom:5px !important;
    white-space:nowrap !important;
}

.home-stats-row span{
    display:block !important;
    color:#516070 !important;
    font-size:12px !important;
    line-height:1.35 !important;
}

.hero-showcase{
    width:100% !important;
    max-width:560px !important;
    justify-self:end !important;
}

@media(max-width:1050px){
    .home-hero{
        grid-template-columns:1fr !important;
    }

    .hero-showcase{
        justify-self:start !important;
        max-width:680px !important;
    }
}

@media(max-width:650px){
    .home-stats-row{
        grid-template-columns:1fr !important;
    }
}
/* Mobil menü hizalama düzeltmesi */
@media (max-width: 768px) {

    header,
    .header,
    .navbar {
        width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box;
    }

    nav,
    .nav-links,
    .menu {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 0 !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
    }

    nav a,
    .nav-links a,
    .menu a {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 8px 10px !important;
        font-size: 14px;
        text-align: center;
    }

    .logo {
        margin-left: 0 !important;
    }
}
/* Kitap detay sayfası düzeltme */
.book-detail-container,
.book-detail,
.detail-container,
.kitap-detay,
.kitap-detay-container {
    max-width: 1150px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    display: grid !important;
    grid-template-columns: 300px 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.book-detail img,
.detail-container img,
.kitap-detay img,
.kitap-detay-container img {
    width: 280px !important;
    max-width: 280px !important;
    height: 420px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
}

.book-detail h1,
.detail-container h1,
.kitap-detay h1,
.kitap-detay-container h1 {
    font-size: 36px !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

.book-detail h2,
.detail-container h2,
.kitap-detay h2,
.kitap-detay-container h2 {
    font-size: 26px !important;
}

.book-detail p,
.detail-container p,
.kitap-detay p,
.kitap-detay-container p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .book-detail-container,
    .book-detail,
    .detail-container,
    .kitap-detay,
    .kitap-detay-container {
        display: block !important;
        padding: 18px !important;
        margin: 20px auto !important;
    }

    .book-detail img,
    .detail-container img,
    .kitap-detay img,
    .kitap-detay-container img {
        width: 190px !important;
        max-width: 190px !important;
        height: 285px !important;
        display: block !important;
        margin: 0 auto 20px auto !important;
    }

    .book-detail h1,
    .detail-container h1,
    .kitap-detay h1,
    .kitap-detay-container h1 {
        font-size: 26px !important;
        text-align: center !important;
    }

    .book-detail p,
    .detail-container p,
    .kitap-detay p,
    .kitap-detay-container p {
        font-size: 15px !important;
    }
}
/* ACİL KİTAP DETAY SAYFASI DÜZELTME - SADECE GÖRÜNTÜ */

.book-detail-page.compact-detail {
    max-width: 1250px !important;
    margin: 45px auto !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: 260px 1fr 360px !important;
    gap: 28px !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.book-detail-page.compact-detail .book-detail-cover {
    width: 260px !important;
    max-width: 260px !important;
}

.book-detail-page.compact-detail .book-detail-cover img {
    width: 240px !important;
    height: 360px !important;
    object-fit: cover !important;
    border-radius: 22px !important;
    display: block !important;
    box-shadow: 0 18px 35px rgba(11, 31, 58, 0.20) !important;
}

.book-detail-page.compact-detail .book-detail-info {
    background: #ffffff !important;
    padding: 28px !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 35px rgba(11, 31, 58, 0.08) !important;
}

.book-detail-page.compact-detail .book-detail-info h1 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    color: #0B1F3A !important;
    margin: 0 0 8px 0 !important;
    font-weight: 800 !important;
}

.book-detail-page.compact-detail .book-detail-info h3 {
    font-size: 18px !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
    font-weight: 600 !important;
}

.book-detail-page.compact-detail .detail-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 14px 0 18px 0 !important;
}

.book-detail-page.compact-detail .detail-tags a {
    display: inline-block !important;
    background: #eef4ff !important;
    color: #0B1F3A !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.book-detail-page.compact-detail .detail-description {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    margin: 18px 0 !important;
}

.book-detail-page.compact-detail .db-book-note {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    margin: 18px 0 !important;
}

.book-detail-page.compact-detail .rating-form {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.book-detail-page.compact-detail .rating-form h3 {
    font-size: 20px !important;
    color: #0B1F3A !important;
    margin-bottom: 10px !important;
}

.book-detail-page.compact-detail .rating-form select {
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    margin-right: 8px !important;
}

.book-detail-page.compact-detail .rating-form button,
.book-detail-page.compact-detail .quick-comment button {
    background: #0B1F3A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.book-detail-page.compact-detail .comments-panel {
    background: #ffffff !important;
    padding: 24px !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 35px rgba(11, 31, 58, 0.08) !important;
}

.book-detail-page.compact-detail .comments-panel h2 {
    font-size: 24px !important;
    color: #0B1F3A !important;
    margin: 0 0 16px 0 !important;
}

.book-detail-page.compact-detail .comment-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
}

.book-detail-page.compact-detail .comment-card strong {
    display: block !important;
    color: #0B1F3A !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
}

.book-detail-page.compact-detail .comment-card p {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 6px 0 !important;
}

.book-detail-page.compact-detail .comment-card small {
    color: #64748b !important;
    font-size: 12px !important;
}

.book-detail-page.compact-detail .quick-comment textarea {
    width: 100% !important;
    min-height: 90px !important;
    padding: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    resize: vertical !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.book-detail-page.compact-detail .login-warning {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #9a3412 !important;
    padding: 14px !important;
    border-radius: 16px !important;
    margin-top: 14px !important;
}

.book-detail-page.compact-detail .login-warning a {
    color: #0B1F3A !important;
    font-weight: 800 !important;
}

/* ÖNERİLER BÖLÜMÜNÜ DÜZELT */

.recommendation-section {
    max-width: 1250px !important;
    margin: 40px auto 70px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.recommendation-section .section-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
}

.recommendation-section .section-head h2 {
    font-size: 28px !important;
    color: #0B1F3A !important;
    margin-bottom: 6px !important;
}

.recommendation-section .section-head p {
    color: #64748b !important;
    font-size: 15px !important;
}

.recommendation-section .small-link {
    background: #0B1F3A !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.recommendation-section .book-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
}

.recommendation-section .book-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

.recommendation-section .book-card img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.recommendation-section .book-card h3 {
    font-size: 17px !important;
    color: #0B1F3A !important;
    margin: 14px 14px 6px 14px !important;
}

.recommendation-section .book-card .book-author,
.recommendation-section .book-card .book-type {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 14px 6px 14px !important;
}

.recommendation-section .book-card .book-rating {
    display: inline-block !important;
    margin: 4px 14px 16px 14px !important;
    background: #eef4ff !important;
    color: #0B1F3A !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* TABLET */

@media (max-width: 1050px) {
    .book-detail-page.compact-detail {
        grid-template-columns: 220px 1fr !important;
    }

    .book-detail-page.compact-detail .comments-panel {
        grid-column: 1 / -1 !important;
    }

    .book-detail-page.compact-detail .book-detail-cover {
        width: 220px !important;
        max-width: 220px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover img {
        width: 210px !important;
        height: 315px !important;
    }

    .recommendation-section .book-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* TELEFON */

@media (max-width: 768px) {
    .book-detail-page.compact-detail {
        display: block !important;
        margin: 24px auto !important;
        padding: 0 14px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 18px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover img {
        width: 180px !important;
        height: 270px !important;
    }

    .book-detail-page.compact-detail .book-detail-info,
    .book-detail-page.compact-detail .comments-panel {
        padding: 20px !important;
        border-radius: 20px !important;
        margin-bottom: 18px !important;
    }

    .book-detail-page.compact-detail .book-detail-info h1 {
        font-size: 26px !important;
        text-align: center !important;
    }

    .book-detail-page.compact-detail .book-detail-info h3 {
        text-align: center !important;
        font-size: 16px !important;
    }

    .book-detail-page.compact-detail .detail-tags {
        justify-content: center !important;
    }

    .book-detail-page.compact-detail .detail-description {
        font-size: 15px !important;
    }

    .book-detail-page.compact-detail .rating-form select {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .book-detail-page.compact-detail .rating-form button {
        width: 100% !important;
    }

    .recommendation-section {
        padding: 0 14px !important;
    }

    .recommendation-section .section-head {
        display: block !important;
    }

    .recommendation-section .small-link {
        display: inline-block !important;
        margin-top: 12px !important;
    }

    .recommendation-section .book-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .recommendation-section .book-card img {
        height: 220px !important;
    }
}

@media (max-width: 480px) {
    .recommendation-section .book-grid {
        grid-template-columns: 1fr !important;
    }

    .recommendation-section .book-card img {
        height: 300px !important;
    }
}
/* PROFİL FOTOĞRAFI DÜZENLEME DÜZELTME */

/* Çalışmayan fotoğraf seç/güncelle alanlarını gizle */
.photo-upload-btn,
label[for="profilFotoInput"],
#profilFotoInput,
input[type="file"][name="profil_foto"],
input[type="file"][name="foto"],
input[type="file"][name="profile_photo"],
button[name="foto_guncelle"],
button[name="profil_foto_guncelle"]{
    display:none !important;
}

/* Profil ana fotoğraf alanı */
.profile-photo-area{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    max-width:190px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.profile-photo-form{
    display:none !important;
}

.profile-photo-large{
    width:130px !important;
    height:130px !important;
    max-width:130px !important;
    max-height:130px !important;
    min-width:130px !important;
    min-height:130px !important;
    object-fit:cover !important;
    border-radius:50% !important;
    display:block !important;
    margin:0 auto 14px auto !important;
    border:6px solid #F3F6FB !important;
    box-shadow:0 12px 28px rgba(11,31,58,0.12) !important;
}

/* Profil düzenleme / modal içinde fotoğraf büyümesini engelle */
.profile-edit img,
.profile-edit-modal img,
.profil-duzenle img,
.profil-duzenle-modal img,
.edit-profile img,
.edit-profile-modal img,
.profile-modal img,
.modal-content img{
    width:90px !important;
    height:90px !important;
    max-width:90px !important;
    max-height:90px !important;
    min-width:90px !important;
    min-height:90px !important;
    object-fit:cover !important;
    border-radius:50% !important;
    display:block !important;
    margin:0 auto 14px auto !important;
}

.profile-avatar,
.profil-avatar,
.profile-photo,
.profil-foto{
    width:110px !important;
    height:110px !important;
    max-width:110px !important;
    max-height:110px !important;
    min-width:110px !important;
    min-height:110px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.profile-avatar img,
.profil-avatar img,
.profile-photo img,
.profil-foto img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:50% !important;
    display:block !important;
}

@media(max-width:768px){
    .profile-photo-large{
        width:100px !important;
        height:100px !important;
        max-width:100px !important;
        max-height:100px !important;
        min-width:100px !important;
        min-height:100px !important;
    }

    .profile-edit img,
    .profile-edit-modal img,
    .profil-duzenle img,
    .profil-duzenle-modal img,
    .edit-profile img,
    .edit-profile-modal img,
    .profile-modal img,
    .modal-content img,
    .profile-avatar,
    .profil-avatar,
    .profile-photo,
    .profil-foto{
        width:80px !important;
        height:80px !important;
        max-width:80px !important;
        max-height:80px !important;
        min-width:80px !important;
        min-height:80px !important;
    }
}
/* =========================================================
   SON DÜZELTME - PROFİL FOTOĞRAFI + KİTAP DETAY
   ========================================================= */

/* PROFİL FOTOĞRAFI ALANI */

.profile-photo-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    overflow: visible !important;
}

.profile-photo-large {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
    border: 5px solid #F3F6FB !important;
    box-shadow: 0 10px 24px rgba(11,31,58,0.12) !important;
}

.profile-photo-form {
    width: auto !important;
    max-width: 220px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Gerçek dosya inputu görünmez ama label ile çalışır */
#profilFotoInput {
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

/* Tek görünen buton */
.photo-upload-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0B1F3A !important;
    color: #ffffff !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-align: center !important;
    border: none !important;
    line-height: 1.2 !important;
}

.photo-upload-btn:hover {
    background: #315C9B !important;
    color: #ffffff !important;
}

/* Profil düzenle ekranında fotoğraf büyümesin */
.profile-edit img,
.profile-edit-modal img,
.profil-duzenle img,
.profil-duzenle-modal img,
.edit-profile img,
.edit-profile-modal img,
.profile-modal img,
.modal-content img,
.modal img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
}

/* Modal / profil düzenleme kutusunda taşma olmasın */
.profile-edit,
.profile-edit-modal,
.profil-duzenle,
.profil-duzenle-modal,
.edit-profile,
.edit-profile-modal,
.profile-modal,
.modal-content,
.modal {
    overflow: hidden !important;
}

/* KİTAP DETAY SAYFASI - GÖRÜNTÜYÜ DÜZELT */

.book-detail-page.compact-detail {
    max-width: 1250px !important;
    margin: 45px auto !important;
    padding: 0 24px !important;
    display: grid !important;
    grid-template-columns: 260px 1fr 360px !important;
    gap: 28px !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.book-detail-page.compact-detail .book-detail-cover {
    width: 260px !important;
    max-width: 260px !important;
}

.book-detail-page.compact-detail .book-detail-cover img {
    width: 240px !important;
    height: 360px !important;
    max-width: 240px !important;
    max-height: 360px !important;
    object-fit: cover !important;
    border-radius: 22px !important;
    display: block !important;
    box-shadow: 0 18px 35px rgba(11, 31, 58, 0.20) !important;
}

.book-detail-page.compact-detail .book-detail-info {
    background: #ffffff !important;
    padding: 28px !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 35px rgba(11, 31, 58, 0.08) !important;
}

.book-detail-page.compact-detail .book-detail-info h1 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    color: #0B1F3A !important;
    margin: 0 0 8px 0 !important;
    font-weight: 800 !important;
}

.book-detail-page.compact-detail .book-detail-info h3 {
    font-size: 18px !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
    font-weight: 600 !important;
}

.book-detail-page.compact-detail .detail-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 14px 0 18px 0 !important;
}

.book-detail-page.compact-detail .detail-tags a {
    display: inline-block !important;
    background: #eef4ff !important;
    color: #0B1F3A !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.book-detail-page.compact-detail .detail-description {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    margin: 18px 0 !important;
}

.book-detail-page.compact-detail .db-book-note {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    margin: 18px 0 !important;
}

.book-detail-page.compact-detail .rating-form {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.book-detail-page.compact-detail .rating-form h3 {
    font-size: 20px !important;
    color: #0B1F3A !important;
    margin-bottom: 10px !important;
}

.book-detail-page.compact-detail .rating-form select {
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    margin-right: 8px !important;
}

.book-detail-page.compact-detail .rating-form button,
.book-detail-page.compact-detail .quick-comment button {
    background: #0B1F3A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.book-detail-page.compact-detail .comments-panel {
    background: #ffffff !important;
    padding: 24px !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 35px rgba(11, 31, 58, 0.08) !important;
}

.book-detail-page.compact-detail .comments-panel h2 {
    font-size: 24px !important;
    color: #0B1F3A !important;
    margin: 0 0 16px 0 !important;
}

.book-detail-page.compact-detail .comment-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
}

.book-detail-page.compact-detail .comment-card strong {
    display: block !important;
    color: #0B1F3A !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
}

.book-detail-page.compact-detail .comment-card p {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 6px 0 !important;
}

.book-detail-page.compact-detail .comment-card small {
    color: #64748b !important;
    font-size: 12px !important;
}

.book-detail-page.compact-detail .quick-comment textarea {
    width: 100% !important;
    min-height: 90px !important;
    padding: 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    resize: vertical !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.book-detail-page.compact-detail .login-warning {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #9a3412 !important;
    padding: 14px !important;
    border-radius: 16px !important;
    margin-top: 14px !important;
}

.book-detail-page.compact-detail .login-warning a {
    color: #0B1F3A !important;
    font-weight: 800 !important;
}

/* ÖNERİLER BÖLÜMÜ */

.recommendation-section {
    max-width: 1250px !important;
    margin: 40px auto 70px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.recommendation-section .section-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
}

.recommendation-section .section-head h2 {
    font-size: 28px !important;
    color: #0B1F3A !important;
    margin-bottom: 6px !important;
}

.recommendation-section .section-head p {
    color: #64748b !important;
    font-size: 15px !important;
}

.recommendation-section .small-link {
    background: #0B1F3A !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.recommendation-section .book-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
}

.recommendation-section .book-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    max-width: none !important;
}

.recommendation-section .book-card img {
    width: 100% !important;
    height: 250px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.recommendation-section .book-card h3 {
    font-size: 17px !important;
    color: #0B1F3A !important;
    margin: 14px 14px 6px 14px !important;
}

.recommendation-section .book-card .book-author,
.recommendation-section .book-card .book-type {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 14px 6px 14px !important;
}

.recommendation-section .book-card .book-rating {
    display: inline-block !important;
    margin: 4px 14px 16px 14px !important;
    background: #eef4ff !important;
    color: #0B1F3A !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* TABLET */

@media (max-width: 1050px) {
    .book-detail-page.compact-detail {
        grid-template-columns: 220px 1fr !important;
    }

    .book-detail-page.compact-detail .comments-panel {
        grid-column: 1 / -1 !important;
    }

    .book-detail-page.compact-detail .book-detail-cover {
        width: 220px !important;
        max-width: 220px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover img {
        width: 210px !important;
        height: 315px !important;
    }

    .recommendation-section .book-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* TELEFON */

@media (max-width: 768px) {
    .profile-photo-large {
        width: 110px !important;
        height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
    }

    .profile-edit img,
    .profile-edit-modal img,
    .profil-duzenle img,
    .profil-duzenle-modal img,
    .edit-profile img,
    .edit-profile-modal img,
    .profile-modal img,
    .modal-content img,
    .modal img {
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
    }

    .book-detail-page.compact-detail {
        display: block !important;
        margin: 24px auto !important;
        padding: 0 14px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 18px !important;
    }

    .book-detail-page.compact-detail .book-detail-cover img {
        width: 180px !important;
        height: 270px !important;
    }

    .book-detail-page.compact-detail .book-detail-info,
    .book-detail-page.compact-detail .comments-panel {
        padding: 20px !important;
        border-radius: 20px !important;
        margin-bottom: 18px !important;
    }

    .book-detail-page.compact-detail .book-detail-info h1 {
        font-size: 26px !important;
        text-align: center !important;
    }

    .book-detail-page.compact-detail .book-detail-info h3 {
        text-align: center !important;
        font-size: 16px !important;
    }

    .book-detail-page.compact-detail .detail-tags {
        justify-content: center !important;
    }

    .book-detail-page.compact-detail .detail-description {
        font-size: 15px !important;
    }

    .book-detail-page.compact-detail .rating-form select {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .book-detail-page.compact-detail .rating-form button {
        width: 100% !important;
    }

    .recommendation-section {
        padding: 0 14px !important;
    }

    .recommendation-section .section-head {
        display: block !important;
    }

    .recommendation-section .small-link {
        display: inline-block !important;
        margin-top: 12px !important;
    }

    .recommendation-section .book-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .recommendation-section .book-card img {
        height: 220px !important;
    }
}

@media (max-width: 480px) {
    .recommendation-section .book-grid {
        grid-template-columns: 1fr !important;
    }

    .recommendation-section .book-card img {
        height: 300px !important;
    }
}
/* Profil düzenle sayfasındaki büyük fotoğrafı kesin küçültme */
.edit-profile-photo {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    margin: 25px auto 18px auto !important;
    box-shadow: 0 10px 24px rgba(11,31,58,0.12) !important;
}
/* PROFİL DÜZENLE SAYFASINDA FOTOĞRAFI TAMAMEN GİZLE */

body:has(form) .edit-profile-photo,
body:has(form) .profile-edit img,
body:has(form) .profile-edit-modal img,
body:has(form) .profil-duzenle img,
body:has(form) .profil-duzenle-modal img,
body:has(form) .edit-profile img,
body:has(form) .edit-profile-modal img,
body:has(form) .profile-modal img,
body:has(form) .modal-content img,
body:has(form) form img {
    display: none !important;
}

/* Profil düzenle formunun düzgün görünmesi */

.basic-form {
    max-width: 520px !important;
    margin: 45px auto !important;
    background: #ffffff !important;
    padding: 35px !important;
    border-radius: 28px !important;
    box-shadow: 0 14px 36px rgba(11,31,58,0.10) !important;
}

.basic-form h1,
.basic-form h2 {
    color: #0B1F3A !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    font-size: 30px !important;
}

.basic-form label {
    display: block !important;
    color: #0B1F3A !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
}

.basic-form input,
.basic-form textarea,
.basic-form select {
    width: 100% !important;
    padding: 14px 15px !important;
    border: 2px solid #DCE5F2 !important;
    border-radius: 16px !important;
    outline: none !important;
    margin-bottom: 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

.basic-form input:focus,
.basic-form textarea:focus,
.basic-form select:focus {
    border-color: #315C9B !important;
}

.basic-form button {
    width: 100% !important;
    background: #0B1F3A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    cursor: pointer !important;
}

.basic-form button:hover {
    background: #315C9B !important;
}

@media (max-width: 768px) {
    .basic-form {
        max-width: 92% !important;
        padding: 26px !important;
        margin: 30px auto !important;
    }

    .basic-form h1,
    .basic-form h2 {
        font-size: 26px !important;
    }
}
/* KİTAP DETAY - BENZER ÖNERİLER KART DÜZELTME */

.recommendation-section .book-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.recommendation-section .book-card {
    background: #ffffff !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 30px rgba(11,31,58,0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 430px !important;
    max-width: none !important;
    width: 100% !important;
    text-decoration: none !important;
    color: #0B1F3A !important;
}

.recommendation-section .book-card img {
    width: 100% !important;
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
    object-fit: cover !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.recommendation-section .book-card h3 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: #0B1F3A !important;
    margin: 14px 16px 6px 16px !important;
    padding: 0 !important;
}

.recommendation-section .book-card .book-author,
.recommendation-section .book-card .book-type {
    font-size: 15px !important;
    line-height: 1.35 !important;
    color: #334155 !important;
    margin: 0 16px 5px 16px !important;
    padding: 0 !important;
}

.recommendation-section .book-card .book-rating {
    display: inline-block !important;
    width: fit-content !important;
    background: #eef4ff !important;
    color: #0B1F3A !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin: auto 16px 16px 16px !important;
}

/* Tablet */
@media (max-width: 1050px) {
    .recommendation-section .book-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Telefon */
@media (max-width: 768px) {
    .recommendation-section .book-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .recommendation-section .book-card {
        min-height: 390px !important;
    }

    .recommendation-section .book-card img {
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
    }
}

@media (max-width: 480px) {
    .recommendation-section .book-grid {
        grid-template-columns: 1fr !important;
    }

    .recommendation-section .book-card {
        min-height: auto !important;
    }

    .recommendation-section .book-card img {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
}
