/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #006600;
    min-height: 100vh;
    color: #333;
}

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

/* Login Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.login-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.login-header p {
    color: #666;
    font-size: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Main App Styles */
.main-app {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.app-header {
    background: #004400;
    color: white;
    padding: 20px 30px;
}

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

.header-content h1 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation Styles */
.nav-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.nav-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-tab.active {
    background: white;
    color: #667eea;
    border-bottom: 3px solid #667eea;
}

.nav-tab:hover:not(.active) {
    background: #e9ecef;
    color: #495057;
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown {
    display: none;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.mobile-nav-toggle {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
    background: #e9ecef;
}

.mobile-nav-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.mobile-nav-arrow.rotated {
    transform: rotate(180deg);
}

.mobile-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-nav-menu.open {
    max-height: 400px;
    opacity: 1;
}

.mobile-nav-item {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    border-bottom: 1px solid #f8f9fa;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-item:hover {
    background: #f8f9fa;
    color: #495057;
}

.mobile-nav-item.active {
    background: #667eea;
    color: white;
}

.mobile-nav-item.active:hover {
    background: #5a6fd8;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 30px;
    min-height: 500px;
}

.tab-content.active {
    display: block;
}

/* About Tab Styles */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    font-family: 'Freehand', cursive;
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-family: 'Annie Use Your Telescope', cursive;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.house-image {
    margin: 30px 0;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.house-image.admin-mode:hover {
    background-color: #f8f9fa;
}

.house-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.edit-image-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.house-image.admin-mode:hover .edit-image-btn {
    opacity: 1;
}

.edit-image-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

/* Editable Text Styles */
.editable-text-container {
    position: relative;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.editable-text-container.admin-mode:hover {
    background-color: #f8f9fa;
}

.edit-text-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.editable-text-container.admin-mode:hover .edit-text-btn {
    opacity: 1;
}

.edit-text-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

.edit-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    min-height: 150px;
}

.edit-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.about-content {
    text-align: left;
    margin: 40px 0;
}

.about-content h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin: 30px 0 20px 0;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
}

.info-card h4 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h4 i {
    font-size: 1.1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.info-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

.map-section {
    margin: 50px 0;
    text-align: center;
}

.map-section h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.map-container {
    margin: 20px 0;
    text-align: center;
}

.map-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 500px;
    object-fit: cover;
}

.map-description {
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.action-buttons .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design for About Tab */
@media (max-width: 768px) {
    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Calendar Styles */
.calendar-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.calendar-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-day {
    background: white;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.other-month {
    color: #adb5bd;
    background: #f8f9fa;
}

.calendar-day.available {
    background: #d4edda;
    color: #155724;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" fill="%23155724"/></svg>'), auto;
}

.calendar-day.available:hover {
    background: #c3e6cb;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" fill="%23155724"/></svg>'), auto;
}

.calendar-day.booked {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
}

.calendar-day.blocked {
    background: #dc3545;
    color: white;
    cursor: not-allowed;
}

.calendar-day.pending {
    background: #ffeaa7;
    color: #d63031;
    cursor: not-allowed;
}

.calendar-day-header {
    background: #667eea;
    color: white;
    font-weight: 600;
    padding: 10px;
    text-align: center;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available {
    background: #d4edda;
}

.legend-color.booked {
    background: #f8d7da;
}

.legend-color.blocked {
    background: #dc3545;
}

.legend-color.pending {
    background: #ffeaa7;
}

/* Booking Form Styles */
.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form-container h2 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

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

.admin-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.admin-section h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.bookings-list {
    display: grid;
    gap: 15px;
}

.booking-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-item.blocked-booking {
    border-left: 4px solid #ffc107;
    background: #fff9e6;
}

.booking-info {
    flex: 1;
}

.booking-dates {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.booking-user {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.booking-comment {
    color: #495057;
    font-style: italic;
    font-size: 0.9rem;
}

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

/* Messages */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #f5c6cb;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #c3e6cb;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.loading-spinner i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-tabs {
        display: none; /* Hide regular tabs on mobile */
    }
    
    .mobile-nav-dropdown {
        display: block; /* Show mobile dropdown on mobile */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        font-size: 0.9rem;
    }
    
    .calendar-day {
        padding: 10px 5px;
        min-height: 50px;
    }
    
    .booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .booking-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .calendar-legend {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .calendar-header h2 {
        font-size: 1.4rem;
    }
    
    .calendar-day {
        padding: 8px 4px;
        min-height: 45px;
        font-size: 0.8rem;
    }
}

/* Notification Bell Styles */
.notification-bell {
    position: relative;
    margin-right: 15px;
}

.btn-icon {
    background: none;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #667eea;
    font-size: 1.2rem;
}

.btn-icon:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #667eea;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding-bottom: 30px;
    /* Hide scrollbar for webkit browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-body::-webkit-scrollbar {
    display: none; /* WebKit browsers */
}

/* Enhanced touch scrolling for mobile */
.modal-body {
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    overscroll-behavior: contain; /* Prevent scroll chaining */
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background: #f8f9fa;
}

/* Notification Content Styles */
.notification-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.notification-details h4 {
    color: #667eea;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-details h4 i {
    font-size: 1.1rem;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-label {
    font-weight: 600;
    color: #555;
    min-width: 100px;
}

.notification-value {
    color: #333;
    text-align: right;
    flex: 1;
}

.notification-comment {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-style: italic;
}

.notification-comment::before {
    content: '"';
    font-size: 1.5rem;
    color: #2196f3;
    font-weight: bold;
}

.notification-comment::after {
    content: '"';
    font-size: 1.5rem;
    color: #2196f3;
    font-weight: bold;
}

/* Booking Form Styles */
.booking-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
}

/* Field validation styles */
.field-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Booking Success Modal Styles */
#bookingSuccessModal .success-message {
    text-align: center;
    padding: 20px;
}

#bookingSuccessModal .success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

#bookingSuccessModal .success-message p {
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.booking-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #1976d2;
    font-style: italic;
}


.booking-guest {
    font-weight: 600;
    color: #495057;
    margin: 5px 0;
}

.booking-contact {
    color: #6c757d;
    margin: 5px 0;
}

.booking-time {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

.pending-booking {
    border-left: 4px solid #ffc107;
    background: #fff3cd;
}

.approved-booking {
    border-left: 4px solid #28a745;
    background: #d4edda;
}

/* Password Management Styles */
.password-subsection {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.password-subsection h4 {
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-subsection h4 i {
    color: #667eea;
}

.booking-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 85vh; /* More height on mobile */
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .modal-body {
        padding-bottom: 25px; /* Extra bottom padding on mobile */
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Gallery Styles */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-container h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-container h2 i {
    color: #667eea;
}

.gallery-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.gallery-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.gallery-empty p {
    font-size: 1.2rem;
    color: #999;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-counter {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

/* Admin Gallery Styles */
.gallery-upload-section,
.gallery-manage-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.gallery-upload-section h4,
.gallery-manage-section h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    margin: 0;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
}

.collapsible-header:hover h4 {
    color: #667eea;
}

.collapse-toggle {
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collapse-toggle:hover {
    color: #5a6fd8;
}

.collapse-toggle.collapsed {
    transform: rotate(-90deg);
}

.collapsible-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 1;
    margin-top: 15px;
}

.collapsible-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.875rem;
}

.admin-gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.admin-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.admin-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.admin-gallery-actions {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.admin-gallery-filename {
    font-size: 0.8rem;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.admin-gallery-item .btn-danger {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.admin-gallery-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* Success button variant */
.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .admin-gallery-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Things to Do Styles */
.things-container {
    max-width: 1200px;
    margin: 0 auto;
}

.things-container h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.things-container h2 i {
    color: #667eea;
}

.things-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.things-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.thing-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.thing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.thing-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.thing-item-content {
    padding: 20px;
}

.thing-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.thing-item-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thing-item-cta {
    margin-top: 15px;
    color: #667eea;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.things-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.things-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.things-empty p {
    font-size: 1.2rem;
    color: #999;
}

/* Thing Detail Modal */
.modal-large {
    max-width: 700px;
}

.thing-detail-photo {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.thing-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
}

/* Admin Things Management */
.things-add-section,
.things-manage-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.things-add-section h4,
.things-manage-section h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    margin: 0;
}

.admin-things-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.admin-thing-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.admin-thing-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.admin-thing-content {
    padding: 15px;
}

.admin-thing-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.admin-thing-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-thing-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-thing-item .btn-danger {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.admin-things-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* Things to Do Responsive */
@media (max-width: 768px) {
    .things-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .admin-things-list {
        grid-template-columns: 1fr;
    }
}

