/*
  BackupShift marka sistemi — Tray uygulamasındaki AccentBrush (#E8A33D) ile aynı altın vurgu
  rengi kasıtlı olarak burada da kullanılıyor: ürünün masaüstü ve web tarafı aynı markaya ait
  hissettirmeli. Lacivert (#14213d) ana sayfadaki hero bölümüyle aynı — giriş ekranından panele
  kadar tutarlı bir görsel kimlik.
*/
:root {
    --bs-primary: #14213d;
    --bs-primary-rgb: 20, 33, 61;
    --accent: #E8A33D;
    --accent-dark: #c9862a;
    --page-bg: #f4f6f9;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--page-bg);
}

.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 var(--accent);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* --- BackupShift admin marka bileşenleri --- */

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #1d3461 !important;
    border-color: #1d3461 !important;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #14213d;
    font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #14213d;
}

.admin-nav {
    background: linear-gradient(135deg, #14213d 0%, #1d3461 100%);
    box-shadow: 0 2px 8px rgba(20, 33, 61, .25);
}
.admin-nav .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .01em;
}
.admin-nav .nav-link {
    color: rgba(255, 255, 255, .75) !important;
    font-weight: 500;
    border-radius: 6px;
    padding: .5rem .9rem !important;
    transition: background-color .15s ease, color .15s ease;
}
.admin-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, .08);
}
.admin-nav .nav-link.active {
    color: #14213d !important;
    background-color: var(--accent);
}
.admin-nav .btn-outline-light {
    border-color: rgba(255, 255, 255, .4);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e6ed;
}
.page-header h1, .page-header h3 {
    font-weight: 700;
    color: #14213d;
    margin-bottom: 0;
}

.admin-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(20, 33, 61, .06);
}

.stat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(20, 33, 61, .06);
}
.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #14213d;
    line-height: 1.1;
}
.stat-card .stat-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    font-weight: 600;
}

.table-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(20, 33, 61, .06);
}
.table-card table {
    margin-bottom: 0;
}
.table-card thead th {
    background-color: #f8f9fb;
    border-bottom: 2px solid #e9ecef;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #6c757d;
    font-weight: 600;
}

.login-shell {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14213d 0%, #1d3461 100%);
    margin: -1.5rem -12px 0;
    padding: 3rem 1rem;
}
.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .25);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}
