/* Modern Premium Light Theme for Incoming.Hotel */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-teal: #0d9488;
    --accent-teal-hover: #0f766e;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --status-ok: #10b981;
    --status-req: #f59e0b;
    --status-cxl: #ef4444;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Premium Light Card styling */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px 0 rgba(148, 163, 184, 0.08);
}

/* Custom login page styling - NO ANIMATION */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80');*/
    background-image: url(../Content/images//meridian_hotels.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section img {
    max-height: 70px;
    margin-bottom: 12px;
}

.logo-section h2 {
    font-size: 24px;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--text-primary);
}

.logo-section p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 5px;
}

/* Custom inputs & selects unified height styling */
.modern-input,
.form-control:not(textarea),
.form-select {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    height: 42px !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
}

.modern-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
    outline: none !important;
}

.modern-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.btn-teal {
    background-color: var(--accent-teal);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-teal:hover {
    background-color: var(--accent-teal-hover);
    color: #ffffff;
}

/* Explicit style for login/form containers */
.login-card .btn-teal {
    width: 100%;
    padding: 12px 20px;
}

/* Custom alerts */
.alert-modern {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Top Header styling */
.top-header {
    background-color: #0b0f19; /* Solid extra dark slate */
    height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.brand-logo {
    max-height: 38px;
    border-radius: 4px;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    font-size: 18px;
}

.header-right {
    height: 100%;
}

.header-info-item {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.btn-logout {
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
    background-color: transparent !important;
    font-weight: 500;
    font-size: 12.5px;
    transition: all 0.15s ease-in-out;
}

.btn-logout:hover {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* Dashboard Nav styling (Alt Menü) */
.modern-navbar {
    background: #1e293b !important; /* Lighter dark slate */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 4px 0;
}

.nav-link-modern {
    color: #cbd5e1 !important; /* slate-300 */
    font-weight: 500;
    font-size: 13.5px;
    padding: 8px 16px !important;
    border-radius: 6px;
    margin: 0 4px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link-modern i {
    font-size: 14px;
    margin-right: 8px;
}

.nav-link-modern:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-link-modern.active {
    color: #ffffff !important;
    background-color: var(--accent-teal) !important;
}

/* Badges */
.badge-status {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-ok {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--status-ok);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-req {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--status-req);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-cxl {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--status-cxl);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Table styling */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th {
    background-color: rgba(0, 0, 0, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: 14px;
    vertical-align: middle;
}

.modern-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.015);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Additional specific overrides */
.modal-content.glass-card {
    background-color: #ffffff !important;
    border: 1px solid var(--border-color) !important;
}

.border-secondary {
    border-color: var(--border-color) !important;
}

.bg-secondary {
    background-color: #e2e8f0 !important;
    color: var(--text-primary) !important;
}

.btn-outline-secondary {
    border-color: #cbd5e1 !important;
    color: var(--text-secondary) !important;
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    color: var(--text-primary) !important;
}
