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;
  background-color: #f8fafc;
  color: #0f172a;
}

:root {
    --accent-blue: #2563eb;
    --brand-red: #dc2626;
    --brand-red-dark: #b91c1c;
    --brand-blue: #1d4ed8;
    --brand-slate: #0f172a;
    --brand-ice: #f1f5f9;
}

/* Kurumsal HGS sayfa başlığı */
.hgs-page-header {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 60%, #eaf2ff 100%);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.06);
}

.hgs-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.hgs-header-logo {
    height: 44px;
    width: auto;
}

.hgs-navbar-logo {
    height: 42px;
    width: auto;
}

.hgs-login-logo {
    height: 40px;
    width: auto;
}

.hgs-title {
    font-size: clamp(2rem, 2.8vw, 2.4rem);
    letter-spacing: 0.01em;
}

.hgs-header-description {
    max-width: 720px;
}

.hgs-header-meta {
    margin-top: 0.25rem;
}

.hgs-badge-soft-primary {
    background-color: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
}

.hgs-card-elevated {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 0.65rem 1.4rem rgba(15, 23, 42, 0.05);
    background-color: #ffffff;
}

.hgs-summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
    border-radius: 14px;
    border: 1px solid #dbeafe;
    border-right: 4px solid var(--accent-blue);
}

.hgs-input {
    border-radius: 10px;
    border-color: #e2e8f0;
    background-color: #f8fafc;
}

.hgs-input:focus {
    background-color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.2);
}

.hgs-search .input-group-text {
    border-radius: 999px 0 0 999px;
    border-color: #e2e8f0;
    background: linear-gradient(140deg, #ffffff 0%, #f8fbff 100%);
    padding-left: 0.9rem;
}

.hgs-search .form-select {
    border-radius: 0 999px 999px 0;
    border-color: #e2e8f0;
    background: linear-gradient(140deg, #f8fafc 0%, #ffffff 100%);
    min-height: 2.8rem;
    font-weight: 500;
}

.hgs-search .form-select:focus {
    background-color: #ffffff;
    border-color: #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15), 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.hgs-search .form-control {
    border-radius: 0 999px 999px 0;
    border-color: #e2e8f0;
    background: linear-gradient(140deg, #f8fafc 0%, #ffffff 100%);
    min-height: 2.8rem;
    font-weight: 500;
}

.hgs-search .form-control:focus {
    background-color: #ffffff;
    border-color: #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15), 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

.hgs-search-icon-wrap {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #1d4ed8;
    background-color: rgba(37, 99, 235, 0.1);
    font-size: 0.85rem;
}

.hgs-search-help {
    padding-left: 0.35rem;
}

.plate-grid-container {
    max-height: 480px;
    overflow-y: auto;
    padding: 0.25rem;
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
}

.plate-grid-container::-webkit-scrollbar {
    width: 5px;
}

.plate-grid-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.plate-item {
    transition: all 0.18s ease-in-out;
}

.plate-item-inner {
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plate-item-inner:hover {
    border-color: var(--accent-blue);
    background: #ffffff;
}

.plate-item.selected .plate-item-inner {
    background: #eff6ff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue);
}

.hgs-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1050;
}

.text-navy {
    color: #1e293b;
}

.hgs-navbar {
    background: linear-gradient(120deg, #0f172a 0%, #1e3a8a 55%, #b91c1c 100%);
    box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.18);
}

.hgs-navbar .navbar-brand,
.hgs-navbar .nav-link,
.hgs-navbar .navbar-text {
    color: #ffffff;
    font-weight: 600;
}

.hgs-navbar .navbar-brand:hover,
.hgs-navbar .nav-link:hover {
    color: #fde68a;
}


.hgs-profile-toggle {
    border-radius: 999px;
    font-weight: 600;
}

.hgs-profile-menu {
    min-width: 200px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.hgs-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 0.4rem 0.9rem rgba(30, 64, 175, 0.25);
}

.btn-brand:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-red-dark) 0%, #1e40af 100%);
}

.btn-brand-outline {
    border: 1px solid rgba(29, 78, 216, 0.3);
    color: var(--brand-blue);
    background-color: #ffffff;
}

.btn-brand-outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-slate);
    background-color: #eff6ff;
}

.login-shell {
    background: radial-gradient(circle at top left, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 1.2rem 2.2rem rgba(15, 23, 42, 0.08);
}

.hgs-login-panel {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.1);
}

.hgs-login-badge {
    background: rgba(220, 38, 38, 0.12);
    color: var(--brand-red);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.report-results-page {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.5rem 1.75rem 2.5rem;
    box-shadow: 0 1.6rem 2.8rem rgba(15, 23, 42, 0.08);
}

.report-results-page .card {
    border-radius: 18px;
}

.report-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

.report-summary-card.primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #38bdf8 100%);
    color: #ffffff;
}

.report-summary-card.primary h6 {
    color: rgba(255, 255, 255, 0.7);
}

.report-table-header {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}
