/**
 * hotels-enhanced.css - Professional Hotel Booking & Management Styles
 * Location: /kiyans-travel/public_site/assets/css/hotels-enhanced.css
 *
 * Comprehensive design system for:
 * - Hotel booking forms
 * - Hotel management interfaces
 * - Room detail cards
 * - Admin room management tables
 *
 * Colors: Primary #23408E | Secondary #F5A623 | Accent #4DA3FF
 * Responsive, animated, professional design system
 */

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   HOTEL BOOKING PAGE STYLES
   ============================================ */

/* Page section container */
.section {
    padding: 60px 20px;
    animation: fadeIn 0.4s ease-out;
}

.section h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    animation: slideInDown 0.5s ease-out;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: slideInDown 0.6s ease-out 0.1s both;
}

/* Info card styles */
.info-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(35, 64, 142, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    animation: slideInUp 0.5s ease-out;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.info-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h2 i {
    font-size: 1.3rem;
    color: var(--secondary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-card strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Alert/Error styles */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInUp 0.4s ease-out;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.04) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #991b1b;
}

.alert-danger::before {
    content: '⚠️';
    font-size: 1.2rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.04) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.alert-success::before {
    content: '✓';
    font-size: 1.2rem;
}

/* ============================================
   FORM STYLES
   ============================================ */

form {
    animation: slideInUp 0.5s ease-out 0.1s both;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--surface);
    transition: var(--transition);
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(35, 64, 142, 0.12);
    background: var(--surface);
}

.form-control:hover:not(:focus) {
    border-color: var(--primary-light);
    background: rgba(35, 64, 142, 0.02);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Form field container */
form > label,
form > div > label,
.card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 0.3px;
}

form label > input:not([type="checkbox"]),
form label > select,
form label > textarea,
.card label > input:not([type="checkbox"]),
.card label > select,
.card label > textarea {
    margin-top: 0;
}

/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--surface);
    margin-right: 8px;
}

input[type="checkbox"]:hover {
    border-color: var(--primary);
    background: rgba(35, 64, 142, 0.05);
}

input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' 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' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Select dropdown */
select.form-control {
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2335 64 142'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

/* Textarea styling */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

textarea.form-control:focus {
    border-color: var(--primary);
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
    border: none;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
}

/* Secondary button */
.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(35, 64, 142, 0.1);
    font-weight: 700;
}

.btn-secondary:hover {
    background: rgba(35, 64, 142, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(35, 64, 142, 0.2);
}

/* Block button */
.btn-block {
    width: 100%;
    justify-content: center;
}

/* Button sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* ============================================
   HOTEL BOOKING FORM SPECIFIC
   ============================================ */

/* Booking form grid */
form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    form .form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Date input styling */
input[type="date"],
input[type="number"] {
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-outer-spin-button,
input[type="date"]::-webkit-inner-spin-button {
    filter: brightness(0.7);
    cursor: pointer;
}

/* ============================================
   ADMIN PANEL TABLE STYLES
   ============================================ */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    animation: slideInDown 0.5s ease-out;
    flex-wrap: wrap;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 4px 0 0 0;
}

/* Card wrapper */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    animation: slideInUp 0.5s ease-out;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title i {
    color: var(--secondary);
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.data-table thead {
    background: linear-gradient(135deg, rgba(35, 64, 142, 0.06) 0%, rgba(35, 64, 142, 0.02) 100%);
    border-bottom: 2px solid var(--border);
}

.data-table thead th {
    padding: 16px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(35, 64, 142, 0.04) 0%, rgba(35, 64, 142, 0.02) 100%);
}

.data-table tbody td {
    padding: 16px 14px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.data-table tbody td small {
    color: var(--text-secondary);
    font-size: 12px;
}

.data-table strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Action buttons in table */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    margin-right: 4px;
}

.action-btn.edit {
    background: rgba(77, 163, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(77, 163, 255, 0.3);
}

.action-btn.edit:hover {
    background: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
    transform: translateY(-2px);
}

.action-btn.delete {
    background: rgba(220, 38, 38, 0.12);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.action-btn.delete:hover {
    background: var(--danger);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.action-btn.toggle {
    background: rgba(245, 166, 35, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.action-btn.toggle:hover {
    background: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   HOTEL DETAILS HERO
   ============================================ */

.hotel-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slideInDown 0.8s ease-out;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--text-white);
    padding: 40px 20px 60px;
    animation: slideInUp 0.8s ease-out;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* ============================================
   IMAGE GALLERY
   ============================================ */

.image-gallery {
    margin-bottom: 32px;
    animation: slideInUp 0.5s ease-out 0.1s both;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.thumbnail {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--background);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3);
}

/* ============================================
   HOTEL DETAILS LAYOUT
   ============================================ */

.hotel-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    animation: fadeIn 0.5s ease-out;
}

@media (min-width: 1024px) {
    .hotel-details-grid {
        grid-template-columns: 1fr 350px;
    }
}

.details-main {
    min-width: 0;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sticky sidebar */
.info-card.sticky {
    position: sticky;
    top: 90px;
}

@media (max-width: 1023px) {
    .info-card.sticky {
        position: static;
    }
}

/* ============================================
   FACILITIES & AMENITIES
   ============================================ */

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    animation: slideInUp 0.5s ease-out 0.2s both;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(35, 64, 142, 0.04);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid rgba(35, 64, 142, 0.1);
}

.facility-item:hover {
    background: rgba(35, 64, 142, 0.08);
    border-color: rgba(35, 64, 142, 0.2);
    transform: translateX(4px);
}

.facility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.facility-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 13px;
}

/* ============================================
   PUBLIC ROOM CARDS
   ============================================ */

.rooms-card {
    animation: slideInUp 0.5s ease-out 0.3s both;
}

.public-rooms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    animation: slideInUp 0.5s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .public-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .public-rooms-grid {
        grid-template-columns: 1fr;
    }
}

.public-room-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(35, 64, 142, 0.02) 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    animation: scaleIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.public-room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    transition: left 0.6s ease-out;
}

.public-room-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(35, 64, 142, 0.15);
    transform: translateY(-4px);
}

.public-room-card:hover::before {
    left: 100%;
}

.public-room-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-room-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.room-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.room-facts span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(35, 64, 142, 0.04);
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.room-facts span:hover {
    background: rgba(35, 64, 142, 0.08);
    color: var(--primary);
}

.room-facts i {
    color: var(--secondary);
    font-size: 14px;
}

.room-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 16px 0 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.room-price small {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.room-policy {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 12px 0 18px;
    padding: 12px;
    background: rgba(245, 166, 35, 0.06);
    border-left: 3px solid var(--secondary);
    border-radius: 4px;
    line-height: 1.5;
}

.room-policy strong {
    color: var(--text-primary);
    font-weight: 700;
}

.room-policy span {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 4px;
}

.room-unavailable {
    display: inline-block;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0.06) 100%);
    color: var(--danger);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(220, 38, 38, 0.3);
    font-weight: 600;
    text-align: center;
    width: 100%;
    animation: pulse 2s infinite;
}

/* ============================================
   INFO ITEMS (KEY INFORMATION)
   ============================================ */

.info-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    animation: slideInUp 0.4s ease-out;
}

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

.info-item.highlight {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(245, 166, 35, 0.04) 100%);
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    margin: 4px 0;
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

.info-value.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
}

.info-value a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Badges */
.badge-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(35, 64, 142, 0.25);
    transition: var(--transition);
}

.badge-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(35, 64, 142, 0.35);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Adjust layouts for mobile */
    .public-rooms-grid {
        grid-template-columns: 1fr;
    }

    .hotel-details-grid {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

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

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 48px;
    }

    .action-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .section {
        padding: 40px 16px;
    }

    .section h1 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 20px 16px;
    }

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

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

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-item {
        grid-template-columns: 80px 1fr;
        gap: 8px;
        padding: 10px 0;
    }
}

/* ============================================
   FORM GRID FOR ROOM FORM
   ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.card label {
    display: block;
    margin: 12px 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.card label input:not([type="checkbox"]),
.card label select,
.card label textarea {
    margin-top: 6px;
}

/* ============================================
   LOADING STATE & TRANSITIONS
   ============================================ */

[data-loading="true"] {
    opacity: 0.6;
    pointer-events: none;
    animation: shimmer 2s infinite;
}

/* Focus-visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .info-card,
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
}
