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;
}
/* wwwroot/css/site.css — Beautiful Khmer Hotel Admin Style */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer:wght@300;400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Noto Sans Khmer', 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e293b;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

/* Card Style */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 16px 16px 0 0 !important;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-success { background: var(--success); border: none; }
.btn-warning { background: var(--warning); border: none; }
.btn-danger  { background: var(--danger);  border: none; }
.btn-info    { background: var(--info);    border: none; }

/* Table */
.table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table thead {
    background: var(--primary);
    color: white;
}

.table-hover tbody tr:hover {
    transition: background 0.2s;
}

.table-hover tbody tr:hover {
    background-color: #eff6ff !important;
}

/* Badges */
.badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 50px;
}

/* Navbar & Sidebar */
.navbar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sidebar {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
}

.sidebar .nav-link {
    border-radius: 12px;
    margin: 8px 15px;
    color: #cbd5e1;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white;
    font-weight: 600;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    .sidebar span {
        display: none;
    }
    .content, footer {
        margin-left: 80px;
    }
}

/* Print-friendly invoice */
@media print {
    body { background: white; }
    .no-print { display: none !important; }
    .invoice-box { box-shadow: none; }
}