 :root {
            /* Main Colors */
            --primary: #f2a808;
            --primary-light: rgba(242, 168, 8, 0.1);
            --secondary: #1a1a1a;
            --dark: #121212;
            --dark-bg: #121212; /* Alias for --dark */
            --light: #f8f9fa;

            /* Text Colors */
            --text: #e0e0e0;
            --text-primary: #ffffff; /* Primary text, e.g., on profile page */
            --text-secondary: #b3b3b3; /* Subdued text */

            /* Component Colors */
            --card-bg: rgba(30, 30, 30, 0.7);
            --card-hover: rgba(50, 50, 50, 0.7);
            --dark-card: #1e1e1e;
            --dark-border: #2d2d2d;

            /* Status Colors */
            --success: #4caf50;
            --warning: #ff9800;
            --danger: #f44336;
            --info: #2196f3;

            /* Sizing & Effects */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * {
            margin: 0; 
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--dark);
            color: var(--text);
            min-height: 100vh;
            background-image:
                radial-gradient(circle at 25% 25%, rgba(242, 168, 8, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(242, 168, 8, 0.1) 0%, transparent 50%);
            background-attachment: fixed;
        }

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

        /* Header Styles */
        header {
            background-color: rgba(18, 18, 18, 0.9);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(242, 168, 8, 0.2);
        }

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

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .logo {
            height: 50px;
        }

        .main-nav {
            /* This will be hidden on mobile */
        }

        .main-nav ul {
            margin: 0; /* Reset margin */
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        nav a:hover {
            color: var(--primary);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: width 0.3s;
        }

        nav a:hover::after {
            width: 100%;
        }

        .auth-buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            display: inline-block;
            /* Ensures proper box model for <a> tags */
            padding: 10px 24px;
            /* Slightly larger for a better feel */
            border-radius: var(--radius-sm);
            /* Use variable for consistency */
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            /* Removes the underline */
            cursor: pointer;
            transition: var(--transition);
            /* Use variable */
            border: 1px solid transparent;
            /* Prevents layout shift on hover for outline buttons */
        }

        .btn-outline {
            background: transparent;
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-2px);
            /* Add transform for consistency */
            box-shadow: var(--shadow-sm);
            /* Add a subtle shadow */
        }

        .btn-primary {
            background: var(--primary);
            color: var(--dark);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background: #e69f07;
            border-color: #e69f07;
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
            /* Add shadow */
        }

        /* Footer */
        footer {
            background-color: rgba(18, 18, 18, 0.9);
            padding: 60px 0 20px;
            margin-top: 60px;
            border-top: 1px solid rgba(242, 168, 8, 0.2);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-logo {
            height: 40px;
            margin-bottom: 20px;
        }

        .footer-about p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text);
            transition: all 0.3s;
        }

        .social-link:hover {
            background-color: var(--primary);
            color: var(--dark);
            transform: translateY(-3px);
        }

        .footer-links h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .footer-links h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-newsletter input {
            width: 100%;
            padding: 12px 15px;
            background-color: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 4px;
            color: var(--text);
            margin-bottom: 15px;
        }

        .footer-newsletter input:focus {
            outline: none;
            border: 1px solid var(--primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 992px) {

            .hero h1 {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                /* Revert stacking for better mobile nav */
                flex-direction: row;
                gap: 0;
            }

            nav ul {
                gap: 15px;
            }

        }

        /* Mobile Navigation */
        .mobile-nav-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001; /* Above header content */
        }

        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0s 0.3s;
        }

        .mobile-nav-overlay.show {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease;
        }

        .mobile-nav-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            max-width: 80%;
            height: 100%;
            background: var(--dark-card);
            padding: 2rem;
            box-shadow: -5px 0 25px rgba(0,0,0,0.3);
            transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
        }

        .mobile-nav-overlay.show .mobile-nav-menu {
            right: 0;
        }

        .mobile-nav-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 2rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            line-height: 1;
        }

        .mobile-nav-menu ul {
            list-style: none;
            padding: 0;
            margin: 3rem 0 0 0;
        }

        .mobile-nav-menu ul a, .mobile-nav-menu .mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 0;
            color: var(--text-primary);
            text-decoration: none;
            font-size: 1.2rem;
            border-bottom: 1px solid var(--dark-border);
        }

        .mobile-nav-menu .mobile-auth-section {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .mobile-nav-menu hr {
            border-color: var(--dark-border);
            margin: 1.5rem 0;
        }

        @media (max-width: 992px) {
            .main-nav, .auth-buttons {
                display: none;
            }
            .mobile-nav-toggle {
                display: block;
            }
        }

        @media (max-width: 576px) {
        }


/* Flash Messages */
.flash-message {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.flash-message p { margin: 0; }
.flash-message::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.flash-message.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: var(--success);
  border-color: var(--success);
}
.flash-message.success::before { content: "\f058"; } /* check-circle */
.flash-message.danger {
  background-color: rgba(244, 67, 54, 0.2);
  color: var(--danger);
  border-color: var(--danger);
}
.flash-message.danger::before { content: "\f071"; } /* exclamation-triangle */
.flash-message.info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.2);
}


/* Header Auth Buttons Enhancements */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased gap */
}

.nav-icon {
    color: var(--text-secondary);
    font-size: 1.2rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-icon:hover {
    color: var(--primary);
}

.nav-icon .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 50%;
    line-height: 1;
}

.profile-dropdown {
    position: relative;
}

.profile-img-header { 
    width: 40px;
    height: 40px;
    border-radius: 50%;
    aspect-ratio: 1 / 1; /* Ensures the container is always square */
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--dark-border);
    transition: border-color 0.3s;
}

.profile-img-header:hover {
    border-color: var(--primary);
}

.profile-img-header.default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-img-header.default-icon i {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.profile-dropdown .dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 220px;
    z-index: 1010;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.profile-dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu h6 { padding: 0.75rem 1rem; margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
.dropdown-menu h6 strong { color: var(--text-primary); display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.dropdown-menu a:hover { background-color: var(--primary-light); color: var(--primary); }
.dropdown-menu a i { width: 16px; text-align: center; }
.dropdown-menu hr { border: none; border-top: 1px solid var(--dark-border); margin: 0.5rem 0; }
.dropdown-menu .text-danger:hover {
    color: var(--danger);
    background-color: rgba(244, 67, 54, 0.1);
}

/* Avatar Styles for Profile Page */
.user-profile-body .avatar-container {
  position: relative;
}

.user-profile-body .profile-avatar.default-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.user-profile-body .profile-avatar.default-icon i {
  font-size: 3rem;
  color: var(--text-secondary);
}

.user-profile-body .avatar-edit-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: #000;
  border: 2px solid var(--dark-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  padding: 0;
  font-size: 0.9rem;
}

.user-profile-body .avatar-edit-btn:hover {
  transform: scale(1.1);
  background-color: #e69f07;
}

/* Loading Skeleton Animation */
.loading {
  position: relative;
  overflow: hidden;
  background-color: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: transparent !important;
}

.loading > * {
  visibility: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, #3a3a3a 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 150%;
  }
}

/* Flash Messages */
.user-profile-body .flash-message {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-profile-body .flash-message p { margin: 0; }
.user-profile-body .flash-message::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.user-profile-body .flash-message.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: var(--success);
  border-color: var(--success);
}
.user-profile-body .flash-message.success::before { content: "\f058"; } /* check-circle */
.user-profile-body .flash-message.danger {
  background-color: rgba(244, 67, 54, 0.2);
  color: var(--danger);
  border-color: var(--danger);
}
.user-profile-body .flash-message.danger::before { content: "\f071"; } /* exclamation-triangle */

.user-profile-body .form-card .card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-border);
}

.user-profile-body .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Custom File Input */
.user-profile-body .form-group .file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.user-profile-body .form-group input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.user-profile-body .form-group .file-input-label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-body .form-group .file-input-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.user-profile-body .form-group .file-input-label i {
    margin-right: 0.75rem;
}

.user-profile-body .form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--dark-border);
}

/* Media Manager Enhancements */
.user-profile-body .media-item {
  background-color: #2a2a2a;
}

.user-profile-body .media-item img,
.user-profile-body .media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.user-profile-body .media-item:hover img,
.user-profile-body .media-item:hover video {
    transform: scale(1.05);
}

.user-profile-body .media-item .media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.user-profile-body .media-item:hover .media-overlay {
    opacity: 1;
}

.user-profile-body .media-item .media-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.user-profile-body .media-item .media-action-btn:hover {
    background: var(--primary);
    color: #000;
}

.user-profile-body .media-item .media-action-btn.delete:hover {
    background: var(--danger);
    color: white;
}

.user-profile-body .media-item .media-type-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.user-profile-body .media-upload {
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.02);
}

.user-profile-body .media-upload:hover {
  background-color: var(--primary-light);
}

.user-profile-body .media-upload i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.user-profile-body .media-upload:hover i {
    color: var(--primary);
}

.user-profile-body .media-upload p {
  font-size: 0.95rem;
}

.user-profile-body .media-upload p strong {
    color: var(--primary);
}

.user-profile-body .media-upload.highlight {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.user-profile-body .media-grid-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border: 2px dashed var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-align: center;
}

.user-profile-body .media-grid-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.user-profile-body .media-item.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    color: var(--text-secondary);
    gap: 0.5rem;
}

/* Tab Content Styling */
.user-profile-body .tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.user-profile-body .tab-content.active {
  display: block;
}

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

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input[type="radio"]:checked~label {
    color: var(--primary);
}

.review-form-card textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 1rem;
}

.review-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(242, 168, 8, 0.2);
}

#review-form-response .flash-message {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

/* --- Booking Modal Form Styles --- */
.booking-modal input[type="text"],
.booking-modal input[type="datetime-local"],
.booking-modal textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

/* --- Booking Modal Styles --- */
.booking-modal {
    display: none; /* Hidden by default, shown with JS */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.booking-modal-content {
    background-color: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-md);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.booking-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.booking-modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.booking-modal .booking-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.booking-modal .booking-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.booking-modal .booking-header p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.booking-modal .talent-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.booking-modal .talent-summary img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-modal .talent-summary .talent-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.booking-modal .talent-summary .talent-type {
    font-size: 0.9rem;
    color: var(--primary);
}

.booking-modal .booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced gap for a tighter look */
}

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

.booking-modal .booking-form .form-group {
    margin-bottom: 0.5rem;
}

.booking-modal .booking-form .form-group.full-width {
    grid-column: 1 / -1;
}

.booking-modal .booking-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.booking-modal .booking-form .input-with-icon {
    position: relative;
}

.booking-modal .booking-form .input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: color 0.3s;
}

.booking-modal .booking-form .input-with-icon input {
    padding-left: 2.75rem;
}

.booking-modal .booking-form .input-with-icon:focus-within i {
    color: var(--primary);
}

.booking-modal .booking-form textarea {
    padding: 0.75rem;
    resize: vertical;
    min-height: 100px;
}

.booking-modal .booking-form .form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border);
}

.booking-modal .form-response {
    margin-bottom: 1rem;
}

/* Add focus styles for booking modal inputs */
.booking-modal input:focus,
.booking-modal textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(242, 168, 8, 0.2);
}

.booking-modal .btn-primary {
    background: linear-gradient(45deg, var(--primary), #ffc107);
    border: none;
    box-shadow: 0 4px 15px rgba(242, 168, 8, 0.2);
}

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

/* --- Lightbox Styles --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}
.public-profile-header {
    background: linear-gradient(rgba(30, 30, 30, 0.95), rgba(30, 30, 30, 0.85)), url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

.public-meta span {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-actions .btn-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    max-width: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-audio-player {
    display: none;
    width: 80%;
    max-width: 500px;
    padding: 2rem;
    background: var(--dark-card);
    border-radius: var(--radius-md);
}

.lightbox-audio {
    width: 100%;
}

.lightbox-image,
.lightbox-video {
    max-width: 100%;
    max-height: 90vh;
    display: none; /* Hide both by default */
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.public-profile-body .media-item {
    cursor: pointer;
}

.messaging-modal .chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.messaging-modal .chat-welcome-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
}

.messaging-modal .chat-welcome-screen i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.messaging-modal .chat-welcome-screen h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.messaging-modal .chat-active-screen {
    display: none; /* Hidden by default */
    flex-direction: column;
    height: 100%;
}

.messaging-modal .active-chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--dark-card);
}

.messaging-modal .active-chat-header img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.messaging-modal .active-chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.messaging-modal .active-chat-header a {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
}

.messaging-modal .chat-messages {
    padding: 1.5rem;
}

.messaging-modal .chat-input {
    padding: 1rem;
    border-top: 1px solid var(--dark-border);
    background-color: #141414;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.messaging-modal .chat-input textarea {
    flex: 1;
    resize: none;
    max-height: 120px;
    height: 44px; /* Initial height */
    line-height: 1.5;
    padding: 0.6rem 1rem;
}

.messaging-modal .chat-input button {
    height: 44px;
    width: 44px;
    flex-shrink: 0;
    padding: 0;
}

.messaging-modal .contact-item.loading {
    height: 70px;
}

.messaging-modal .message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.chat-empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .messaging-modal {
        padding: 0;
    }
    .messaging-modal-content {
        border-radius: 0;
    }
}
