:root {
    --primary-dark: #2c3e50;
    --primary-blue: #34495e;
    --accent-coral: #ff9a76;
    --accent-mint: #7fcdcd;
    --accent-cream: #fef5e7;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* GPU acceleration for animated elements */
.book-card,
.review-card,
.user-card,
.nav-btn,
.btn-submit,
.modal-content {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
    padding: 30px 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.6s ease-out;
    transition: transform 0.3s ease-in-out;
}

/* Header gizlenme (mobil scroll için) */
.header-hidden {
    transform: translateY(-100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.header-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1em;
    opacity: 0.9;
    font-weight: 300;
}

/* Hamburger Menu - Sadece mobilde görünür */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    margin-left: auto;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    opacity: 0.8;
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

/* Nav overlay - varsayılan olarak gizli */
.nav-overlay {
    display: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-coral);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
}

/* Main Content */
.main {
    min-height: calc(100vh - 400px);
    padding: 40px 0;
}

.view {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.view.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-cream) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--primary-blue);
    font-weight: 300;
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--accent-coral);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

/* Book List */
.book-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.book-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 5px solid var(--accent-coral);
    animation: cardAppear 0.5s ease-out backwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.book-card:nth-child(2) { animation-delay: 0.1s; }
.book-card:nth-child(3) { animation-delay: 0.2s; }
.book-card:nth-child(4) { animation-delay: 0.3s; }
.book-card:nth-child(5) { animation-delay: 0.4s; }
.book-card:nth-child(6) { animation-delay: 0.5s; }

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-mint);
}

.book-header {
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-cream);
    padding-bottom: 15px;
}

.book-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.book-author {
    color: var(--primary-blue);
    font-size: 1.1em;
    font-style: italic;
}

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

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.badge-genre {
    background: var(--accent-mint);
    color: var(--primary-dark);
}

.badge-subgenre {
    background: var(--accent-coral);
    color: white;
}

.badge-genre-small,
.badge-subgenre-small {
    padding: 3px 8px;
    font-size: 0.75em;
    border-radius: 8px;
    display: inline-block;
    margin: 2px;
}

.badge-genre-small {
    background: var(--accent-mint);
    color: var(--primary-dark);
}

.badge-subgenre-small {
    background: var(--accent-coral);
    color: white;
}

.badge-rating {
    background: var(--accent-coral);
    color: white;
}

.book-expectation {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.book-themes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.theme-tag {
    background: var(--accent-cream);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
}

.book-reviewer {
    text-align: right;
    color: var(--primary-blue);
    font-size: 0.9em;
    font-style: italic;
    margin-top: 15px;
}

/* Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.book-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Password input wrapper içindeki input için özel stil */
.password-input-wrapper input {
    padding-right: 45px !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.rating-input input:checked + label {
    background: var(--accent-coral);
    color: white;
    border-color: var(--accent-coral);
}

.rating-input label:hover {
    border-color: var(--accent-coral);
    transform: translateX(5px);
}

/* Yeni tek satır yıldız sistemi */
.rating-stars {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    font-size: 2.5em;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    width: 1em;
    text-align: center;
    line-height: 1;
    padding: 0;
    margin: 0;
}

/* Tooltip for rating number */
.rating-stars label::before {
    content: attr(data-rating);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.35em;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Show tooltip on hover */
.rating-stars label:hover::before {
    opacity: 1;
}

/* Hover effect - Soldan sağa (1,2,3,4,5) sırasıyla */
/* CSS :has() kullanarak önceki yıldızları seçiyoruz */

/* 1. yıldıza hover - sadece 1 sarı */
.rating-stars:has(label[for="star1"]:hover) label[for="star1"] {
    color: #ffd700 !important;
    transform: scale(1.1);
}

/* 2. yıldıza hover - 1 ve 2 sarı */
.rating-stars:has(label[for="star2"]:hover) label[for="star1"],
.rating-stars:has(label[for="star2"]:hover) label[for="star2"] {
    color: #ffd700 !important;
}
.rating-stars:has(label[for="star2"]:hover) label[for="star2"] {
    transform: scale(1.1);
}

/* 3. yıldıza hover - 1, 2 ve 3 sarı */
.rating-stars:has(label[for="star3"]:hover) label[for="star1"],
.rating-stars:has(label[for="star3"]:hover) label[for="star2"],
.rating-stars:has(label[for="star3"]:hover) label[for="star3"] {
    color: #ffd700 !important;
}
.rating-stars:has(label[for="star3"]:hover) label[for="star3"] {
    transform: scale(1.1);
}

/* 4. yıldıza hover - 1, 2, 3 ve 4 sarı */
.rating-stars:has(label[for="star4"]:hover) label[for="star1"],
.rating-stars:has(label[for="star4"]:hover) label[for="star2"],
.rating-stars:has(label[for="star4"]:hover) label[for="star3"],
.rating-stars:has(label[for="star4"]:hover) label[for="star4"] {
    color: #ffd700 !important;
}
.rating-stars:has(label[for="star4"]:hover) label[for="star4"] {
    transform: scale(1.1);
}

/* 5. yıldıza hover - Tüm yıldızlar sarı */
.rating-stars:has(label[for="star5"]:hover) label {
    color: #ffd700 !important;
}
.rating-stars:has(label[for="star5"]:hover) label[for="star5"] {
    transform: scale(1.1);
}

/* Checked stars - :has() ile */
.rating-stars:has(#star1:checked) label[for="star1"] {
    color: #ffd700 !important;
}

.rating-stars:has(#star2:checked) label[for="star1"],
.rating-stars:has(#star2:checked) label[for="star2"] {
    color: #ffd700 !important;
}

.rating-stars:has(#star3:checked) label[for="star1"],
.rating-stars:has(#star3:checked) label[for="star2"],
.rating-stars:has(#star3:checked) label[for="star3"] {
    color: #ffd700 !important;
}

.rating-stars:has(#star4:checked) label[for="star1"],
.rating-stars:has(#star4:checked) label[for="star2"],
.rating-stars:has(#star4:checked) label[for="star3"],
.rating-stars:has(#star4:checked) label[for="star4"] {
    color: #ffd700 !important;
}

.rating-stars:has(#star5:checked) label {
    color: #ffd700 !important;
}

/* Active state */
.rating-stars label:active {
    transform: scale(0.95);
}

/* Optional badge for form labels */
.optional-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #4caf50;
    font-size: 0.75em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 500;
    vertical-align: middle;
}

/* Character counter */
.char-counter {
    text-align: right;
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-top: 5px;
    font-family: var(--font-body);
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.limit-reached {
    color: #f44336;
    font-weight: 600;
}

/* Detailed analysis display */
.review-detailed-analysis {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--accent-coral);
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 8px;
    font-family: var(--font-body);
}

.review-detailed-analysis p:first-child {
    margin-top: 0;
    color: var(--accent-coral);
    font-weight: 600;
    margin-bottom: 10px;
}

.review-detailed-analysis p:last-child {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-primary);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-coral) 0%, #ff7f50 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 154, 118, 0.4);
}

/* Search */
.search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.1em;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

.btn-search {
    background: var(--accent-mint);
    color: var(--primary-dark);
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
    /* ✅ FIX: Modal'ın drag edilmesini ve arkaya gitmesini önle */
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
    pointer-events: auto;
    /* ✅ FIX: Modal içeriğinin drag edilmesini önle ama text seçimini izin ver */
    -webkit-user-drag: none;
    user-select: text;
    /* Modal içeriğine tıklandığında kapanmayı önle */
}

/* ✅ FIX: Input ve textarea'da text selection'ı serbest bırak ve drag'i engelle */
.modal-content input,
.modal-content textarea,
.modal-content select,
.modal-content [contenteditable="true"] {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    -webkit-user-drag: none !important;
    pointer-events: auto !important;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    left: auto;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(52, 73, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    font-size: 0;
    line-height: 0;
}

/* Modern X ikonu - CSS ile çizilmiş */
.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 154, 118, 0.35);
}

.modal-close:hover::before,
.modal-close:hover::after {
    background: white;
    width: 20px;
}

/* Onay Modal Stilleri */
.modal-confirm {
    max-width: 500px;
    text-align: center;
    padding: 40px 30px;
}

.modal-confirm-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-confirm-icon.warning {
    color: #f39c12;
}

.modal-confirm-icon.danger {
    color: #e74c3c;
}

.modal-confirm-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.modal-confirm-message {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 30px;
    white-space: pre-line;
}

.modal-confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-confirm-cancel,
.btn-confirm-ok {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm-cancel {
    background: #95a5a6;
    color: white;
    border: 2px solid #7f8c8d;
}

.btn-confirm-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.btn-confirm-ok {
    color: white;
}

.btn-confirm-ok.success {
    background: #7fcdcd;
    color: var(--primary-dark);
}

.btn-confirm-ok.success:hover {
    background: #6bbdbd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 205, 205, 0.3);
}

.btn-confirm-ok.warning {
    background: #f39c12;
}

.btn-confirm-ok.warning:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.btn-confirm-ok.danger {
    background: #e74c3c;
}

.btn-confirm-ok.danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.modal-book-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section-title {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-coral);
    padding-bottom: 5px;
}

.modal-section-content {
    line-height: 1.7;
    color: var(--text-dark);
}

/* Comments */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid var(--accent-cream);
}

.comments-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.comments-list {
    margin-bottom: 30px;
}

.comment-item {
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-mint);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.comment-text {
    color: var(--text-dark);
    line-height: 1.6;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-input,
.comment-textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Work Sans', sans-serif;
}

.comment-input:focus,
.comment-textarea:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

.btn-comment {
    background: var(--accent-mint);
    color: var(--primary-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-comment:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 30px 0;
    margin-top: 60px;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 40px;
    width: 100%;
}

.footer-container p {
    margin: 0;
    text-align: center;
}

.footer-logo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* TÜRKMENCORP Logo Styles */
.turkmencorp-logo {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 0.91rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    display: inline-block !important;
    white-space: nowrap;
    background: var(--primary-dark) !important;
    padding: 4px 10px;
    border: 1px solid rgba(127, 179, 227, 0.6);
    border-radius: 8px;
    opacity: 1 !important;
    visibility: visible !important;
}

.turkmencorp-logo .turkmen {
    color: #b8d5f0 !important;
}

.turkmencorp-logo .corp {
    color: #8fc3f3 !important;
}

/* ====================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ==================================== */

/* Tablet ve küçük laptop (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .header-text h1 {
        font-size: 2em;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .admin-tabs {
        flex-wrap: wrap;
    }

    .admin-tab {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

/* Mobil (max-width: 768px) */
@media (max-width: 768px) {
    /* Header responsive */
    .header {
        padding: 15px 0;
    }

    .header .container {
        position: relative;
    }

    .header-text h1 {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 0.85em;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .logo-section {
        gap: 12px;
        margin-bottom: 15px;
        justify-content: space-between;
        align-items: center;
    }

    /* Hamburger menü - tablet'te gizli kal */
    .menu-toggle {
        display: none;
    }

    /* Kullanıcı bölümü */
    .user-section {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
        order: 3;
        width: 100%;
    }

    .user-info, .guest-info {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.9em;
        width: 100%;
        justify-content: flex-start;
    }

    .icon-btn {
        font-size: 1.3em;
        padding: 6px;
    }

    .user-name {
        font-size: 0.85em;
        padding: 6px 12px;
    }

    /* Tablet'te normal navigasyon */
    .nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 0.9em;
    }

    /* Hero bölümü */
    .hero {
        padding: 25px 15px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    /* Filtreler */
    .filters {
        flex-direction: column;
        gap: 10px;
    }

    .search-input, .filter-select {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.95em;
    }

    /* Mobilde kitaplık section'ları başlangıçta gizli */
    .library-section {
        display: none;
    }

    /* İstatistik kartlarını daha küçük yap */
    .library-stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .library-stat-card {
        padding: 20px;
    }

    /* Kitap listesi */
    .book-list, .book-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .book-card, .book-catalog-card {
        margin: 0;
    }

    .book-title {
        font-size: 1.4em;
    }

    .book-author {
        font-size: 1em;
    }

    /* Form container */
    .form-container {
        padding: 25px 20px;
        margin: 0 -5px;
    }

    .form-title {
        font-size: 2em;
    }

    /* Modal responsive */
    .modal-content {
        padding: 20px;
        width: 95%;
        max-height: 95vh;
    }

    .modal-close {
        position: absolute !important;
        top: 50px !important;
        right: 20px !important;
        left: auto !important;
        width: 52px;
        height: 52px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border: 2px solid rgba(52, 73, 94, 0.2);
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.2);
    }
    
    .modal-close::before,
    .modal-close::after {
        width: 22px;
        height: 2.5px;
    }
    
    .modal-close:hover {
        transform: rotate(90deg) scale(1.12);
        box-shadow: 0 6px 24px rgba(255, 154, 118, 0.45);
    }
    
    .modal-close:hover::before,
    .modal-close:hover::after {
        width: 24px;
    }

    /* Footer responsive */
    .footer {
        padding: 20px 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        min-height: auto;
    }

    .footer-logo {
        position: static;
        margin-top: 10px;
        transform: none;
    }

    .turkmencorp-logo {
        font-size: 0.64rem;
        padding: 3px 8px;
    }

    .modal-book-title {
        font-size: 2em;
        padding-right: 30px;
    }

    /* Review kartları */
    .review-header {
        flex-direction: column;
        gap: 10px;
    }

    .review-header .review-date {
        align-self: flex-start;
    }

    .review-card {
        padding: 15px;
    }

    .review-book-title {
        font-size: 1.2em;
    }

    /* Kitap detay */
    .book-detail-header {
        flex-direction: column;
        gap: 20px;
    }

    .book-detail-cover,
    .book-detail-cover-placeholder {
        width: 100%;
        max-width: 300px;
        height: 450px;
        margin: 0 auto;
    }

    .book-detail-title {
        font-size: 2em;
    }

    /* Admin panel */
    .admin-container {
        padding: 0 10px;
    }

    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .admin-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .admin-book-card {
        flex-direction: column;
        text-align: center;
    }

    /* Kullanıcı kartları */
    .users-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .user-card-stats {
        gap: 20px;
        padding: 15px 10px;
    }

    .user-stat {
        min-width: 60px;
    }

    /* Profil */
    .profile-header {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
    }

    .profile-avatar-large {
        margin: 0 auto;
    }

    .profile-stats {
        justify-content: center;
        gap: 20px;
    }

    .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .profile-tab {
        flex-shrink: 0;
        padding: 10px 15px;
    }

    /* Yan paneller */
    .side-panel {
        width: 100%;
        right: -100%;
    }

    /* Öneriler */
    .recommendation-book-header {
        flex-direction: column;
    }

    .recommendation-book-cover,
    .recommendation-book-cover-placeholder {
        width: 100%;
        height: 250px;
    }

    /* Kitaplık */
    .library-stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .library-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .library-book-cover,
    .library-book-cover-placeholder {
        height: 220px;
    }

    /* Butonlar */
    .btn-submit, .btn-search, .btn-backup {
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Yedekleme bölümü */
    .backup-section {
        padding: 20px 15px;
    }

    .warning-list li {
        font-size: 0.9em;
        padding-left: 20px;
    }
}

/* Küçük mobil (max-width: 480px) - SADECE TELEFON */
@media (max-width: 480px) {
    /* Hamburger menü aktif et - SADECE TELEFONDA */
    .menu-toggle {
        display: flex !important;
    }

    /* Normal navigasyonu gizle, hamburger menü yap */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        left: 0 !important;
    }

    .nav-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1em;
        text-align: left;
        margin-bottom: 5px;
        border-radius: 8px;
    }
    
    /* Sadece inline style ile display: none olmayanları göster */
    .nav-btn[style*="display: block"],
    .nav-btn[style*="display: flex"] {
        display: block !important;
    }
    
    /* Inline style ile gizlenenleri sakla */
    .nav-btn[style*="display: none"] {
        display: none !important;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block !important;
    }

    .header-text h1 {
        font-size: 1.3em;
    }

    .tagline {
        font-size: 0.75em;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .hero-title {
        font-size: 1.5em;
    }

    .hero-subtitle {
        font-size: 0.9em;
    }

    .hero {
        padding: 20px 10px;
    }

    .form-container {
        padding: 20px 15px;
    }

    .form-title {
        font-size: 1.5em;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-book-title {
        font-size: 1.5em;
    }

    .book-detail-cover,
    .book-detail-cover-placeholder {
        max-width: 100%;
        height: 350px;
    }

    .book-detail-title {
        font-size: 1.5em;
    }

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

    .btn-follow,
    .btn-message,
    .btn-view-profile {
        width: 100%;
    }

    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }

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

    .library-book-cover,
    .library-book-cover-placeholder {
        height: 300px;
    }

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

    .book-cover {
        height: 250px;
    }

    .recommendation-book-cover,
    .recommendation-book-cover-placeholder {
        height: 200px;
    }

    .user-card-stats {
        flex-direction: column;
        gap: 15px;
    }

    .user-stat {
        width: 100%;
    }

    .admin-actions {
        text-align: center;
    }

    .btn-add-book {
        width: 100%;
    }

    /* Font boyutları */
    body {
        font-size: 14px;
    }

    .search-input, .filter-select, input, textarea, select {
        font-size: 16px; /* iOS zoom engellemek için */
    }
}

/* Çok küçük ekranlar (max-width: 360px) */
@media (max-width: 360px) {
    .header-text h1 {
        font-size: 1.1em;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .hero-title {
        font-size: 1.3em;
    }

    .modal-content {
        padding: 10px;
    }

    .form-container {
        padding: 15px 10px;
    }
}

/* Landscape (yatay) mod için özel kurallar */
@media (max-height: 600px) and (orientation: landscape) {
    .header {
        padding: 10px 0;
    }

    .logo-section {
        margin-bottom: 10px;
    }

    .hero {
        padding: 15px 10px;
        margin-bottom: 20px;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .profile-header {
        padding: 20px 15px;
    }
}

/* Touch cihazlar için hover efektlerini devre dışı bırak ve optimizasyonlar */
@media (hover: none) and (pointer: coarse) {
    /* Hover efektlerini kaldır */
    .book-card:hover,
    .review-card:hover,
    .user-card:hover {
        transform: none;
    }

    .nav-btn:hover,
    .btn-submit:hover,
    .btn-search:hover {
        transform: none;
    }

    /* Tıklanabilir alanları büyüt */
    .nav-btn,
    .btn-submit,
    .btn-search,
    .btn-login,
    .btn-register,
    .btn-logout,
    .icon-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Link ve butonlar için aktif durumu */
    .nav-btn:active,
    .btn-submit:active,
    button:active {
        opacity: 0.7;
        transform: scale(0.98);
    }

    /* Scroll performansını artır */
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        -webkit-touch-callout: none;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Input ve textarea için zoom engelleme */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* iOS Safari için özel optimizasyonlar */
@supports (-webkit-touch-callout: none) {
    /* iOS'ta sticky header için */
    .header {
        position: -webkit-sticky;
        position: sticky;
    }

    /* iOS'ta safe area desteği */
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .main-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.btn-logout, .btn-login, .btn-register {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-logout {
    background: rgba(255, 154, 118, 0.3);
    color: var(--text-light);
}

.btn-logout:hover {
    background: var(--accent-coral);
}

.btn-login {
    background: var(--accent-mint);
    color: var(--primary-dark);
}

.btn-login:hover {
    background: var(--accent-coral);
    color: white;
}

.btn-register {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-mint);
}

/* Auth Forms */
.modal-small {
    max-width: 500px;
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Password input wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 45px !important; /* Buton için yer bırak */
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary-blue) !important;
    font-size: 1.2em !important;
    transition: opacity 0.2s ease !important;
    z-index: 999 !important;
    width: 30px !important;
    height: 30px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.password-toggle:hover {
    opacity: 0.7;
}

.password-toggle-icon {
    display: inline-block !important;
    user-select: none !important;
    font-size: 1.2em !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--primary-blue) !important;
}

.password-toggle:focus {
    outline: 2px solid var(--accent-mint);
    outline-offset: 2px;
    border-radius: 3px;
}

.form-note {
    text-align: center;
    color: var(--primary-blue);
    font-size: 0.9em;
}

.form-note a {
    color: var(--accent-coral);
    text-decoration: none;
    font-weight: 600;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Admin Panel */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
}

.admin-actions {
    margin-bottom: 20px;
    text-align: right;
}

.btn-add-book {
    padding: 12px 25px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-book:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
}

/* Profil sayfası üst buton container */
.admin-top-actions {
    margin-bottom: 20px;
    text-align: right;
    padding: 0 20px;
}

.profile-add-book-section {
    margin: 20px 0;
    text-align: right;
    padding: 0 20px;
}

.btn-add-book-top,
.btn-add-book-profile {
    padding: 12px 25px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-book-top:hover,
.btn-add-book-profile:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 154, 118, 0.3);
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.admin-tab {
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.admin-tab:hover {
    color: var(--accent-coral);
}

.admin-tab.active {
    color: var(--primary-dark);
    border-bottom-color: var(--accent-coral);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.user-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.user-card-info {
    flex: 1;
}

.user-card-name {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.user-card-username {
    color: var(--primary-blue);
    font-size: 0.9em;
}

.user-card-date {
    color: var(--primary-blue);
    font-size: 0.85em;
    margin-top: 5px;
}

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

.btn-approve, .btn-reject, .btn-remove, .btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-approve {
    background: var(--accent-mint);
    color: var(--primary-dark);
}

.btn-approve:hover {
    background: #5bb8b8;
    transform: translateY(-2px);
}

.btn-reject, .btn-remove, .btn-delete {
    background: #ff6b6b;
    color: white;
}

.btn-reject:hover, .btn-remove:hover, .btn-delete:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.empty-message {
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.1em;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-pending {
    background: #ffeaa7;
    color: #d63031;
}

.status-approved {
    background: #55efc4;
    color: #00b894;
}

/* Admin Book Card */
.admin-book-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 15px;
}

.admin-book-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.admin-book-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-dark);
}

.admin-book-author {
    color: var(--primary-blue);
    font-style: italic;
}

.admin-book-reviewer {
    color: var(--primary-blue);
    font-size: 0.9em;
    margin-top: 10px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Modal içindeki alert'ler - Modal'ın içinde, modal-content'in üstünde */
.modal .alert-toast {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 500px !important;
    z-index: 10001 !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    display: block !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    border-radius: 10px !important;
    text-align: center !important;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.book-catalog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.book-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.book-cover-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-cream));
    font-size: 6em;
}

.book-info {
    padding: 20px;
}

.book-catalog-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.book-catalog-author {
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 12px;
}

.book-meta-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.book-pages {
    color: var(--primary-blue);
    font-size: 0.9em;
}

.book-rating {
    font-size: 1.1em;
    color: var(--accent-coral);
    margin-bottom: 15px;
}

.review-count {
    font-size: 0.85em;
    color: var(--primary-blue);
}

.btn-view-book {
    width: 100%;
    padding: 10px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-book:hover {
    background: var(--accent-coral);
    color: white;
}

/* Search Input */
.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

/* Book Detail Modal */
.book-detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--accent-cream);
}

.book-detail-cover {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.book-detail-cover-placeholder {
    width: 200px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-cream));
    font-size: 6em;
    border-radius: 10px;
}

.book-detail-info {
    flex: 1;
}

.book-detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.book-detail-author {
    font-size: 1.3em;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 20px;
}

/* Reviews Section */
.reviews-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px var(--shadow);
    border-left: 4px solid var(--accent-coral);
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.review-header > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-header > div strong {
    display: inline-block;
    margin-top: 5px;
}

/* Tıklanabilir kullanıcı adı */
.review-user-name {
    cursor: pointer;
    color: #2c5282;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    text-decoration: none;
}

.review-user-name:hover {
    color: #1a365d;
    text-decoration: underline;
}

.review-header .review-date {
    flex-shrink: 0;
    white-space: nowrap;
}

.review-user-info {
    display: flex;
    gap: 15px;
    flex: 1;
}

.review-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
    flex-shrink: 0;
    font-size: 1.2em;
}

.review-user-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.review-reviewer-info strong {
    color: var(--primary-dark);
    cursor: pointer;
    transition: color 0.2s;
}

.review-reviewer-info strong:hover {
    color: var(--primary-blue);
}

.review-section {
    margin-bottom: 15px;
}

.review-section h4 {
    font-size: 0.95em;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.review-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-view-profile {
    padding: 8px 20px;
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    background: var(--primary-dark);
}

.review-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
}

.review-stat {
    font-size: 0.9em;
    color: var(--primary-blue);
}

.review-book-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    color: var(--primary-dark);
    margin: 0;
    margin-bottom: 5px;
}

.review-book-author {
    color: var(--primary-blue);
    font-style: italic;
    margin: 0;
    margin-bottom: 5px;
}

.review-rating {
    margin-left: 10px;
    color: var(--accent-coral);
    display: inline-block;
}

.review-date {
    color: var(--primary-blue);
    font-size: 0.9em;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 10px 0 15px 0;
    padding: 0;
}

.review-details {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95em;
    margin-top: 15px;
    display: block;
}

.review-details p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.review-details p:last-child {
    margin-bottom: 0;
}

.review-details strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.review-quote {
    font-style: italic;
    color: var(--primary-blue);
    padding: 10px;
    border-left: 3px solid var(--accent-mint);
    background: white;
    margin-top: 10px;
}

.btn-view-more {
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-view-more:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-edit-review {
    margin-top: 10px;
    padding: 10px 20px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-edit-review:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-cancel-recommendation {
    margin-top: 10px;
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.btn-cancel-recommendation:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Kitap Detay Modal'ında Sağ Alt Köşede Sabit Düzenle Butonu */
.btn-edit-review-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-review-fixed:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.btn-edit-review-fixed:active {
    transform: translateY(-1px);
}

/* Admin Book Card */
.admin-book-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-book-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: auto;
}

.btn-edit {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--primary-blue);
    color: white;
}

.btn-edit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.admin-book-cover {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.admin-book-cover-placeholder {
    width: 80px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-cream));
    font-size: 3em;
    border-radius: 6px;
}

.admin-book-info {
    flex: 1;
}

.admin-book-info h3 {
    font-size: 1.3em;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.admin-book-info p {
    color: var(--primary-blue);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .book-detail-header {
        flex-direction: column;
    }

    .book-detail-cover,
    .book-detail-cover-placeholder {
        width: 100%;
        height: 400px;
    }

    .admin-book-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-coral);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-mint);
}

/* Backup Section */
.backup-container {
    max-width: 800px;
    margin: 0 auto;
}

.backup-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px var(--shadow);
}

.backup-section h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3em;
}

.backup-section p {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.btn-backup {
    padding: 12px 25px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-backup:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
}

.warning-section {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.warning-list {
    list-style: none;
    padding: 0;
}

.warning-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.warning-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}
/* === SOSYAL ÖZELLİKLER STİLLERİ === */

/* İkon Butonları */
.icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 8px;
    margin: 0 5px;
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

.badge-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-coral);
    color: white;
    font-size: 0.6em;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Yan Paneller (Bildirim & Mesaj) */
.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px var(--shadow);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.side-panel.active {
    right: 0;
}

.panel-header {
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-dark);
    color: white;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.3em;
}

.panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px 10px;
}

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

/* Bildirimler */
.notification-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--bg-light);
}

.notification-item.unread {
    background: #e3f2fd;
}

.notif-icon {
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-cream);
    border-radius: 50%;
}

.notif-content {
    flex: 1;
}

.notif-text {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.notif-time {
    font-size: 0.85em;
    color: var(--primary-blue);
}

/* Mesajlar */
.message-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.message-item:hover {
    background: var(--bg-light);
}

.message-item.unread {
    background: #fff3e0;
}

.msg-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-dark);
}

.msg-content {
    flex: 1;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.msg-badge {
    background: var(--accent-coral);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
}

.msg-preview {
    font-size: 0.9em;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.msg-time {
    font-size: 0.85em;
    color: var(--primary-blue);
}

/* Konuşma Modalı */
.conversation-header {
    padding: 15px 20px;
    border-bottom: 2px solid var(--border-color);
    background: var(--primary-dark);
    color: white;
}

.conversation-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-light);
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.message-bubble.mine {
    background: var(--accent-mint);
    margin-left: auto;
}

.message-bubble.theirs {
    background: white;
    margin-right: auto;
}

.message-bubble .msg-content {
    margin-bottom: 5px;
}

.message-bubble .msg-time {
    font-size: 0.75em;
    opacity: 0.7;
}

.conversation-footer {
    padding: 15px 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.conversation-footer textarea {
    flex: 1;
    resize: none;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

/* Kullanıcı Kartları */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 10px 0;
}

.user-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-coral), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.4s;
}

.user-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.user-card:hover::before {
    opacity: 1;
}

.user-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.user-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-mint), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    position: relative;
}

.user-card:hover .user-card-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.user-card-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3));
    opacity: 0;
    transition: opacity 0.4s;
}

.user-card:hover .user-card-avatar::after {
    opacity: 1;
}

.user-card-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-card-info {
    flex: 1;
    min-width: 0;
}

.user-card-name {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card:hover .user-card-name {
    color: var(--primary-blue);
}

.user-card-username {
    color: var(--primary-blue);
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.85;
}

.user-card-bio {
    font-size: 0.85em;
    color: var(--text-dark);
    margin-top: 8px;
    overflow: hidden;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.user-card-stats {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 24px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0 -8px;
}

.user-stat {
    flex: 1;
    text-align: center;
    transition: transform 0.3s;
    min-width: 80px;
}

.user-card:hover .user-stat {
    transform: translateY(-2px);
}

.user-stat-value {
    font-size: 1.1em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-coral), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.user-stat-label {
    font-size: 0.7em;
    color: var(--primary-blue);
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.user-card-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    opacity: 0.95;
    transition: opacity 0.3s;
}

.user-card:hover .user-card-actions {
    opacity: 1;
}

.btn-follow,
.btn-message,
.btn-view-profile {
    padding: 10px 12px;
    flex: 1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-follow::before,
.btn-message::before,
.btn-view-profile::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-follow:hover::before,
.btn-message:hover::before,
.btn-view-profile:hover::before {
    width: 300px;
    height: 300px;
}

.btn-follow {
    background: linear-gradient(135deg, var(--accent-mint), #4ecca3);
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(78, 204, 163, 0.3);
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 204, 163, 0.4);
}

.btn-follow.following {
    background: linear-gradient(135deg, var(--primary-blue), #2980b9);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-message {
    background: var(--accent-coral);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 154, 118, 0.3);
}

.btn-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 118, 0.4);
    background: var(--accent-coral);
}

.btn-view-profile {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.btn-view-profile:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1a252f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 73, 94, 0.4);
}

/* Profil Sayfası */
.profile-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-dark);
    border: 4px solid white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-large.profile-avatar-editable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-avatar-large.profile-avatar-editable:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-avatar-large.profile-avatar-editable::after {
    content: '📷';
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-avatar-large.profile-avatar-editable:hover::after {
    opacity: 1;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-initial {
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-dark);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2em;
    margin-bottom: 5px;
}

.profile-username {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 15px;
}

.profile-bio {
    font-size: 1em;
    line-height: 1.6;
    opacity: 0.95;
}

.profile-stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.profile-stats {
    display: flex;
    gap: 30px;
    flex: 1;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-size: 1.8em;
    font-weight: bold;
    display: block;
}

.profile-stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.btn-edit-profile {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-coral) 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 118, 0.4);
}

/* Profil başlık butonları container */
.profile-header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn-add-book-profile {
    padding: 12px 24px;
    background: var(--accent-mint);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-add-book-profile:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 154, 118, 0.3);
}

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

.profile-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.profile-tab.active {
    color: var(--accent-coral);
    border-bottom-color: var(--accent-coral);
}

.profile-content {
    min-height: 400px;
}

/* Öneriler Listesi */
.recommendations-list {
    display: grid;
    gap: 20px;
}

.recommendation-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 15px var(--shadow);
    display: flex;
    gap: 20px;
}

.recommendation-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.recommendation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
}

/* === ÖNERİ SİSTEMİ STİLLERİ === */

.recommendations-grid {
    display: grid;
    gap: 30px;
}

.recommendation-book-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.recommendation-book-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.recommendation-book-cover {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.recommendation-book-cover-placeholder {
    width: 120px;
    height: 180px;
    background: var(--accent-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    border-radius: 8px;
}

.recommendation-book-info {
    flex: 1;
}

.recommendation-book-title {
    font-size: 1.5em;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
}

.recommendation-book-author {
    color: var(--primary-blue);
    font-size: 1.1em;
    margin: 0 0 15px 0;
}

.recommendation-book-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.recommendation-badge {
    background: var(--accent-mint);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-dark);
}

.recommendation-rating {
    font-size: 1.1em;
}

.recommendation-count-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    gap: 15px;
}

.recommendation-count {
    background: var(--accent-cream);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-block;
}

.btn-remove-book-recommendations {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-remove-book-recommendations:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.recommendation-users {
    margin-bottom: 20px;
}

.recommendation-users h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.recommendation-user-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.recommendation-user-item:hover {
    transform: translateX(5px);
}

.recommendation-user-header {
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.recommendation-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.recommendation-user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.recommendation-user-time {
    font-size: 0.85em;
    color: var(--primary-blue);
}

.recommendation-note {
    font-style: italic;
    color: var(--text-dark);
    background: white;
    padding: 12px;
    border-left: 3px solid var(--accent-coral);
    border-radius: 4px;
    margin: 10px 0;
}

.btn-view-review {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.btn-view-review:hover {
    background: var(--primary-dark);
}

.btn-view-book {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-coral), #ff6b6b);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s;
}

.btn-view-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-recommend-book {
    background: linear-gradient(135deg, var(--accent-coral), #ff6b6b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-recommend-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Değerlendirme detay modalı */
.review-detail-content {
    max-height: 500px;
    overflow-y: auto;
}

.review-rating-large {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.review-section {
    margin-bottom: 20px;
}

.review-section h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.review-section p {
    color: var(--text-dark);
    line-height: 1.6;
}

.review-quote-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    font-style: italic;
    color: var(--primary-dark);
    padding: 20px;
    background: var(--accent-cream);
    border-left: 4px solid var(--accent-coral);
    border-radius: 8px;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .recommendation-book-header {
        flex-direction: column;
    }
    
    .recommendation-book-cover,
    .recommendation-book-cover-placeholder {
        width: 100%;
        height: 250px;
    }
}

/* === KİŞİSEL KİTAPLIK STİLLERİ === */

.library-container {
    padding: 20px 0;
}

/* İstatistik kartları */
.library-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.library-stat-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.library-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px var(--shadow);
}

.library-stat-card.read {
    border-top: 4px solid #4caf50;
}

.library-stat-card.reading {
    border-top: 4px solid #2196f3;
}

.library-stat-card.to-read {
    border-top: 4px solid #ff9800;
}

/* Mobilde aktif seçilmiş kart */
.library-stat-card.active-stat {
    background: linear-gradient(135deg, var(--accent-cream) 0%, #fff9f0 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(127, 205, 205, 0.3);
}

.library-stat-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.library-stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.library-stat-label {
    font-size: 1.1em;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Kitaplık bölümleri */
.library-section {
    margin-bottom: 40px;
}

.library-section-title {
    font-size: 1.5em;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-cream);
}

.library-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Kitap kartları */
.library-book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.library-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.library-book-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.library-book-cover-placeholder {
    width: 100%;
    height: 280px;
    background: var(--accent-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

.library-book-info {
    padding: 15px;
}

.library-book-title {
    font-size: 1.1em;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.library-book-author {
    color: var(--primary-blue);
    font-size: 0.95em;
    margin: 0 0 12px 0;
}

.library-book-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 12px;
}

.library-book-status.read {
    background: #e8f5e9;
    color: #2e7d32;
}

.library-book-status.reading {
    background: #e3f2fd;
    color: #1565c0;
}

.library-book-status.to-read {
    background: #fff3e0;
    color: #e65100;
}

.library-book-actions {
    display: flex;
    gap: 8px;
}

.btn-view-book-small,
.btn-edit-status {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-book-small {
    background: var(--primary-blue);
    color: white;
}

.btn-view-book-small:hover {
    background: var(--primary-dark);
}

.btn-edit-status {
    background: var(--accent-cream);
    color: var(--primary-dark);
}

.btn-edit-status:hover {
    background: var(--accent-mint);
}

/* Kitaplık durumu seçici modalı */
.library-book-info {
    text-align: center;
    margin-bottom: 25px;
}

.library-book-info strong {
    font-size: 1.3em;
    color: var(--primary-dark);
}

.library-status-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.library-status-btn {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
    text-align: left;
}

.library-status-btn:hover {
    border-color: var(--primary-blue);
    background: var(--bg-light);
    transform: translateX(5px);
}

.library-status-btn.active {
    border-color: var(--accent-coral);
    background: var(--accent-cream);
    box-shadow: 0 3px 10px rgba(255, 133, 102, 0.2);
}

.btn-remove-library {
    width: 100%;
    padding: 12px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-remove-library:hover {
    background: #d32f2f;
}

/* Kitap detayında kitaplık butonu */
.btn-add-to-library {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: block;
    width: 100%;
}

.btn-add-to-library:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 128, 0.3);
}

.btn-add-to-library.in-library {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

/* Responsive */
@media (max-width: 768px) {
    .library-stats-cards {
        grid-template-columns: 1fr;
    }
    
    .library-books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .library-book-cover,
    .library-book-cover-placeholder {
        height: 220px;
    }
    
    .library-status-options {
        gap: 10px;
    }
    
    .library-status-btn {
        padding: 12px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .library-books-grid {
        grid-template-columns: 1fr;
    }
}


/* === LAZY LOADING STILLERI === */

/* Lazy load edilecek resimler i�in placeholder */
img[data-src] {
    background: var(--bg-light);
    min-height: 100px;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

/* Y�klenmis resimlere fade-in animasyonu */
img.lazy-loaded {
    opacity: 1;
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Y�kleniyor placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* === PROFİL SAYFASI MOBİL RESPONSIVE === */

/* Profil Container - Tüm Cihazlar */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Profil Header */
.profile-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Avatar */
.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-mint);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-coral) 100%);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-initial {
    font-size: 3em;
    color: white;
    font-weight: 600;
}

.profile-avatar-editable:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Profil Info */
.profile-info {
    flex: 1;
    min-width: 250px;
}

.profile-name {
    font-size: 2.5em;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.profile-username {
    font-size: 1.2em;
    color: var(--accent-mint);
    margin-bottom: 15px;
}

.profile-bio {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Profil Stats */
.profile-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.profile-stat-value {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-coral);
}

.profile-stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* Profil Actions */
.profile-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.btn-follow,
.btn-message {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-follow {
    background: var(--accent-mint);
    color: var(--primary-dark);
}

.btn-follow:hover {
    background: var(--accent-coral);
    color: white;
}

.btn-message {
    background: var(--accent-coral);
    color: white;
    border: none;
}

.btn-message:hover {
    background: var(--accent-coral);
    transform: translateY(-2px);
}

/* Profil Tabs */
/* Hamburger menü toggle butonu - masaüstünde gizli */
.profile-tabs-toggle {
    display: none;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-coral) rgba(255, 255, 255, 0.1);
}

.profile-tabs::-webkit-scrollbar {
    height: 8px;
}

.profile-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.profile-tabs::-webkit-scrollbar-thumb {
    background: var(--accent-coral);
    border-radius: 10px;
}

.profile-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.profile-tab {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: var(--text-dark);
    flex-shrink: 0;
}

.profile-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-coral);
}

.profile-tab.active {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    color: white;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-book-info {
    margin-bottom: 15px;
}

.review-book-title {
    font-size: 1.5em;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.review-book-author {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.review-rating {
    font-size: 1.2em;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.2em;
}

/* === TABLET (768px) === */
@media (max-width: 768px) {
    .profile-header {
        padding: 30px 20px;
        gap: 20px;
    }

    .profile-avatar-large {
        width: 120px;
        height: 120px;
    }

    .profile-avatar-initial {
        font-size: 2.5em;
    }

    .profile-name {
        font-size: 2em;
    }

    .profile-username {
        font-size: 1.1em;
    }

    .profile-stats-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-stats {
        gap: 20px;
        width: 100%;
    }

    .profile-stat-value {
        font-size: 1.5em;
    }

    .btn-edit-profile {
        width: 100%;
        justify-content: center;
    }

    .profile-tabs {
        gap: 8px;
    }

    .profile-tab {
        padding: 12px 20px;
        font-size: 0.95em;
    }
}

/* === MOBİL TELEFON (480px) === */
@media (max-width: 480px) {
    .profile-container {
        padding: 10px;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 15px;
        gap: 15px;
    }

    .profile-avatar-large {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .profile-avatar-initial {
        font-size: 2em;
    }

    .profile-info {
        width: 100%;
    }

    .profile-name {
        font-size: 1.6em;
    }

    .profile-username {
        font-size: 1em;
    }

    .profile-bio {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    /* Mobilde istatistikleri gizle */
    .profile-stats {
        display: none !important;
    }

    .profile-actions {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .btn-follow,
    .btn-message {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.9em;
    }

    /* Hamburger menü toggle butonu - mobilde göster */
    .profile-tabs-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 20px;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-coral) 100%);
        border: none;
        border-radius: 12px;
        color: white;
        font-size: 1em;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .profile-tabs-toggle:active {
        transform: scale(0.98);
    }

    .profile-tabs-toggle-icon {
        font-size: 1.2em;
        transition: transform 0.3s ease;
    }

    .profile-tabs-toggle.active .profile-tabs-toggle-icon {
        transform: rotate(180deg);
    }

    /* Sekmeleri mobilde dropdown olarak göster */
    .profile-tabs {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        padding: 15px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: visible;
        padding-bottom: 15px;
    }

    .profile-tabs.mobile-open {
        display: flex !important;
    }

    .profile-tab {
        padding: 15px 20px;
        font-size: 0.95em;
        border-width: 2px;
        text-align: left;
        width: 100%;
        justify-content: flex-start;
        border-radius: 10px;
    }

    .review-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .review-book-title {
        font-size: 1.2em;
    }

    .review-book-author {
        font-size: 0.9em;
    }

    .review-text {
        font-size: 0.95em;
    }

    .empty-message {
        padding: 40px 15px;
        font-size: 1em;
    }
}

/* === ÇOK KÜÇÜK MOBİL (360px) === */
@media (max-width: 360px) {
    .profile-avatar-large {
        width: 80px;
        height: 80px;
    }

    .profile-avatar-initial {
        font-size: 1.6em;
    }

    .profile-name {
        font-size: 1.4em;
    }

    /* İstatistikler zaten gizli */

    .profile-tabs-toggle {
        padding: 12px 16px;
        font-size: 0.9em;
    }

    .profile-tab {
        padding: 12px 16px;
        font-size: 0.9em;
        border-width: 1.5px;
    }

    .profile-tabs {
        padding: 12px;
        gap: 8px;
    }
}

/* ============================================ */
/*            EVENTS (ETKİNLİKLER)             */
/* ============================================ */

.events-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.events-filters .search-input {
    max-width: 400px;
    flex: 1;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow);
}

.event-card.past-event {
    opacity: 0.7;
    background: #f5f5f5;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6em;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.event-separator {
    color: var(--primary);
    font-weight: 400;
    font-size: 1.5em;  /* %50 daha uzun */
    margin: 0 20px;  /* Her iki tarafa 20px boşluk */
    line-height: 1;
}

.event-access-type {
    font-size: 0.75em;
    font-weight: 500;
    color: #666;
    font-family: 'Roboto', sans-serif;
}

.event-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
}

.event-status.status-upcoming {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-status.status-past {
    background: #f5f5f5;
    color: #757575;
}

.event-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.event-date,
.event-creator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95em;
}

.event-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1em;
    white-space: pre-wrap;
    margin-bottom: 16px;
}

/* Etkinlik footer (detaylar ve aksiyon butonları) */
.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.btn-event-details {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-event-details:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 73, 94, 0.3);
}

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

.btn-edit-event,
.btn-delete-event {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit-event {
    background: var(--primary-blue);
    color: white;
}

.btn-edit-event:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-delete-event {
    background: #ff6b6b;
    color: white;
}

.btn-delete-event:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Etkinlik detay modal */
.event-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

.event-detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    flex: 1;
}

.event-detail-meta {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: #666;
    min-width: 140px;
}

.detail-value {
    color: var(--text-dark);
    flex: 1;
}

.event-detail-description {
    margin-top: 24px;
}

.event-detail-description h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.event-detail-description p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05em;
    white-space: pre-wrap;
}

/* Etkinlik boş durum */
.events-list .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .event-card {
        padding: 20px;
    }

    .event-header {
        flex-direction: column;
        gap: 12px;
    }

    .event-title {
        font-size: 1.3em;
    }

    .event-meta {
        flex-direction: column;
        gap: 12px;
    }

    .event-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn-event-details {
        width: 100%;
        text-align: center;
    }

    .event-actions {
        width: 100%;
        justify-content: center;
    }

    .event-detail-header {
        flex-direction: column;
    }

    .event-detail-title {
        font-size: 1.5em;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .detail-label {
        min-width: auto;
    }

    .events-filters {
        flex-direction: column;
        gap: 12px;
    }

    .events-filters .search-input {
        max-width: 100%;
    }

    #addEventBtn {
        width: 100%;
    }
}

/* Kitap Arama - Review Form */
.form-group .book-search-container {
    position: relative;
    width: 100%;
    display: block;
}

.form-group .book-search-container input[type="text"] {
    width: 100%;
    display: block;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.05em;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
}

.form-group .book-search-container input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(127, 205, 205, 0.2);
}

.form-group .book-search-container input[type="text"]::placeholder {
    color: #999;
    font-size: 0.95em;
}

.book-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--accent-mint);
    border-radius: 10px;
    max-height: 350px;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 6px;
}

.book-search-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    gap: 14px;
}

.book-search-item-row:last-child {
    border-bottom: none;
}

.book-search-item-row:hover {
    background: #f8fffe;
    padding-left: 20px;
}

.book-search-cover {
    width: 40px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.book-search-cover-placeholder {
    width: 40px;
    height: 56px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.book-search-item-info {
    flex: 1;
    min-width: 0;
}

.book-search-item-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.05em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-search-item-author {
    font-size: 0.92em;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-select-book {
    background: var(--accent-coral);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 121, 90, 0.3);
}

.btn-select-book:hover {
    background: #e85a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 121, 90, 0.4);
}

.btn-select-book:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 121, 90, 0.3);
}

.selected-book-display {
    display: none;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fffe 0%, #fff8f6 100%);
    border: 2px solid var(--accent-mint);
    border-radius: 10px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(127, 205, 205, 0.15);
}

.selected-book-cover {
    width: 60px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.selected-book-cover-placeholder {
    width: 60px;
    height: 85px;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Eski stil (backward compatibility) */
.selected-book-display img {
    width: 60px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.selected-book-info {
    flex: 1;
}

.selected-book-info h4 {
    font-size: 1.05em;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.selected-book-info p {
    font-size: 0.92em;
    color: #666;
}

.btn-remove-selection {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-remove-selection:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.btn-remove-selection {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.3s ease;
}

.btn-remove-selection:hover {
    background: #ff5252;
}

/* Mobile Responsive - Kitap Arama */
@media (max-width: 768px) {
    .book-search-item-row {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .book-search-cover,
    .book-search-cover-placeholder {
        width: 36px;
        height: 50px;
    }
    
    .book-search-cover-placeholder svg {
        width: 18px;
        height: 18px;
    }
    
    .book-search-item-title {
        font-size: 0.98em;
    }
    
    .book-search-item-author {
        font-size: 0.86em;
    }
    
    .btn-select-book {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .selected-book-display {
        padding: 12px;
        gap: 12px;
    }
    
    .selected-book-cover,
    .selected-book-cover-placeholder {
        width: 50px !important;
        height: 70px !important;
    }
    
    .selected-book-cover-placeholder svg {
        width: 20px;
        height: 20px;
    }
    
    /* Eski stil için de */
    .selected-book-display img,
    .book-placeholder {
        width: 50px !important;
        height: 70px !important;
    }
    
    .selected-book-info h4 {
        font-size: 1em;
    }
    
    .selected-book-info p {
        font-size: 0.88em;
    }
    
    .btn-remove-selection {
        padding: 6px 10px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .book-search-item-row {
        padding: 10px;
        gap: 10px;
    }
    
    .book-search-cover,
    .book-search-cover-placeholder {
        width: 32px;
        height: 45px;
    }
    
    .book-search-cover-placeholder svg {
        width: 16px;
        height: 16px;
    }
    
    .book-search-item-title {
        font-size: 0.95em;
    }
    
    .book-search-item-author {
        font-size: 0.84em;
    }
    
    .book-search-item-info {
        flex: 1;
        min-width: 0;
    }
    
    .btn-select-book {
        padding: 8px 14px;
        font-size: 0.88em;
    }
    
    .selected-book-display {
        padding: 10px;
        gap: 10px;
    }
    
    .selected-book-cover,
    .selected-book-cover-placeholder {
        width: 45px !important;
        height: 63px !important;
    }
    
    .selected-book-cover-placeholder svg {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   CONVERSATION MODAL & INTERACTIONS
   (Twitter-benzeri Cevap/Alıntı Sistemi)
   =================================== */

/* Review Interaction Buttons (Kart altında) */
.review-interaction-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.btn-interaction {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 0.95em;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    vertical-align: middle;
    line-height: 1;
}

.btn-interaction:hover {
    background: var(--accent-cream);
    color: var(--primary-dark);
}

.btn-interaction.liked {
    color: var(--accent-coral);
}

.btn-interaction-count {
    font-weight: 600;
}

.btn-view-more {
    background: var(--accent-coral);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.btn-view-more:hover {
    background: #D32F2F;
    color: white;
}

/* Conversation Modal */
.conversation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.conversation-modal.show {
    opacity: 1;
}

.conversation-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.conversation-modal-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--accent-coral);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 16px 16px 0 0;
}

.conversation-modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
    font-size: 1.8em;
    margin: 0;
}

.conversation-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    left: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0;
    line-height: 0;
    z-index: 10001;
}

/* Modern X ikonu - CSS ile çizilmiş */
.conversation-modal-close::before,
.conversation-modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.conversation-modal-close::before {
    transform: rotate(45deg);
}

.conversation-modal-close::after {
    transform: rotate(-45deg);
}

.conversation-modal-close:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 154, 118, 0.35);
}

.conversation-modal-close:hover::before,
.conversation-modal-close:hover::after {
    background: white;
    width: 20px;
}

/* Original Review in Modal */
.conversation-original-review {
    padding: 20px 25px;
    background: var(--accent-cream);
    border-bottom: 1px solid var(--border-color);
}

.modal-review-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-coral);
}

.modal-review-card.original {
    border-left-color: var(--accent-mint);
}

/* Tab Navigation */
.conversation-tabs {
    display: flex;
    gap: 0;
    background: var(--bg-light);
    padding: 0 25px;
    border-bottom: 2px solid var(--border-color);
}

.conversation-tab {
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    top: 2px;
}

.conversation-tab:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-dark);
}

.conversation-tab.active {
    color: var(--accent-coral);
    border-bottom-color: var(--accent-coral);
    background: white;
}

/* Tab Content */
.conversation-tab-content {
    padding: 20px 25px;
}

.conversation-tab-pane {
    display: none;
}

.conversation-tab-pane.active {
    display: block;
}

/* Reply/Quote Form */
.conversation-reply-form,
.conversation-quote-form {
    margin-bottom: 25px;
    padding: 15px;
    background: var(--accent-cream);
    border-radius: 8px;
}

.conversation-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95em;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.conversation-input:focus {
    outline: none;
    border-color: var(--accent-coral);
}

.conversation-input-small {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9em;
    resize: vertical;
    margin-top: 10px;
}

.conversation-input-small:focus {
    outline: none;
    border-color: var(--accent-mint);
}

.btn-conversation-submit {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-conversation-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-conversation-submit-small {
    margin-top: 8px;
    background: var(--accent-mint);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-conversation-submit-small:hover {
    background: #6bbdbd;
    transform: translateY(-1px);
}

/* Conversation Items */
.conversation-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.conversation-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.conversation-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-coral);
}

.comment-item {
    border-left: 3px solid var(--accent-mint);
}

.quote-item {
    border-left: 3px solid var(--accent-coral);
}

.conversation-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.conversation-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-cream);
}

.conversation-user-info strong {
    font-size: 1em;
    color: var(--primary-dark);
}

.conversation-date {
    font-size: 0.85em;
    color: #999;
    display: block;
    margin-top: 2px;
}

.conversation-item-content {
    margin: 10px 0;
    line-height: 1.6;
    color: var(--text-dark);
}

.conversation-item-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.btn-conversation-action {
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.9em;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-conversation-action:hover {
    background: var(--accent-cream);
    color: var(--primary-dark);
}

.btn-conversation-action.liked {
    color: var(--accent-coral);
    font-weight: 600;
}

.conversation-stat {
    font-size: 0.9em;
    color: #999;
}

/* Quoted Review Embed (Twitter tarzı) */
.quoted-review-embed {
    margin: 15px 0;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
}

.quoted-review-embed .modal-review-card {
    border-left-width: 2px;
    padding: 10px;
    font-size: 0.9em;
}

.quoted-review-embed .review-text {
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Reply Form Container */
.reply-form-container {
    margin-top: 12px;
    padding: 12px;
    background: var(--accent-cream);
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .conversation-modal {
        padding: 10px;
    }
    
    .conversation-modal-content {
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .conversation-modal-header {
        padding: 15px 20px;
    }
    
    .conversation-modal-header h2 {
        font-size: 1.4em;
    }
    
    .conversation-modal-close {
        top: 50px !important;
        right: 20px !important;
        width: 52px !important;
        height: 52px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        border: 2px solid rgba(52, 73, 94, 0.2) !important;
        box-shadow: 0 4px 20px rgba(44, 62, 80, 0.2) !important;
        z-index: 10001 !important;
    }
    
    .conversation-modal-close::before,
    .conversation-modal-close::after {
        width: 22px !important;
        height: 2.5px !important;
        background: var(--primary-dark) !important;
    }
    
    .conversation-modal-close:hover {
        background: var(--accent-coral) !important;
        border-color: var(--accent-coral) !important;
        box-shadow: 0 6px 24px rgba(255, 154, 118, 0.45) !important;
        transform: rotate(90deg) scale(1.12) !important;
    }
    
    .conversation-modal-close:hover::before,
    .conversation-modal-close:hover::after {
        background: white !important;
        width: 24px !important;
    }
    
    .conversation-tab-content {
        padding: 15px 20px;
    }
    
    .conversation-tabs {
        padding: 0 20px;
    }
    
    .conversation-tab {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .conversation-item {
        padding: 12px;
    }
    
    .conversation-avatar {
        width: 35px;
        height: 35px;
    }
    
    .review-interaction-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-interaction {
        font-size: 0.88em;
        padding: 6px 10px;
    }
}

/* ========================================
   INSTAGRAM TARZI BEĞENİ ANİMASYONU
   ======================================== */

/* Uçan kalp animasyonu */
.floating-heart {
    position: fixed;
    pointer-events: none;
    font-size: 30px;
    z-index: 99999 !important;
    animation: floatUpHeart 2s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes floatUpHeart {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    30% {
        transform: translateY(-150px) scale(1.3);
        opacity: 0.9;
    }
    60% {
        transform: translateY(-300px) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-500px) scale(0.8);
        opacity: 0;
    }
}

/* Beğeni butonuna tıklandığında pulse efekti */
.btn-interaction.liked {
    animation: heartPulse 0.3s ease-in-out;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* BKZ Modal Styles */
.bkz-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.bkz-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bkz-modal-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #333;
}

.bkz-hint {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #666;
}

.bkz-search-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.bkz-search-input:focus {
    outline: none;
    border-color: #007bff;
}

.bkz-results {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.bkz-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bkz-category-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bkz-category-title {
    font-weight: bold;
    font-size: 14px;
    color: #555;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.bkz-result-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bkz-result-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bkz-book-item {
    cursor: default;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.bkz-book-item:hover {
    transform: none;
}

.bkz-result-title {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.bkz-book-item .bkz-result-title {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    width: 100%;
}

.bkz-book-item .bkz-result-title:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.bkz-result-count {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.bkz-result-author {
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-block;
}

.bkz-result-author:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
    text-decoration: underline;
}

.bkz-no-result {
    text-align: center;
    padding: 32px 16px;
}

.bkz-no-result p {
    color: #666;
    margin-bottom: 16px;
    font-size: 15px;
}

.bkz-add-anyway-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.bkz-add-anyway-btn:hover {
    background: #0056b3;
}

.bkz-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.bkz-modal-actions .btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.bkz-modal-actions .btn-cancel:hover {
    background: #5a6268;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
