/* Custom premium styles for meeting room reservation system */

:root {
    --primary-color: #8a1205; /* CMU Red/Dark Red */
    --primary-gradient: linear-gradient(135deg, #8a1205 0%, #b01b0b 100%);
    --bg-light: #f8fafc;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -5px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 8px 20px -5px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Status colors */
    --color-pending: #d97706;
    --bg-pending-gradient: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    --border-pending: #f59e0b;
    
    --color-approved: #059669;
    --bg-approved-gradient: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    --border-approved: #10b981;
    
    --color-cancelled: #dc2626;
    --bg-cancelled-gradient: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
    --border-cancelled: #ef4444;
}

/* Premium Card Wrapper */
.premium-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    padding: 24px;
    margin-bottom: 30px;
}

.premium-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.premium-card-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Stat Cards */
.stat-cards-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card-item {
    flex: 1;
    min-width: 240px;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.stat-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12);
}

/* Stat Card Variants */
.stat-card-pending {
    background: var(--bg-pending-gradient);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--color-pending);
}
.stat-card-approved {
    background: var(--bg-approved-gradient);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--color-approved);
}
.stat-card-cancelled {
    background: var(--bg-cancelled-gradient);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--color-cancelled);
}

.stat-card-info {
    z-index: 1;
}

.stat-card-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.stat-card-icon {
    font-size: 40px;
    opacity: 0.15;
    transition: var(--transition-smooth);
    z-index: 0;
}

.stat-card-item:hover .stat-card-icon {
    transform: scale(1.15) rotate(-5deg);
    opacity: 0.3;
}

/* Custom Table Premium */
.table-premium-container {
    width: 100%;
    overflow-x: auto;
}

.table-premium {
    width: 100% !important;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
}

.table-premium th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    vertical-align: middle !important;
}

.table-premium td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #334155;
    font-size: 15px;
    vertical-align: middle !important;
    transition: var(--transition-smooth);
}

.table-premium tbody tr:hover td {
    background-color: #f1f5f9;
}

/* Badges Modern */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}

.badge-pending {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-approved {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Custom premium buttons */
.btn-premium {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none !important;
}

.btn-premium-primary {
    background: var(--primary-gradient);
    color: #ffffff !important;
}

.btn-premium-primary:hover, .btn-premium-primary:focus {
    background: linear-gradient(135deg, #a71808 0%, #cb2211 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(138, 18, 5, 0.25);
    transform: translateY(-1px);
}

.btn-premium-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.2), 0 2px 4px -1px rgba(245, 158, 11, 0.1);
}

.btn-premium-warning:hover, .btn-premium-warning:focus {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3), 0 4px 6px -2px rgba(245, 158, 11, 0.15);
    transform: translateY(-1px);
}

.clr {
    clear: both !important;
}

.btn-premium-outline {
    background: transparent;
    border-color: #cbd5e1;
    color: #64748b !important;
}

.btn-premium-outline:hover {
    background: #f1f5f9;
    color: #334155 !important;
    border-color: #94a3b8;
}

.btn-premium-action {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* Premium Form Elements */
.form-premium-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--card-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.form-premium-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.form-group-premium {
    margin-bottom: 20px;
}

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

.input-premium {
    width: 100%;
    height: 42px;
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    transition: var(--transition-smooth);
}

.input-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 18, 5, 0.15);
    outline: none;
}

.input-premium[readonly], .input-premium[disabled] {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

textarea.input-premium {
    height: auto;
    resize: vertical;
}

.input-group-premium {
    display: flex;
    position: relative;
    width: 100%;
}

.input-group-addon-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #64748b;
}

.input-group-premium .input-premium {
    border-radius: 0 8px 8px 0;
    flex: 1;
    width: auto;
    min-width: 0;
}

.chosen-container-single .chosen-single {
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 0 16px !important;
}

.chosen-container-single .chosen-single div b {
    background-position: 0 9px !important;
}

.dt-buttons-container {
    margin-bottom: 15px;
}

/* =============================================
   RESERVATION FORM — PREMIUM REDESIGN
   ============================================= */

/* Section Step Indicator */
.reserve-section-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-right: 10px;
    flex-shrink: 0;
}

.reserve-section-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
}

.reserve-section-title .fa {
    margin-right: 8px;
    color: #94a3b8;
    font-size: 16px;
}

.reserve-section-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 8px;
}

/* Section Card */
.reserve-section-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.04), 0 2px 8px -4px rgba(0, 0, 0, 0.02);
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.reserve-section-card:hover {
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.04);
}

/* Disabled section overlay */
fieldset[disabled] .reserve-section-card {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

fieldset[disabled] .reserve-section-step {
    background: #94a3b8;
}

fieldset:not([disabled]) .reserve-section-card {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Page Header */
.reserve-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.reserve-page-title {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Kanit', sans-serif;
}

/* Schedule Table (AJAX-loaded) */
.reserve-schedule-wrapper {
    margin-top: 20px;
}

.reserve-schedule-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 0;
    transition: var(--transition-smooth);
}

.reserve-schedule-card .reserve-section-title {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.reserve-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.reserve-schedule-table th {
    background-color: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    white-space: nowrap;
}

.reserve-schedule-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    vertical-align: middle;
}

.reserve-schedule-table tbody tr {
    transition: background-color 0.15s ease;
}

.reserve-schedule-table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.8);
}

.reserve-schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* Schedule Time Chip */
.schedule-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(138, 18, 5, 0.06); /* 6% CMU Red */
    border: 1px solid rgba(138, 18, 5, 0.15);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #8a1205; /* CMU Red */
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(138, 18, 5, 0.05);
}

.schedule-time-chip .fa {
    color: #8a1205;
    font-size: 12px;
}

/* Schedule Empty State */
.reserve-schedule-empty {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
}

.reserve-schedule-empty .fa {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.reserve-schedule-empty-text {
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 4px;
}

.reserve-schedule-empty-sub {
    font-size: 13px;
    color: #94a3b8;
}

/* Schedule Loading State */
.reserve-schedule-loading {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}

.reserve-schedule-loading .spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(138, 18, 5, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: rsv-spin 0.7s linear infinite;
    margin-bottom: 10px;
}

@keyframes rsv-spin {
    to { transform: rotate(360deg); }
}

/* Schedule Placeholder */
.reserve-schedule-placeholder {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
}

.reserve-schedule-placeholder .fa {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.4;
}

/* Premium Checkbox */
.checkbox-premium {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.checkbox-premium:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.checkbox-premium input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-premium-label {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    margin: 0;
}

/* Room Status Button */
.btn-room-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-room-status:hover {
    background: #e0e7ff;
    color: #4f46e5;
    border-color: #a5b4fc;
}

/* Lock Days Button */
.btn-lock-days {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-lock-days:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Info hint text */
.form-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-hint .fa {
    font-size: 11px;
}

/* Time validation message */
.time-validation-msg {
    color: #e11d48;
    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    display: none;
}

.time-validation-msg.visible {
    display: block;
}

/* Submit section */
.reserve-submit-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

/* Room status panel (inline collapsible) */
.room-status-panel {
    display: none;
    margin-bottom: 20px;
    animation: rsvSlideDown 0.3s ease;
}

.room-status-panel.open {
    display: block;
}

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

.room-status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.room-status-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border-bottom: 2px solid #e2e8f0;
}

.room-status-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.room-status-table img.room-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Badge status inline */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-dot-open { background-color: #10b981; }
.status-dot-closed { background-color: #ef4444; }

/* Schedule count badge */
.schedule-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 11px;
    margin-left: 8px;
}

.schedule-count-pending {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.schedule-count-approved {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* =============================================
   SUCCESS BUTTON & PREVIEW MODAL & SUCCESS CARD
   ============================================= */

/* Premium Success Button */
.btn-premium-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff !important;
}

.btn-premium-success:hover, .btn-premium-success:focus {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

/* Premium Preview Modal styling */
.preview-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: #ffffff;
}

.preview-modal .modal-header {
    padding: 24px 28px;
    border-bottom: none;
    transition: background 0.3s ease;
    position: relative;
}

.preview-modal .modal-header .close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 24px;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    padding: 0;
    line-height: 1;
    margin-top: 0;
}

.preview-modal .modal-header .close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.preview-modal .modal-title {
    font-weight: 700;
    font-size: 20px;
    font-family: 'Kanit', sans-serif;
    color: #ffffff;
    padding-right: 40px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.modal-body-premium {
    padding: 28px;
    background-color: #ffffff;
}

#modal-status-badge-container {
    margin-bottom: 20px;
    display: flex;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .modal-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    #item-meetingroom, #item-detail, #item-note, #item-accessories {
        grid-column: span 2;
    }
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.detail-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    word-break: break-word;
}

.preview-modal .modal-footer {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 20px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Success Card styling */
.success-card-wrapper {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 40px;
    text-align: center;
    animation: rsvSlideDown 0.5s ease-out;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    background-color: #d1fae5;
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
    animation: scaleUpCheck 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scaleUpCheck {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.success-card-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
}

.success-detail-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    margin-bottom: 28px;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.success-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.success-detail-row:first-child {
    padding-top: 0;
}

.success-detail-label {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
}

.success-detail-val {
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.countdown-wrapper {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b;
    font-weight: 700;
}

/* Align footer top border and menu section bottom border with the theme color */
.menu-section {
    border-bottom: 5px solid var(--primary-color) !important;
}

.footer-section {
    border-top: 5px solid var(--primary-color) !important;
}

/* Room Status Modal Custom Styles */
.room-status-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.room-status-modal .modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-bottom: none;
}

.room-status-modal .modal-header .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 24px;
    margin-top: -2px;
    transition: var(--transition-smooth);
}

.room-status-modal .modal-header .close:hover {
    opacity: 1;
}

.room-status-modal .modal-title {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.room-status-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

.room-status-item {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    align-items: center;
    transition: var(--transition-smooth);
}

.room-status-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.room-status-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.room-status-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.room-status-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.room-status-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.room-status-time {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-status-desc {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* =============================================
   MEETING ROOM CRUD CUSTOM STYLES
   ============================================= */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.room-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.15);
}

.room-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    overflow: hidden;
}

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

.room-card:hover .room-card-img {
    transform: scale(1.05);
}

.room-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.room-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.room-card-eng {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.room-card-detail {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.5;
}

.room-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.room-meta-item {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-color-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
}

.room-card-actions {
    background: #f8fafc;
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.room-card-actions .btn-premium {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 13px;
}

.color-option-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.color-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.color-radio-label:hover:not(.disabled) {
    border-color: #94a3b8;
    background: #f8fafc;
}

.color-radio-label.selected {
    border-color: var(--primary-color);
    background: rgba(138, 18, 5, 0.05);
    font-weight: 600;
}

.color-radio-label.disabled {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.color-radio-label input[type="radio"] {
    display: none;
}

.image-preview-box {
    width: 100%;
    max-width: 320px;
    height: 180px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    transition: var(--transition-smooth);
}

.image-preview-box:hover {
    border-color: var(--primary-color);
    background: #f1f5f9;
}

.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.image-preview-placeholder {
    text-align: center;
    color: #64748b;
    padding: 20px;
    z-index: 1;
}

.image-preview-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #94a3b8;
}

/* Dashboard Redesign Summary Grid & Cards */
/* Section Title and Subtitle */
.section-title-premium {
    font-weight: 700;
    color: #1e293b;
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Kanit', sans-serif;
}
.section-subtitle-premium {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    margin-left: 8px;
}

.room-summary-grid {
    margin-bottom: 30px;
    display: block;
    clear: both;
}

.room-summary-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 290px;
    width: 100%;
    box-sizing: border-box;
}

.room-summary-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.room-summary-header {
    margin-bottom: 16px;
    display: block;
}

.room-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
}

.room-summary-location {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-summary-stats {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    display: block;
    margin-left: -5px;
    margin-right: -5px;
}

.room-stat-box {
    padding: 10px 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.room-stat-box.full-width {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    height: auto;
}

.room-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.room-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

/* Specific stat types with tailored palettes */
.room-stat-box.stat-approved {
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.02);
}
.room-stat-box.stat-approved .room-stat-label {
    color: var(--color-approved);
}
.room-stat-box.stat-approved .room-stat-value {
    color: var(--color-approved);
    font-size: 18px;
}

.room-stat-box.stat-pending {
    border-color: rgba(217, 119, 6, 0.2);
    background: rgba(217, 119, 6, 0.02);
}
.room-stat-box.stat-pending .room-stat-label {
    color: var(--color-pending);
}
.room-stat-box.stat-pending .room-stat-value {
    color: var(--color-pending);
    font-size: 18px;
}

.room-stat-box.stat-cancelled {
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.02);
}
.room-stat-box.stat-cancelled .room-stat-label {
    color: var(--color-cancelled);
}
.room-stat-box.stat-cancelled .room-stat-value {
    color: var(--color-cancelled);
    font-size: 18px;
}

.room-stat-box.stat-participants {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.02);
}
.room-stat-box.stat-participants .room-stat-label {
    color: #3b82f6;
}
.room-stat-box.stat-participants .room-stat-value {
    color: #3b82f6;
}

/* Fiscal Year Selector Styles */
.fy-selector-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.fy-selector-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.fy-select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.fy-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Color Legend Dynamic Style */
.legend-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

/* Glassmorphism Guest Card */
.guest-welcome-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.guest-notice-card {
    background: linear-gradient(135deg, rgba(239,246,255,0.9) 0%, rgba(219,234,254,0.9) 100%);
    border: 1px solid rgba(191,219,254,0.8);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    color: #1e3a8a;
}

.bootstrap-datetimepicker-widget {
    z-index: 99999 !important;
}

/* =============================================
   REPORT & DASHBOARD PAGE — PREMIUM REDESIGN
   ============================================= */

.report-header-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    border-bottom: 1px solid #f1f5f9; 
    padding-bottom: 15px; 
    margin-top: 10px;
    margin-bottom: 25px;
}

.report-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.report-chart-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--card-shadow);
    padding: 24px;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.report-chart-container:hover {
    box-shadow: var(--card-shadow-hover);
}

.report-chart-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Kanit', sans-serif;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.pdf-print-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--card-shadow);
    padding: 24px;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.pdf-print-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.pdf-print-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'Kanit', sans-serif;
}

.pdf-form-group {
    margin-bottom: 15px;
}

.pdf-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.pdf-select-premium {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    transition: var(--transition-smooth);
}

.pdf-select-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 18, 5, 0.15);
    outline: none;
}

/* =============================================
   NAVIGATION MENU — PREMIUM REDESIGN
   ============================================= */

.menu-section {
    background-color: #ffffff !important;
    border-bottom: 3px solid var(--primary-color) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

#menu-top {
    margin: 0 !important;
}

#menu-top a {
    color: #475569 !important;
    font-weight: 600 !important;
    font-family: 'Kanit', sans-serif !important;
    text-transform: none !important;
    padding: 20px 18px !important;
    transition: var(--transition-smooth) !important;
    border-bottom: 3px solid transparent;
}

#menu-top a:hover, #menu-top a:focus, #menu-top .dropdown.open > a {
    color: var(--primary-color) !important;
    background-color: rgba(138, 18, 5, 0.04) !important;
    text-decoration: none !important;
}

#menu-top a.menu-top-active {
    color: var(--primary-color) !important;
    background-color: rgba(138, 18, 5, 0.06) !important;
    border-bottom-color: var(--primary-color) !important;
}

/* Dropdown menu customizations */
#menu-top .dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 8px 0 !important;
    margin-top: 2px !important;
    background-color: #ffffff !important;
}

#menu-top .dropdown-menu > li > a {
    color: #334155 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-bottom: none !important;
}

#menu-top .dropdown-menu > li > a:hover, #menu-top .dropdown-menu > li > a:focus {
    color: var(--primary-color) !important;
    background-color: rgba(138, 18, 5, 0.04) !important;
}

/* Redirection Card styling */
.redirect-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 450px;
}

.redirect-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    animation: redirectFadeInUp 0.5s ease-out;
}

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

.redirect-card-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.redirect-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    font-family: 'Kanit', sans-serif;
}

.redirect-card-message {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 24px;
}

.redirect-card-divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 24px 0;
}

.redirect-card-countdown {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
    font-weight: 500;
}

#countdown-num {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

/* DateTime Display Premium for do=process */
.datetime-display-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.datetime-display-premium .date-part,
.datetime-display-premium .time-part {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.datetime-display-premium i {
    font-size: 18px;
}

.datetime-display-premium .date-text {
    color: #1e293b;
    font-weight: 700;
}

.datetime-display-premium .time-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Long Term Badge in do=process */
.datetime-display-premium .badge-long-term {
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    margin-left: 8px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
}

/* Today Job Card styles */
.today-job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.today-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.today-job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.today-job-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(138, 18, 5, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
}

.today-job-room {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.today-job-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.today-job-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.today-job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.today-job-note {
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    border-left: 2px solid #cbd5e1;
}

/* Premium Header Styles */
.navbar {
    min-height: auto !important;
    background-color: #8a1205 !important;
    border-bottom: 3px solid #700e04 !important;
    margin-bottom: 0px !important;
}

.navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar .container::before,
.navbar .container::after {
    display: none !important;
}

.navbar-header {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
}

.navbar-brand {
    float: none !important;
    height: auto !important;
    padding: 15px 15px !important;
    white-space: normal !important;
}

.navbar-brand div {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}

.navbar-brand i {
    font-size: 2.2em !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover i {
    transform: scale(1.05);
}

.right-div {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 15px !important;
    flex-shrink: 0;
}

.user-welcome-text {
    color: #f1f5f9;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    display: inline-flex;
    align-items: center;
}

.user-welcome-text::before {
    content: "\f007\00a0\00a0";
    font-family: FontAwesome;
    color: #fca5a5;
    font-size: 1.1em;
}

.btn-premium-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    font-family: 'Kanit', sans-serif;
}

.btn-premium-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(220, 38, 38, 0.35);
}

.btn-premium-logout:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

/* Premium Mobile & Tablet Responsive Header */
@media (max-width: 991px) {
    .navbar .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        padding-top: 10px;
        padding-bottom: 12px;
    }
    
    .navbar-header {
        width: 100%;
        justify-content: space-between !important;
    }
    
    .navbar-brand {
        padding: 8px 0 !important;
        max-width: calc(100% - 60px);
    }
    
    .navbar-brand div {
        font-size: 16px !important;
        gap: 8px;
    }
    
    .navbar-brand i {
        font-size: 1.8em !important;
    }
    
    .navbar-toggle {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        margin-right: 0 !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        padding: 8px 10px !important;
    }
    
    .navbar-toggle:hover, .navbar-toggle:focus {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }
    
    .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }
    
    .right-div {
        width: 100%;
        justify-content: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px 0 4px 0 !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .user-welcome-text {
        font-size: 13.5px;
    }
    
    .btn-premium-logout {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 20px;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
    }
}

/* Extra small mobile screen adjustments */
@media (max-width: 480px) {
    .navbar-brand div {
        font-size: 14px !important;
        gap: 6px;
    }
    
    .navbar-brand i {
        font-size: 1.5em !important;
    }
    
    .user-welcome-text {
        font-size: 13px;
    }
}





