/* Envanter Yönetim Merkezi — sakin, okunaklı yönetim arayüzü */
:root {
    --panel-bg: #f5f7fb;
    --surface: #ffffff;
    --surface-subtle: #f9fbfd;
    --surface-hover: #f3f7fc;
    --ink: #172033;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #e5eaf1;
    --line-strong: #d7dee8;
    --primary: #2457d6;
    --primary-dark: #1c46b1;
    --primary-soft: #edf3ff;
    --teal: #087f78;
    --teal-soft: #e8f7f5;
    --success: #16794c;
    --success-soft: #eaf8f0;
    --warning: #a76508;
    --warning-soft: #fff6e6;
    --danger: #bd3d4c;
    --danger-soft: #fff0f1;
    --radius-lg: 16px;
    --radius-md: 11px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 6px 18px rgba(16, 24, 40, .045);
}

html, body, .wrapper {
    min-height: 100%;
}

body.panel-shell,
body.auth-shell {
    background: var(--panel-bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Yapısal alanlar */
.panel-content-wrapper,
.content-wrapper {
    background: var(--panel-bg);
}

.panel-content-header,
.content-header {
    padding: 26px 30px 14px;
}

.panel-content-header h1,
.content-header h1 {
    color: var(--ink);
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -.03em;
    line-height: 1.25;
    margin: 0;
}

.panel-content,
.content {
    padding: 14px 30px 30px;
}

.content-header .btn,
.content-header a.btn {
    margin-left: 6px;
}

/* Üst navigasyon */
.panel-topnav,
.main-header.navbar {
    background: rgba(255, 255, 255, .94) !important;
    border-bottom: 1px solid rgba(229, 234, 241, .95) !important;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
    min-height: 62px;
    padding: 0 18px;
}

.main-header .nav-link {
    color: var(--muted) !important;
    min-height: 62px;
    display: inline-flex;
    align-items: center;
}

.main-header .nav-link:hover {
    color: var(--primary) !important;
}

.main-header .navbar-nav > .user-menu > .nav-link {
    color: var(--ink-soft) !important;
    font-weight: 600;
}

.main-header .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
    overflow: hidden;
    margin-top: -3px;
}

.main-header .dropdown-item {
    color: var(--ink-soft);
    font-size: 13px;
    padding: 10px 15px;
}

.main-header .dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

/* Sol menü */
.panel-sidebar,
.main-sidebar {
    background: linear-gradient(180deg, #102238 0%, #0d1b2c 100%) !important;
}

.brand-link.panel-brand,
.brand-link {
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
    color: #fff !important;
    display: flex;
    min-height: 78px;
    overflow: hidden;
    padding: 14px 17px;
}

.brand-link .panel-logo-image {
    float: none;
    flex: 0 0 38px;
    height: 38px;
    margin: 0 10px 0 0;
    max-height: 38px;
    object-fit: contain;
    opacity: 1;
    width: 38px;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, #3971ef, #3fb5a6);
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(26, 81, 189, .3);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin-right: 10px;
    width: 38px;
}

.brand-mark i { color: #fff; font-size: 16px; }
.brand-copy { display: inline-flex; flex: 1 1 auto; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-copy strong { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.brand-copy small { color: rgba(224, 233, 245, .65); font-size: 9px; letter-spacing: .055em; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }

.sidebar { padding-top: 13px; }
.sidebar-dark-primary .nav-sidebar > .nav-header {
    color: rgba(198, 214, 234, .48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 13px 12px 5px;
    padding: 8px 8px 3px;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link,
.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link {
    border-radius: 9px;
    color: rgba(227, 236, 248, .76);
    font-size: 13.5px;
    font-weight: 520;
    margin: 2px 10px;
    padding: 10px 11px;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link:hover,
.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link:hover {
    background: rgba(255,255,255,.065);
    color: #fff;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-dark-primary .nav-treeview > .nav-item > .nav-link.active {
    background: rgba(77, 133, 242, .22);
    box-shadow: none;
    color: #fff;
    font-weight: 650;
}

.sidebar-dark-primary .nav-sidebar .nav-icon {
    color: #8fa9c8;
    font-size: 14px !important;
    margin-right: .2rem;
}

.sidebar-dark-primary .nav-sidebar .nav-link.active > .nav-icon { color: #77b9ff; }
.sidebar-dark-primary .nav-treeview { padding: 2px 0 4px 8px; }
.sidebar-dark-primary .nav-treeview .nav-icon { font-size: 7px !important; margin-left: 5px; }
.sidebar-dark-primary .nav-sidebar > .menu-open > .nav-link { background: rgba(255,255,255,.045); color: #fff; }

/* Kartlar */
.card,
.modal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card.card-outline {
    border-top-width: 1px;
}

.card-header {
    align-items: center;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: flex;
    min-height: 60px;
    padding: 14px 18px;
}

.card-header > .card-title,
.card-header h3.card-title {
    color: var(--ink);
    float: none;
    font-size: 15px;
    font-weight: 680;
    letter-spacing: -.01em;
    margin: 0;
}

.card-header > .card-tools { margin-left: auto; margin-right: 0; }
.card-body { padding: 19px; }
.card-footer { background: var(--surface-subtle); border-top: 1px solid var(--line); padding: 13px 18px; }
.card .card-header[data-card-widget="collapse"] { cursor: pointer; }
.card .card-header .btn-tool { color: var(--muted); }

/* Butonlar */
.btn {
    align-items: center;
    border-radius: 9px;
    box-shadow: none;
    display: inline-flex;
    font-size: 13px;
    font-weight: 650;
    justify-content: center;
    line-height: 1.25;
    min-height: 38px;
    padding: 8px 13px;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.btn:hover { box-shadow: 0 4px 10px rgba(16,24,40,.08); transform: translateY(-1px); }
.btn:focus { box-shadow: 0 0 0 3px rgba(36,87,214,.16); }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-success { background: var(--success); border-color: var(--success); }
.btn-success:hover, .btn-success:focus { background: #11653f; border-color: #11653f; }
.btn-warning { background: #e89a25; border-color: #e89a25; color: #fff; }
.btn-warning:hover, .btn-warning:focus { background: #c77b0c; border-color: #c77b0c; color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover, .btn-danger:focus { background: #a5303d; border-color: #a5303d; }
.btn-info { background: var(--teal); border-color: var(--teal); }
.btn-info:hover, .btn-info:focus { background: #066961; border-color: #066961; }
.btn-secondary { background: #667085; border-color: #667085; }
.btn-default, .btn-outline-secondary { background: #fff; border-color: var(--line-strong); color: var(--ink-soft); }
.btn-default:hover, .btn-outline-secondary:hover { background: var(--surface-hover); border-color: #c5d0df; color: var(--ink); }
.btn-sm, .btn-group-sm > .btn { border-radius: 7px; font-size: 12px; min-height: 31px; padding: 6px 9px; }
.btn-group > .btn { border-radius: 8px; margin-right: 3px; }
.btn-group > .btn:not(:first-child) { border-radius: 8px; }

/* Formlar */
label, .form-group > label { color: var(--ink-soft); font-size: 12px; font-weight: 660; margin-bottom: 7px; }
.form-group { margin-bottom: 18px; }
.form-control,
.custom-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: #fbfcfe;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    box-shadow: none;
    color: var(--ink);
    font-size: 13px;
    min-height: 40px;
}

textarea.form-control { min-height: 96px; padding-top: 10px; }
.form-control:focus,
.custom-select:focus {
    background: #fff;
    border-color: #7a9ff0;
    box-shadow: 0 0 0 3px rgba(36,87,214,.12);
    color: var(--ink);
}
.form-control::placeholder { color: #98a2b3; }
.select2-container--default .select2-selection--single { height: 40px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 38px; padding-left: 12px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px; }
.select2-dropdown { border: 1px solid var(--line-strong); border-radius: 9px; box-shadow: 0 10px 24px rgba(16,24,40,.12); overflow: hidden; }
.select2-search__field { border: 1px solid var(--line-strong) !important; border-radius: 6px !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--primary); }
.input-group-text { background: var(--surface-subtle); border-color: var(--line-strong); color: var(--muted); }
.custom-control-label { color: var(--ink-soft); font-size: 13px; font-weight: 500; }

/* Tablolar */
.table-responsive { border-radius: 0; }
.table { color: var(--ink-soft); margin-bottom: 0; }
.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--line) !important;
    border-top: 0;
    color: #667085;
    font-size: 10.5px;
    font-weight: 720;
    letter-spacing: .055em;
    padding: 13px 14px;
    text-transform: uppercase;
    vertical-align: middle;
}

.table td { border-color: #edf0f4; padding: 13px 14px; vertical-align: middle; }
.table-bordered, .table-bordered td, .table-bordered th { border-color: #edf0f4; }
.table-striped tbody tr:nth-of-type(odd) { background: #fcfdff; }
.table-hover tbody tr:hover { background: #f4f8fe; color: var(--ink); }
.table a:not(.btn) { color: var(--primary); font-weight: 620; }
.table a:not(.btn):hover { color: var(--primary-dark); text-decoration: none; }
.dataTables_wrapper { color: var(--muted); font-size: 13px; padding: 1px 0; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { background: #fbfcfe; border: 1px solid var(--line-strong); border-radius: 7px; margin: 0 5px; min-height: 32px; padding: 4px 8px; }
.dataTables_wrapper .pagination { margin: 17px 0 0; }
.page-link { border-color: var(--line); color: var(--ink-soft); font-size: 12px; padding: 7px 11px; }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* Durumlar, bildirimler ve modallar */
.badge { border-radius: 999px; font-size: 11px; font-weight: 670; letter-spacing: .01em; padding: 5px 8px; }
.badge-primary { background: var(--primary-soft); color: var(--primary-dark); }
.badge-info { background: var(--teal-soft); color: #05716a; }
.badge-success { background: var(--success-soft); color: #137243; }
.badge-warning { background: var(--warning-soft); color: #985b05; }
.badge-danger { background: var(--danger-soft); color: #ae3342; }
.badge-secondary { background: #eef1f5; color: #526070; }
.alert { border: 1px solid transparent; border-radius: var(--radius-md); box-shadow: none; color: var(--ink-soft); font-size: 13px; padding: 13px 15px; }
.alert-success { background: var(--success-soft); border-color: #c8ead7; color: #10643d; }
.alert-danger { background: var(--danger-soft); border-color: #f2cfd4; color: #9c2f3a; }
.alert-warning { background: var(--warning-soft); border-color: #f4dfb5; color: #845007; }
.alert-info { background: var(--primary-soft); border-color: #d4e1ff; color: #214b9c; }
.modal-content { border: 0; box-shadow: 0 18px 45px rgba(16,24,40,.2); }
.modal-header { align-items: center; border-bottom-color: var(--line); padding: 17px 20px; }
.modal-title { color: var(--ink); font-size: 16px; font-weight: 700; }
.modal-body { padding: 20px; }
.modal-footer { background: var(--surface-subtle); border-top-color: var(--line); padding: 13px 20px; }
.close { color: var(--muted); opacity: .8; }

/* Eski renkli kutular yerine sakin metrik kartlar */
.small-box,
.info-box {
    background: var(--surface) !important;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    color: var(--ink) !important;
    margin-bottom: 18px;
    min-height: 126px;
    overflow: hidden;
}

.small-box > .inner { padding: 19px 20px; position: relative; z-index: 1; }
.small-box h3, .info-box-number { color: var(--ink); font-size: 27px; font-weight: 730; letter-spacing: -.04em; margin: 0 0 4px; }
.small-box p, .info-box-text { color: var(--muted); font-size: 12px; font-weight: 600; margin: 0; }
.small-box .icon { color: #dce7fb !important; right: 15px; top: 17px; }
.small-box .icon > i { font-size: 59px; }
.small-box .small-box-footer { background: transparent; border-top: 1px solid #eff2f6; color: var(--primary); font-size: 12px; font-weight: 650; padding: 9px 20px; position: relative; text-align: left; }
.small-box .small-box-footer:hover { background: var(--surface-hover); color: var(--primary-dark); }
.small-box.bg-success { border-left: 4px solid var(--success); }
.small-box.bg-info, .small-box.bg-primary { border-left: 4px solid var(--primary); }
.small-box.bg-warning { border-left: 4px solid #d98b17; }
.small-box.bg-danger { border-left: 4px solid var(--danger); }
.small-box.bg-secondary { border-left: 4px solid #7a8798; }
.info-box { align-items: center; display: flex; }
.info-box .info-box-icon { background: var(--primary-soft) !important; border-radius: 12px; color: var(--primary); height: 48px; line-height: 48px; margin-left: 16px; width: 48px; }
.info-box .info-box-content { margin-left: 13px; }

.btn-app {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: var(--ink-soft) !important;
    font-weight: 620;
}
.btn-app:hover { background: var(--surface-hover) !important; border-color: #cad6e7 !important; color: var(--primary) !important; }
.btn-app > .fa, .btn-app > .fas, .btn-app > .far { color: var(--primary); }

/* Dashboard */
.dashboard-heading,
.page-heading {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.dashboard-heading h1,
.page-heading h1 {
    margin: 0;
}

.dashboard-heading p,
.page-heading p {
    color: var(--muted);
    font-size: 13px;
    margin: 5px 0 0;
}

.dashboard-heading-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.dashboard-hero {
    background: linear-gradient(112deg, #193d8a 0%, #2457d6 58%, #2a8b9e 130%);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(29, 78, 216, .16);
    color: #fff;
    margin-bottom: 22px;
    overflow: hidden;
    padding: 26px 28px;
    position: relative;
}
.dashboard-hero::after { background: rgba(255,255,255,.08); border-radius: 50%; content: ''; height: 300px; position: absolute; right: -80px; top: -180px; width: 300px; }
.dashboard-hero > * { position: relative; z-index: 1; }
.dashboard-eyebrow { color: rgba(237,244,255,.75); font-size: 11px; font-weight: 700; letter-spacing: .09em; margin-bottom: 8px; text-transform: uppercase; }
.dashboard-hero h1 { color: #fff; font-size: 26px; font-weight: 720; letter-spacing: -.035em; margin: 0; }
.dashboard-hero p { color: rgba(237,244,255,.82); margin: 7px 0 0; }
.dashboard-hero .btn-light { border: 0; color: var(--primary); font-weight: 700; }
.dashboard-hero .btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.dashboard-hero .btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); height: 100%; padding: 18px; }
.metric-card .metric-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.metric-card .metric-value { color: var(--ink); font-size: 29px; font-weight: 730; letter-spacing: -.045em; line-height: 1.15; margin: 9px 0 10px; }
.metric-card .metric-link { color: var(--primary); font-size: 12px; font-weight: 650; }
.metric-card .metric-icon { align-items: center; background: var(--primary-soft); border-radius: 10px; color: var(--primary); display: inline-flex; height: 38px; justify-content: center; position: absolute; right: 30px; top: 18px; width: 38px; }
.metric-card.metric-success .metric-icon { background: var(--success-soft); color: var(--success); }
.metric-card.metric-warning .metric-icon { background: var(--warning-soft); color: var(--warning); }
.metric-card.metric-danger .metric-icon { background: var(--danger-soft); color: var(--danger); }
.finance-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); height: 100%; padding: 20px; }
.finance-card .finance-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.finance-card .finance-value { color: var(--ink); font-size: 25px; font-weight: 730; letter-spacing: -.04em; margin: 8px 0 0; }
.finance-card .finance-icon { background: var(--teal-soft); border-radius: 10px; color: var(--teal); float: right; padding: 10px; }
.quick-action { align-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); display: flex; font-size: 13px; font-weight: 650; gap: 10px; padding: 13px; transition: .16s ease; }
.quick-action:hover { background: var(--surface-hover); border-color: #cbd7e7; color: var(--primary); text-decoration: none; transform: translateY(-1px); }
.quick-action .quick-action-icon { align-items: center; background: var(--primary-soft); border-radius: 8px; color: var(--primary); display: inline-flex; height: 30px; justify-content: center; width: 30px; }
.progress-group { color: var(--ink-soft); font-size: 13px; }
.progress { background: #edf1f6; border-radius: 999px; box-shadow: none; }
.progress-bar { background: var(--primary) !important; border-radius: 999px; }

.dashboard-chart {
    height: 280px;
    min-height: 280px;
    position: relative;
    width: 100%;
}

.dashboard-chart canvas {
    display: block;
    height: 100% !important;
    max-height: 280px;
    max-width: 100%;
    width: 100% !important;
}

/* Bakım kayıtları */
.filter-card .card-body { padding: 16px 18px; }

.compact-stat {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 13px;
    min-height: 82px;
    padding: 15px 17px;
}

.compact-stat-icon {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 10px;
    color: var(--primary);
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
}

.compact-stat-success .compact-stat-icon { background: var(--success-soft); color: var(--success); }
.compact-stat-muted .compact-stat-icon { background: #eef1f5; color: #5f6d7d; }
.compact-stat small { color: var(--muted); display: block; font-size: 11px; font-weight: 680; letter-spacing: .045em; text-transform: uppercase; }
.compact-stat strong { color: var(--ink); display: block; font-size: 22px; font-weight: 730; letter-spacing: -.03em; line-height: 1.25; margin-top: 3px; }
.compact-stat strong.compact-stat-date { font-size: 17px; letter-spacing: -.015em; }

.maintenance-table .maintenance-date { min-width: 120px; }
.maintenance-date .date-day { color: var(--ink); display: block; font-size: 20px; font-weight: 730; line-height: 1; }
.maintenance-date > span:last-child { color: var(--muted); display: block; font-size: 11px; margin-top: 4px; text-transform: uppercase; }
.maintenance-description { color: var(--ink-soft); line-height: 1.55; max-width: 720px; white-space: pre-line; }

.empty-state {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    padding: 44px 20px;
    text-align: center;
}

.empty-state > span {
    align-items: center;
    background: var(--primary-soft);
    border-radius: 14px;
    color: var(--primary);
    display: inline-flex;
    font-size: 20px;
    height: 50px;
    justify-content: center;
    margin-bottom: 13px;
    width: 50px;
}

.empty-state strong { color: var(--ink); font-size: 15px; }
.empty-state p { margin: 5px 0 14px; }

/* Sayfa içi özel bileşenler */
.list-group-item { border-color: var(--line); color: var(--ink-soft); padding: 13px 0; }
.list-group-unbordered > .list-group-item { border-left: 0; border-right: 0; }
.callout { border-radius: 9px; box-shadow: none; }
.callout.callout-warning { background: var(--warning-soft); border-left-color: #d99c3f; color: #714b09; }
.box-profile .profile-username { color: var(--ink); font-weight: 720; }
.nav-tabs .nav-link { border: 0; border-radius: 0; color: var(--muted); font-weight: 600; }
.nav-tabs .nav-link.active { border-bottom: 2px solid var(--primary); color: var(--primary); }

/* Giriş ekranı */
.auth-shell { align-items: center; background: radial-gradient(circle at 15% 20%, #e5efff 0, transparent 28%), radial-gradient(circle at 85% 80%, #e2f6f1 0, transparent 30%), #f6f8fb; display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.auth-shell .auth-card { background: rgba(255,255,255,.96); border: 1px solid rgba(223,230,240,.95); border-radius: 18px; box-shadow: 0 18px 44px rgba(16,24,40,.12); max-width: 440px; padding: 30px; width: 100%; }
.auth-brand { align-items: center; color: var(--ink); display: flex; gap: 11px; justify-content: center; margin-bottom: 26px; text-decoration: none; }
.auth-brand .brand-mark { margin-right: 0; }
.auth-brand strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.auth-brand small { color: var(--muted); display: block; font-size: 11px; margin-top: 2px; }
.auth-card h1 { color: var(--ink); font-size: 22px; font-weight: 720; letter-spacing: -.03em; }
.auth-card .text-gray-600 { color: var(--muted) !important; }
.auth-card input { background: #fbfcfe; border-color: var(--line-strong); border-radius: 9px; color: var(--ink); }
.auth-card input:focus { border-color: #7a9ff0; box-shadow: 0 0 0 3px rgba(36,87,214,.12); }
.auth-card button[type="submit"] { background: var(--primary); border-radius: 9px; color: #fff; font-weight: 700; padding: 10px 15px; }
.auth-card a { color: var(--primary) !important; text-decoration: none; }

@media (max-width: 991.98px) {
    .panel-content-header, .content-header { padding: 20px 18px 10px; }
    .panel-content, .content { padding: 10px 18px 22px; }
    .dashboard-heading, .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .dashboard-hero { padding: 22px; }
    .dashboard-hero h1 { font-size: 23px; }
}

@media (max-width: 575.98px) {
    .content-header h1 { font-size: 21px; }
    .content-header .text-right, .content-header .text-sm-right { margin-top: 12px; text-align: left !important; }
    .content-header .btn, .content-header a.btn { margin: 0 6px 6px 0; }
    .card-header { min-height: 54px; padding: 12px 14px; }
    .card-body { padding: 14px; }
    .table thead th, .table td { padding: 11px 10px; }
    .dashboard-heading-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .dashboard-heading-actions .btn, .page-heading > .btn { margin: 0; width: 100%; }
    .dashboard-chart { height: 240px; min-height: 240px; }
    .dashboard-chart canvas { max-height: 240px; }
    .dashboard-hero .btn { margin-top: 12px; }
}
