* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; max-width: 100vw; height: 100%; }

body {
    font-family: 'Playfair Display', Georgia, serif;
    background: radial-gradient(circle at top, rgba(255,255,255,0.96) 0%, rgba(247,241,233,0.95) 40%, rgba(233,224,212,0.92) 100%);
    min-height: 100vh;
    height: 100%;
    color: #2f2a27;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
body.rtl { direction: rtl; text-align: right; }
body.rtl .page-cover .logo-area { margin-right: auto; margin-left: 0; }
body.rtl .page-cover .cover-content, body.rtl .robe-details, body.rtl .modal-content, body.rtl .contact-info { text-align: right; }
body.rtl .nav-controls { direction: ltr; }

.flipbook-container {
    perspective: 2400px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
    padding: 20px 25px 100px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.88) 0%, rgba(241,234,224,0.9) 55%, rgba(225,215,202,0.95) 100%);
}

.flipbook {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 90px);
    max-height: 95vh;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    filter: drop-shadow(0 26px 70px rgba(0,0,0,0.16));
}

.flipbook.closed { transform: rotateY(-18deg) scale(0.98); }
.flipbook.opening { animation: bookOpen 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards; }

.flipbook::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 32px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), inset 0 50px 100px rgba(255,255,255,0.18);
}

@keyframes bookOpen {
    0% { transform: rotateY(-15deg); }
    100% { transform: rotateY(0deg); }
}

.flipbook::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.25) 100%);
    transform: rotateY(-90deg);
    transform-origin: right center;
    z-index: 10;
    border-radius: 3px 0 0 3px;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,247,242,0.95) 40%, rgba(245,240,233,0.95) 100%);
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.16), inset 0 0 0 1px rgba(255,255,255,0.8);
    padding: 40px 50px;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.35s ease, box-shadow 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform-origin: left center;
    perspective: 2000px;
    cursor: pointer;
    border: 1px solid rgba(212, 165, 116, 0.12);
}

.page.active {
    opacity: 1;
    z-index: 20;
}

.page:not(.active) {
    pointer-events: none;
    z-index: 1;
}

.page.flipped {
    transform: rotateY(-180deg);
    opacity: 0;
}

.page.left-page {
    transform-origin: right center;
}

.page.right-page {
    transform-origin: left center;
}

.page.turning {
    z-index: 30 !important;
    box-shadow: 0 12px 45px rgba(0,0,0,0.25);
}

.page.turning::after {
    content: '';
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.03) 30%, rgba(255,255,255,0.16) 65%, rgba(255,255,255,0) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.page.turning.left-page::after {
    right: 0;
    left: auto;
    background: linear-gradient(270deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.03) 30%, rgba(255,255,255,0.16) 65%, rgba(255,255,255,0) 100%);
}

.page.turning.right-page::after {
    left: 0;
    right: auto;
    background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.03) 30%, rgba(255,255,255,0.16) 65%, rgba(255,255,255,0) 100%);
}

.page-cover,
.page-back {
    z-index: 20;
}

.page-cover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset -1px 0 2px rgba(0,0,0,0.1);
}

.page-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-10%, -10%); }
    50% { transform: translate(10%, 10%); }
}

.page-cover .cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-cover .cover-content { position: relative; z-index: 2; }

.page-cover .logo-area {
    width: 140px;
    height: 140px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-size: 3.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.page-cover h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-cover .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 80%;
}

.page-cover .cta-btn {
    background: white;
    color: var(--secondary-color);
    border: none;
    padding: 15px 50px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-cover .cta-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-robe { display: flex; flex-direction: column; }

.robe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    flex: 1;
    align-items: start;
}

.robe-gallery { display: flex; flex-direction: column; gap: 12px; }

.main-image {
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, #faf8f5 0%, #f0ebe3 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    touch-action: pan-y;
}
.main-image .gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 12px;
}
.main-image .gallery-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--secondary-color);
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: all 0.25s ease;
}
.main-image .gallery-nav button:hover { transform: translateY(-2px); background: white; }
.main-image .image-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--secondary-color);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: #f9f7f4;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    scroll-snap-align: center;
}
.thumb:hover, .thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    transform: translateY(-1px);
}

.main-image:hover img { transform: scale(1.02); }

.main-image .placeholder-img {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.25;
}

.thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 5px 0; }

.robe-details { display: flex; flex-direction: column; }

.robe-details h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.robe-details .description {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.robe-details .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.robe-details .price span { font-size: 0.9rem; color: #999; font-weight: 400; }
.robe-details .deposit { color: #888; margin-bottom: 20px; font-size: 0.9rem; }

.size-selector { margin-bottom: 20px; }

.size-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.size-selector .sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.size-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.size-btn:hover, .size-btn.selected {
    background: var(--primary-color);
    color: white;
}

.book-btn {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.page-back {
    background: linear-gradient(145deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-back h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 300; }

.page-back p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.contact-info div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.contact-info i { width: 24px; }

.nav-controls {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 12px 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    z-index: 1000;
}

.nav-btn {
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.nav-btn:hover:not(:disabled) {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.45);
    border-color: rgba(255,255,255,0.5);
}

.nav-btn:active:not(:disabled) { transform: scale(0.95); }
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.page-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.page-indicator span { font-size: 1.1rem; }

.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.music-btn:hover { transform: scale(1.1); }

.music-btn.playing { animation: pulse 1.5s infinite; }
.music-toggle {
    padding: 0 16px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.music-toggle:hover { transform: translateY(-1px); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.5); }
    50% { box-shadow: 0 0 0 15px rgba(212, 165, 116, 0); }
}

.volume-slider { width: 0; overflow: hidden; transition: width 0.3s ease; }
.volume-slider.show { width: 100px; }
.volume-slider input { width: 100px; accent-color: var(--primary-color); }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.modal-close:hover { color: var(--primary-color); background: #f5f0e8; }
.modal-content h3 { color: var(--secondary-color); margin-bottom: 25px; text-align: center; font-size: 1.4rem; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e3db;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.phone-input-group { display: flex; gap: 10px; }

.phone-prefix {
    background: #f5f0e8;
    padding: 12px 15px;
    border: 2px solid #e8e3db;
    border-radius: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

.phone-input { flex: 1; }

.calendar-container { margin-bottom: 15px; }

.flatpickr-calendar {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: none;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.flatpickr-day.inRange {
    background: #f5f0e8 !important;
    border-color: #f5f0e8 !important;
}

.flatpickr-day.disabled { color: #ccc !important; cursor: not-allowed; }

.date-display {
    background: #f5f0e8;
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
}

.submit-booking {
    width: 100%;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.booking-notice {
    background: #fff9e6;
    border: 1px solid #ffd700;
    padding: 15px;
    border-radius: 10px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
}

.booking-notice i { color: #ffd700; margin-right: 8px; }

.booking-calendar {
    margin-top: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-cell, .calendar-cell-header {
    border-radius: 12px;
    min-height: 48px;
    padding: 10px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
}

.calendar-cell-header {
    font-weight: 700;
    color: var(--secondary-color);
}

.calendar-cell {
    border: 1px solid #ece6dd;
    background: #fff;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-cell:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
}

.calendar-cell-selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calendar-cell-booked {
    background: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
    cursor: not-allowed;
}

.calendar-cell-today {
    box-shadow: inset 0 0 0 2px rgba(212, 165, 116, 0.35);
}

.calendar-cell-empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-panel {
    border: 1px solid #ece6dd;
    border-radius: 20px;
    padding: 20px;
    background: #fff;
}

.calendar-panel-header {
    gap: 10px;
}

.calendar-panel-header button {
    min-width: 36px;
}

.success-message { text-align: center; display: none; }
.success-message.show { display: block; }
.success-message i { font-size: 4rem; color: #28a745; margin-bottom: 20px; }
.success-message h4 { color: #28a745; margin-bottom: 15px; }
.success-message p { color: #666; line-height: 1.6; }

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(145deg, #28a745, #218838);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 2000;
    font-family: 'Poppins', sans-serif;
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: linear-gradient(145deg, #dc3545, #c82333); box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4); }

.admin-link {
    display: none;
}

@media (max-width: 992px) {
    .flipbook { width: 95%; height: 80vh; max-height: 80vh; padding: 30px 40px; }
    .robe-content { grid-template-columns: 1fr; gap: 20px; }
    .main-image { aspect-ratio: 4/3; }
    .page { padding: 30px 40px; }
    .flipbook::before { left: calc(50% - 10px); }
}

@media (max-width: 768px) {
    .flipbook-container { padding: 8px; }
    .flipbook { width: 98%; height: 75vh; max-height: 75vh; padding: 20px 30px; }
    .page { padding: 20px 30px; border-radius: 8px; overflow-y: auto; }
    .flipbook::before { display: none; }
    .page-cover .logo-area { width: 100px; height: 100px; font-size: 2.5rem; }
    .page-cover h1 { font-size: 1.8rem; letter-spacing: 2px; }
    .page-cover .subtitle { font-size: 0.95rem; }
    .nav-controls { gap: 15px; margin-top: 20px; }
    .nav-btn { width: 45px; height: 45px; font-size: 1rem; }
    .user-btn { padding: 9px 18px; font-size: 0.85rem; }
    .user-controls { gap: 8px; }
}

.page-cover .cta-btn { padding: 12px 35px; font-size: 0.9rem; }
.robe-details .price { font-size: 1.6rem; }
.nav-controls { margin-top: 20px; }
.music-control { bottom: 15px; right: 15px; }
.music-btn { width: 45px; height: 45px; }
.admin-link { padding: 8px 15px; font-size: 0.8rem; }
.modal-content { padding: 25px 20px; }

@media (max-width: 480px) {
    .flipbook-container { padding: 5px; }
    .flipbook { width: 99%; height: 70vh; max-height: 70vh; padding: 15px 20px; }
    .page { padding: 15px 20px; border-radius: 8px; }
    .page-cover .logo-area { width: 80px; height: 80px; font-size: 2rem; margin-bottom: 20px; }
    .page-cover h1 { font-size: 1.5rem; margin-bottom: 10px; }
    .page-cover .subtitle { margin-bottom: 25px; }
    .thumb { width: 50px; height: 50px; min-width: 50px; }
    .nav-btn { width: 44px; height: 44px; font-size: 0.95rem; }
    .book-btn { padding: 12px 20px; font-size: 0.85rem; }
    .user-btn { padding: 8px 14px; font-size: 0.8rem; }
    .nav-controls { gap: 10px; }
    .page-cover .cta-btn { padding: 12px 35px; font-size: 0.9rem; letter-spacing: 1px; }
}

/* User Authentication Styles */
.auth-panel {
    position: fixed;
    top: 18px;
    right: 18px;
    left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 1000;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    transition: padding 0.25s ease, width 0.25s ease;
}

.auth-panel.collapsed {
    padding: 10px 10px;
    gap: 8px;
}

.auth-collapse-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-collapse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.user-controls,
.user-controls.logged-in {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-controls.logged-in { }

.auth-panel.collapsed .user-btn {
    width: 42px;
    min-width: 42px;
    padding: 10px;
    border-radius: 50%;
}

.auth-panel.collapsed .user-btn .btn-text {
    display: none;
}

.auth-panel.collapsed .user-btn .me-1 {
    margin-right: 0;
}

.user-btn {
    padding: 10px 18px;
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.98);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.user-btn .btn-text {
    display: inline;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-btn {
    padding: 10px 22px;
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.98);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.user-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.5);
}

.register-btn {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-tab {
    background: rgba(245,245,245,0.95);
    border: 1px solid #e8e3db;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.auth-tab.active {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.auth-form {
    display: none;
}

.auth-form h3 {
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.user-welcome i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.dashboard-content {
    margin-top: 20px;
}

.bookings-list {
    display: grid;
    gap: 15px;
}

.booking-item {
    border: 1px solid #ece4d8;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.booking-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-active { background: #d4edda; color: #155724; }
.status-returned { background: #d1ecf1; color: #0c5460; }
.status-cancelled { background: #f8d7da; color: #721c24; }
