:root {
    --gesthotel-primary: #0d6efd;
    --gesthotel-warning: #fd7e14;
    --gesthotel-danger: #dc3545;
    --gesthotel-success: #198754;
}

body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.app-layout {
    min-height: 100vh;
    background: linear-gradient(180deg, #f9fbff 0%, #f3f6ff 55%, #eef1f8 100%);
}

.app-navbar {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgba(32, 201, 151, 0.85));
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.25);
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 1030;
}

.app-navbar .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
    color: #ffffff !important;
}

.app-navbar .navbar-text .badge {
    letter-spacing: 0.04em;
}

.admin-dropdown {
    min-width: 260px;
    padding: 1.25rem 1.5rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    z-index: 1080;
}

.admin-dropdown__section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-dropdown__title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4f5b75;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.admin-dropdown .dropdown-item {
    border-radius: 0.65rem;
    padding: 0.45rem 0.75rem;
    font-weight: 500;
    color: #334155;
}

.admin-dropdown .dropdown-item:hover,
.admin-dropdown .dropdown-item:focus {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(32, 201, 151, 0.12));
    color: #0f172a;
}

/* Los z-index de los modales se gestionan en layouts/app.php */

.admin-dropdown__divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin: 0.9rem 0;
}

.app-layout {
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
}

.app-footer {
    flex-shrink: 0;
}

.app-main.container-fluid {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem) 3rem;
    box-shadow: none;
    width: 100%;
}

.config-wrapper {
    width: 100%;
    padding: 0 clamp(1rem, 4vw, 3rem);
}

.config-header {
    margin-bottom: 2rem;
}

.config-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: #1b2538;
    margin-bottom: 0.35rem;
}

.config-subtitle {
    color: #6c7a90;
    margin: 0;
}

.config-tabs .nav-link {
    color: #475569;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.config-tabs .nav-link:hover {
    color: #0f172a;
    background: rgba(13, 110, 253, 0.08);
}

.config-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(32, 201, 151, 0.8));
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}

.config-content {
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.hotel-form .form-label {
    color: #475569;
}

.logo-preview {
    width: 90px;
    height: 90px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(32, 201, 151, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0d6efd;
    font-weight: 700;
    border: 1px dashed rgba(13, 110, 253, 0.3);
}

.logo-initials {
    letter-spacing: 0.08em;
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1.35rem;
}

.alert-modern {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 1.1rem;
}

.table-modern thead th {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
}

.table-modern tbody td {
    border-color: rgba(15, 23, 42, 0.05);
}

.table-modern tbody tr:hover {
    background: rgba(13, 110, 253, 0.04);
}

.btn-gradient {
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgba(32, 201, 151, 0.9));
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(13, 110, 253, 0.28);
}

.dashboard-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-hero__text {
    max-width: 480px;
}

.dashboard-hero__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #20263a;
    margin-bottom: 0.4rem;
}

.dashboard-hero__subtitle {
    margin-bottom: 0;
    color: #6c7a90;
}
.dashboard-hero__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-weight: 600;
    color: #1f2937;
}

.dashboard-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-filter label {
    font-weight: 600;
    color: #3b4a65;
}

.dashboard-filter .form-select {
    min-width: 190px;
    border-radius: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: none;
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
}

.status-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    display: inline-flex;
}

.status-pill--free .status-dot {
    background: #20c997;
}

.status-pill--reserved .status-dot {
    background: #faae42;
}

.status-pill--occupied .status-dot {
    background: #ff5f6d;
}

.auth-layout {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.9), rgba(25, 135, 84, 0.85));
    background-repeat: no-repeat;
}

.auth-container {
    width: 100%;
    padding: 2rem 1.5rem;
}

.auth-card-wrapper {
    max-width: 420px;
    margin: 0 auto;
}

.auth-card {
    border-radius: 1rem;
    overflow: hidden;
}

.auth-form .form-control {
    border-radius: 0.75rem;
}

.text-primary-50 {
    color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.7) !important;
}

.room-card {
    border: none;
    border-radius: 1.1rem;
    overflow: hidden;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.room-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.room-card__header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.room-card__label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.room-card__title {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
}

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

.room-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    color: inherit;
}

.room-card__icon {
    font-size: 2rem;
    filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.2));
}

.room-card--free {
    background: linear-gradient(145deg, #0f9b8e 0%, #1fc27d 100%);
}

.room-card--reserved {
    background: linear-gradient(145deg, #ffb347 0%, #ff8360 100%);
}

.room-card--occupied {
    background: linear-gradient(145deg, #ff5f6d 0%, #ff0061 100%);
}

.room-card--default {
    background: linear-gradient(145deg, #5a67d8 0%, #7f9cf5 100%);
}

.room-card--reserved {
    color: #3d2c18;
}

.room-card--reserved .room-card__badge {
    background: rgba(255, 255, 255, 0.45);
    color: inherit;
}

.room-card--free .room-card__badge,
.room-card--occupied .room-card__badge,
.room-card--default .room-card__badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.room-card--reserved .room-card__icon {
    filter: drop-shadow(0 5px 12px rgba(255, 131, 96, 0.35));
}

.room-card--free .room-card__icon {
    filter: drop-shadow(0 5px 12px rgba(32, 201, 151, 0.35));
}

.room-card--occupied .room-card__icon {
    filter: drop-shadow(0 5px 12px rgba(255, 0, 97, 0.35));
}

@media (max-width: 768px) {
    .dashboard-filter {
        width: 100%;
        justify-content: space-between;
    }
}
