html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f6f8fa;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    --sidebar-accent: #f39200;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 10px 30px rgba(23, 43, 77, 0.06);
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
}
.profile-section {
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef1f5;
}
.profile-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.profile-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #23272f;
    line-height: 1.2;
}
.profile-role {
    font-size: .78rem;
    color: #98a2b3;
    margin-top: 4px;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li {
    margin-bottom: 6px;
}
.sidebar-menu li.sidebar-divider {
    height: 1px;
    background: #eef1f5;
    margin: 12px 4px;
}
.sidebar-menu form {
    margin: 0;
}
.sidebar-menu a,
.sidebar-menu .logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    text-decoration: none;
    color: #55607a;
    border: 0;
    border-radius: 10px;
    font-weight: 500;
    font-size: .92rem;
    text-align: left;
    background: transparent;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.sidebar-menu .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    background: #f2f5f9;
    color: #4a6d9c;
    font-size: .85rem;
    transition: background-color .2s ease, color .2s ease;
}
.sidebar-menu .menu-text {
    flex: 1 1 auto;
}
.sidebar-menu a:hover,
.sidebar-menu .logout:hover {
    background: #f5f7fa;
    color: #1f2937;
    transform: translateX(2px);
}
.sidebar-menu a:focus-visible,
.sidebar-menu .logout:focus-visible {
    outline: 2px solid var(--sidebar-accent);
    outline-offset: 2px;
}
.sidebar-menu a.active {
    background: linear-gradient(135deg, #f39200, #ffb347);
    color: #fff;
    box-shadow: 0 6px 16px rgba(243, 146, 0, .28);
}
.sidebar-menu a.active .menu-icon {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}
.sidebar-menu .logout {
    color: #c0392b;
}
.sidebar-menu .logout .menu-icon {
    background: #fdecea;
    color: #c0392b;
}
.sidebar-menu .logout:hover {
    background: #fdecea;
    color: #a5281b;
}

@media (max-width: 767.98px) {
    .dashboard-sidebar {
        position: static;
    }
    .profile-img {
        max-width: 220px;
    }
}

/* Reservation Form */
.reservation-card {
    --form-accent: #2b3b4f;
    --form-ink: #0f172a;
    --form-muted: #64748b;
    --form-line: #e2e8f0;
    background: #fff;
    border: 1px solid var(--form-line);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.reservation-card > h4 {
    position: relative;
    padding-left: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--form-ink);
}
.reservation-card > h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: var(--form-accent);
}
.reservation-card > hr {
    border-color: var(--form-line);
    opacity: 1;
    margin-bottom: 28px;
}
.section-header {
    background: #2b3b4f;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.form-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--form-muted);
    margin-bottom: 6px;
}
.form-label span {
    color: #dc3545;
}
.form-control, .form-select {
    background-color: #fff;
    border: 1px solid var(--form-line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: .9rem;
    color: var(--form-ink);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-control::placeholder {
    color: #94a3b8;
}
.form-control:hover:not(:disabled), .form-select:hover:not(:disabled) {
    border-color: #cbd5e1;
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--form-accent);
    box-shadow: 0 0 0 3px rgba(43, 59, 79, .15);
}
.form-control:disabled, .form-select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
}
.form-check-input {
    border-color: #cbd5e1;
    width: 1.05em;
    height: 1.05em;
}
.form-check-input:checked {
    background-color: var(--form-accent);
    border-color: var(--form-accent);
}
.form-check-input:focus {
    border-color: var(--form-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.form-check-label {
    font-size: .88rem;
    color: #334155;
}
.btn-save {
    background: var(--form-accent);
    color: #fff;
    font-weight: 600;
    padding: 13px;
    width: 100%;
    border: none;
    border-radius: 10px;
    margin-top: 24px;
    box-shadow: 0 8px 20px rgba(43, 59, 79, .25);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-save:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(43, 59, 79, .3);
}
.btn-save:active {
    transform: translateY(0);
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 25px;
}
.breadcrumb-nav i { color: #333; }
.breadcrumb-nav span { color: #6c757d; }