* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --black: #000000; --white: #ffffff; --gray: #666666; --light-gray: #f5f5f5; --success: #4ade80; --error: #ef4444; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; color: var(--black); background: var(--white); line-height: 1.6; overflow-x: hidden; }
.nav { position: fixed; top: 0; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--black); z-index: 1000; }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 300; letter-spacing: 0.5rem; color: var(--black); text-transform: uppercase; }
.nav-links, .nav-user { display: flex; gap: 3rem; align-items: center; }
.nav-links a, .nav-user a { color: var(--black); text-decoration: none; font-size: 0.85rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; transition: opacity 0.3s; }
.nav-links a:hover, .nav-user a:hover { opacity: 0.6; }
.nav-login { padding: 0.6rem 1.5rem; }
.nav-login:hover { opacity: 0.6; }
.nav-cta { border: 1px solid var(--black); padding: 0.6rem 1.5rem; }
.nav-cta:hover { background: var(--black); color: var(--white); opacity: 1; }
.user-name { font-weight: 300; letter-spacing: 0.05rem; padding: 0.5rem 1rem; background: var(--light-gray); }
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; }
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); }
.modal-content { position: relative; background: var(--white); max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; z-index: 2001; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; font-size: 2rem; font-weight: 200; color: var(--black); cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; }
.modal-close:hover { opacity: 0.6; }
.auth-form { padding: 3rem; }
.auth-form h2 { font-size: 2rem; font-weight: 300; letter-spacing: 0.2rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.auth-subtitle { font-size: 0.9rem; font-weight: 300; color: var(--gray); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.form-group input { width: 100%; padding: 1rem; border: 1px solid var(--black); background: var(--white); font-size: 1rem; font-weight: 300; transition: background 0.3s; }
.form-group input:focus { outline: none; background: var(--light-gray); }
.btn-primary { width: 100%; padding: 1rem; background: var(--black); color: var(--white); border: none; font-size: 0.85rem; font-weight: 300; letter-spacing: 0.15rem; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s; }
.btn-primary:hover { opacity: 0.8; }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; font-weight: 300; color: var(--gray); }
.auth-switch a { color: var(--black); text-decoration: underline; cursor: pointer; }

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.radio-option,
.checkbox-option {
    margin-bottom: 0.75rem;
}

.radio-option:last-child,
.checkbox-option:last-child {
    margin-bottom: 0;
}

.radio-option label,
.checkbox-option label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.radio-option label:hover,
.checkbox-option label:hover {
    background: rgba(0, 0, 0, 0.02);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 12px !important;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.radio-option small,
.checkbox-option small {
    display: block;
    margin-left: 30px;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.4;
}

.form-group-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.form-group-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-group-description {
    display: block;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
}

.message { padding: 1rem; margin-bottom: 1.5rem; font-size: 0.9rem; font-weight: 300; border: 1px solid; display: none; }
.message.active { display: block; }
.message.error { background: rgba(239, 68, 68, 0.1); border-color: var(--error); color: var(--error); }
.message.success { background: rgba(74, 222, 128, 0.1); border-color: var(--success); color: var(--success); }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background-image: url('/images/kove-title.png'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 8rem 2rem 4rem; position: relative; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 1200px; }
.mode-item { font-size: 0.85rem; font-weight: 300; letter-spacing: 0.15rem; text-transform: uppercase; }
.mode-divider { color: var(--gray); font-size: 0.6rem; }
.scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); text-align: center; font-size: 0.75rem; letter-spacing: 0.1rem; text-transform: uppercase; color: var(--gray); }
.scroll-arrow { margin-top: 1rem; font-size: 1.5rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.section-title { font-size: 3rem; font-weight: 300; letter-spacing: 0.3rem; text-transform: uppercase; margin-bottom: 1rem; text-align: center; }
.section-subtitle { font-size: 1rem; font-weight: 300; letter-spacing: 0.1rem; color: var(--gray); text-align: center; margin-bottom: 4rem; }
.spaces { padding: 8rem 0; background: var(--white); }
.spaces-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; margin-top: 4rem; }
.space-card { border: 1px solid var(--black); overflow: hidden; transition: transform 0.3s; }
.space-card:hover { transform: translateY(-5px); }
.space-image { height: 350px; background-size: cover; background-position: center; position: relative; }
.space-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); display: flex; align-items: flex-end; justify-content: flex-start; padding: 2rem; }
.space-label { color: var(--white); font-size: 1.5rem; font-weight: 300; letter-spacing: 0.5rem; text-transform: uppercase; }
.space-content { padding: 2rem; }
.space-content h3 { font-size: 1.5rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 1rem; }
.space-content p { font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: var(--gray); }
.about { padding: 8rem 0; background: var(--light-gray); }
.about-content { max-width: 900px; margin: 0 auto; }
.about-content p { font-size: 1.1rem; font-weight: 300; line-height: 1.8; margin-bottom: 3rem; color: var(--gray); }
.about-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.about-mode { border-left: 1px solid var(--black); padding-left: 1.5rem; }
.about-mode h4 { font-size: 1rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.about-mode p { font-size: 0.9rem; font-weight: 300; line-height: 1.6; color: var(--gray); margin: 0; }
.cta { padding: 8rem 0; background: var(--black); color: var(--white); text-align: center; }
.cta h2 { font-size: 3rem; font-weight: 300; letter-spacing: 0.3rem; text-transform: uppercase; margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; font-weight: 300; letter-spacing: 0.05rem; color: var(--gray); margin-bottom: 3rem; }
.cta-button { background: transparent; border: 1px solid var(--white); color: var(--white); padding: 1rem 3rem; font-size: 0.85rem; font-weight: 300; letter-spacing: 0.15rem; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.cta-button:hover { background: var(--white); color: var(--black); }
.footer { background: var(--white); border-top: 1px solid var(--black); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; font-weight: 300; color: var(--gray); margin-top: 1rem; }
.footer-links { display: flex; gap: 4rem; }
.footer-column h4 { font-size: 0.85rem; font-weight: 300; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 1rem; }
.footer-column a { display: block; color: var(--gray); text-decoration: none; font-size: 0.9rem; font-weight: 300; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-column a:hover { color: var(--black); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--light-gray); }
.footer-bottom p { font-size: 0.8rem; font-weight: 300; color: var(--gray); letter-spacing: 0.05rem; }
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  .logo-link {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .logo-image {
    height: 30px;
    max-height: 30px;
    width: auto;
    margin: 0 auto;
  }
  .nav-links, .nav-user {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .nav-links a, .nav-user a {
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
    padding: 0.4rem 0.8rem;
  }
  .nav-cta, .nav-login {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  .user-name {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  .hero {
    min-height: 100vh;
    padding: 10rem 1rem 3rem;
    background-size: contain;
    background-position: center center;
    margin-top: 5rem;
  }
  .hero-title { font-size: 2rem; letter-spacing: 0.3rem; }
  .hero-one { font-size: 3rem; letter-spacing: 0.5rem; }
  .hero-description {
    font-size: 0.9rem;
  }
  .hero-description br { display: none; }
  .hero-modes { flex-direction: column; gap: 1rem; }
  .mode-divider { display: none; }
  .section-title { font-size: 2rem; letter-spacing: 0.2rem; }
  .spaces-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: 2rem; }
  .container { padding: 0 1.5rem; }
  .auth-form { padding: 2rem; }
}
/* Book button on space cards */
.book-button {
  width: 100%;
  padding: 1rem;
  background: var(--black);
  color: var(--white);
  margin-top: 1rem;
}

/* Booking form styles */
.booking-form { padding: 3rem; }
.readonly-input { background: var(--light-gray); cursor: not-allowed; }
.booking-total { display: flex; justify-content: space-between; padding: 1.5rem; }
.total-amount { font-size: 1.5rem; font-weight: 600; }

/* Payment form styles */
.payment-form { padding: 3rem; }
.payment-summary { background: var(--light-gray); padding: 1.5rem; }
.stripe-card { border: 1px solid var(--black); padding: 1rem; }

/* Bookings list styles */
.modal-wide { max-width: 900px; }
.bookings-list-item { background: var(--light-gray); padding: 1.5rem; margin-bottom: 1rem; }
.booking-item-status { padding: 0.3rem 0.8rem; font-size: 0.75rem; }
.booking-item-status.confirmed { background: var(--success); color: white; }
.booking-item-status.pending { background: var(--gray); color: white; }
.booking-item-status.cancelled { background: var(--error); color: white; }
.cancel-booking-btn {
    border: 1px solid var(--error);
    color: var(--error);
    background: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 1rem;
    transition: all 0.3s;
}

.cancel-booking-btn:hover {
    background: var(--error);
    color: white;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer-logo {
  height: 35px;
  width: auto;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .logo-image {
    height: 30px;
  }

  .footer-logo {
    height: 28px;
  }
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	/* CHANGED: Subtle overlay to ensure scroll text is readable */
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(0px);
}

/* Custom Date Picker */
.date-picker-wrapper {
    position: relative;
}

#bookingDateDisplay {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--black);
    background: var(--white);
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
}

.calendar-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--black);
    margin-top: 0.5rem;
    padding: 1rem;
    z-index: 100;
}

.calendar-popup.active {
    display: block;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-gray);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.2s;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--light-gray);
}

.calendar-day.selected {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.today {
    font-weight: 600;
    border-color: var(--black);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
}

.time-slot {
    padding: 0.8rem 0.5rem;
    border: 1px solid var(--black);
    background: var(--white);
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.time-slot-time {
    font-weight: 400;
}

.time-slot-price {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Disabled = already booked or past */
.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Visual indicators for pricing */
.time-slot.premium {
    border-color: #c9a961;
    background: rgba(201, 169, 97, 0.05);
}

.time-slot.discount {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
}

/* ========================================
   DASHBOARD STYLES - Add to your styles.css
   ======================================== */

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    color: var(--primary, #1a1a1a);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--text-light, #666);
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    color: var(--primary, #1a1a1a);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light, #f0f0f0);
}

/* Spaces Section */
.spaces-section {
    margin-bottom: 4rem;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.space-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.space-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.space-info {
    padding: 1.5rem;
}

.space-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary, #1a1a1a);
    margin-bottom: 0.3rem;
}

.space-type {
    font-size: 0.9rem;
    color: var(--text-light, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.space-description {
    font-size: 0.95rem;
    color: var(--text, #333);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.space-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--light, #f0f0f0);
}

.space-capacity {
    font-size: 0.9rem;
    color: var(--text-light, #666);
}

.space-rate {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary, #1a1a1a);
}

.book-space-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary, #1a1a1a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.book-space-btn:hover:not(:disabled) {
    background: var(--primary-dark, #000);
    transform: translateY(-2px);
}

.book-space-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Bookings Section */
.bookings-section {
    margin-bottom: 4rem;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s;
}

.booking-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.booking-card.cancelled {
    opacity: 0.6;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.booking-space-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary, #1a1a1a);
}

.booking-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.booking-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text, #333);
}

.detail-icon {
    font-size: 1.2rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light, #666);
    font-size: 1.1rem;
}

/* Booking Modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light, #f0f0f0);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--primary, #1a1a1a);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pricing-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.pricing-row.total {
    border-top: 2px solid #dee2e6;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Booking Detail Modal */
.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.5rem;
    color: var(--primary, #1a1a1a);
    margin-bottom: 1.5rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item label {
    font-size: 0.85rem;
    color: var(--text-light, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item > div {
    font-size: 1rem;
    color: var(--text, #333);
    font-weight: 500;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light, #f0f0f0);
}

.modal-actions button {
    flex: 1;
}

.btn-danger {
    background: #dc3545;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #c82333;
}

/* User Info in Nav */
.user-info {
    padding: 0.5rem 1rem;
    background: var(--light, #f0f0f0);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text, #333);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 5rem 1rem 1rem;
    }

    .dashboard-header {
        padding: 1.5rem 0;
    }

    .dashboard-header h1 {
        font-size: 1.8rem;
    }

    .dashboard-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .spaces-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .space-card {
        padding: 1.25rem;
    }

    .space-name {
        font-size: 1.1rem;
    }

    .space-price {
        font-size: 1rem;
    }

    .bookings-list {
        gap: 1rem;
    }

    .booking-card {
        padding: 1.25rem;
    }

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

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

    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-actions {
        flex-direction: column;
    }

    /* Calendar mobile improvements */
    .calendar-grid {
        gap: 0.25rem;
    }

    .calendar-day {
        font-size: 0.8rem;
    }

    .calendar-day-header {
        font-size: 0.65rem;
        padding: 0.3rem 0;
    }

    .calendar-nav-btn {
        font-size: 1.2rem;
        padding: 0.25rem;
    }

    /* Time slots mobile improvements */
    .time-slots-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.5rem;
        padding: 0.75rem;
        max-height: 250px;
    }

    .time-slot {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    /* Booking summary mobile */
    .pricing-summary {
        padding: 1rem;
    }

    .pricing-row {
        font-size: 0.9rem;
    }

    .pricing-total .total-amount {
        font-size: 1.3rem;
    }

    /* Buttons mobile */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   CALENDAR PICKER
   ============================================ */

.calendar-container {
    margin-bottom: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.calendar-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s;
    color: var(--text, #333);
}

.calendar-nav-btn:hover {
    background: var(--light, #f0f0f0);
    border-radius: 4px;
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: #999;
}

.calendar-nav-btn:disabled:hover {
    background: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray, #666);
    padding: 0.5rem 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.calendar-day:not(.disabled):not(.other-month):hover {
    background: var(--light, #f0f0f0);
    border-color: var(--primary, #000);
}

.calendar-day.disabled {
    color: var(--gray, #999);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day.other-month {
    color: var(--gray, #ccc);
    cursor: default;
}

.calendar-day.today {
    font-weight: 600;
    border-color: var(--primary, #000);
}

.calendar-day.selected {
    background: var(--primary, #000);
    color: white;
    font-weight: 600;
}

/* ============================================
   TIME SLOT PICKER
   ============================================ */

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--light, #f9f9f9);
    border-radius: 8px;
}

.time-slot {
    padding: 0.75rem;
    border: 2px solid var(--border, #ddd);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.time-slot:hover:not(.occupied):not(.disabled) {
    border-color: var(--primary, #000);
    background: var(--light, #f0f0f0);
}

.time-slot.selected {
    background: var(--primary, #000);
    color: white;
    border-color: var(--primary, #000);
}

.time-slot.occupied {
    background: #fee;
    border-color: #fcc;
    color: #c33;
    cursor: not-allowed;
    position: relative;
}

.time-slot.occupied::after {
    content: '✕';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 0.7rem;
    color: #c33;
}

.time-slot.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.text-muted {
    color: var(--gray, #666);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Scrollbar styling for time slots */
.time-slots-container::-webkit-scrollbar {
    width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
    background: var(--light, #f0f0f0);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
    background: var(--gray, #999);
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb:hover {
    background: var(--text, #666);
}

/* ========================================
   IMPROVED BOOKING MODAL STYLES
   Add to your styles.css or replace existing modal styles
   ======================================== */

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: -1;
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

.modal-booking {
    max-width: 700px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.modal-close:hover {
    background: #1a1a1a;
    color: white;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 2.5rem;
}

/* Booking Space Header */
.booking-space-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.space-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-space-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.booking-space-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4b5563 100%);
    border-radius: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s;
    font-family: inherit;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-group input[readonly] {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Pricing Summary */
.pricing-summary {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 2rem 0;
    border: 2px solid #e5e7eb;
}

.pricing-summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.pricing-value {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.pricing-divider {
    height: 1px;
    background: #d1d5db;
    margin: 0.5rem 0;
}

.pricing-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid #d1d5db;
}

.pricing-total .pricing-label {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.pricing-total .total-amount {
    font-size: 1.75rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--black);
    border: 1px solid var(--black);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Message Styles */
.message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: none;
}

.message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-width: 100%;
        border-radius: 16px;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-space-header {
        padding: 1.25rem;
    }

    .space-icon {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }

    .booking-space-name {
        font-size: 1.1rem;
    }

    .pricing-summary {
        padding: 1.25rem;
    }

    .pricing-total .total-amount {
        font-size: 1.5rem;
    }
}

/* Smooth scrolling for modal */
.modal-content {
    scroll-behavior: smooth;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Payment error messages */
.error-message {
    color: #fa755a;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

/* Profile Settings Section */
.settings-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
}

.settings-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.settings-card .form-group {
    margin-bottom: 24px;
}

.settings-card label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.settings-card input[type="text"],
.settings-card input[type="email"],
.settings-card input[type="tel"],
.settings-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.settings-card input[type="text"]:focus,
.settings-card input[type="email"]:focus,
.settings-card input[type="tel"]:focus {
    outline: none;
    border-color: #000;
}

.settings-card input[type="text"]:disabled,
.settings-card input[type="email"]:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.settings-card .btn-primary {
    width: 100%;
    padding: 14px;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.settings-card .btn-primary:hover {
    background: #333;
}

.settings-card .btn-primary:active {
    transform: translateY(1px);
}

.settings-card small {
    color: #666;
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .settings-section {
        padding: 0 15px;
    }

    .settings-card {
        padding: 20px;
    }
}
