/* ═══════════════════════════════════════════════════════════
   PricePilot – Pricing & Analyse
   Custom Styles
   ═══════════════════════════════════════════════════════════ */

:root {
    --pt-primary: #e63946;
    --pt-primary-light: #ff4d5a;
    --pt-accent: #e63946;
    --pt-accent-light: #ff6b77;
    --pt-orange: #f77f00;
    --pt-red: #e63946;
    --pt-green: #2a9d8f;
    --pt-sidebar-bg: #850000;
    --pt-sidebar-hover: #6b0000;
    --pt-sidebar-active: #ffcdd2;
    --pt-body-bg: #f8f9fa;
    --pt-card-bg: #ffffff;
    --pt-text: #2d3436;
    --pt-text-muted: #636e72;
    --pt-border: #dfe6e9;
    --sidebar-width: 260px;
    --topbar-height: 60px;
}

* {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--pt-body-bg);
    color: var(--pt-text);
    font-size: 0.875rem;
}

/* ─── Login Page ─────────────────────────────────────────── */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #e63946 100%);
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: var(--pt-card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    max-width: 180px;
    margin-bottom: 1rem;
}

.login-header h2 {
    font-weight: 700;
    color: var(--pt-primary);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pt-border);
}

/* App Navbar & Layout */

.app-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 58px;
    background: var(--pt-sidebar-bg);
    display: flex;
    align-items: center;
    padding: 0 1.75rem;
    gap: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.app-brand-icon { font-size: 1.45rem; color: rgba(255, 255, 255, 0.9); }

.app-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.app-brand-name {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
}

.app-brand-sub { font-size: 0.84rem; font-weight: 600; color: #fff; }

.app-navbar-center { flex: 1; text-align: center; }

.app-page-title {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.48);
    font-weight: 500;
}

.app-navbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.app-home-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.app-home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.app-home-btn i { font-size: 0.85rem; }

.app-user-chip { display: flex; align-items: center; gap: 0.5rem; }

.app-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.app-user-info { display: flex; flex-direction: column; line-height: 1.2; }
.app-user-name { font-size: 0.8rem; color: #fff; font-weight: 500; }
.app-user-role { font-size: 0.64rem; color: rgba(255, 255, 255, 0.38); }

.app-logout {
    color: rgba(255, 255, 255, 0.48);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.3rem;
    border-radius: 5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.app-logout:hover { color: rgba(255, 220, 220, 0.95); background: rgba(255, 255, 255, 0.08); }

.app-shell { min-height: 100vh; padding-top: 58px; }

.app-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.75rem;
}

.app-flash-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.75rem 0;
}

.app-flash-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.leave-modal-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.12);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    font-size: 1.6rem;
    color: #ffc107;
}

/* Home Page Hero */

.home-hero {
    background: linear-gradient(135deg, #850000 0%, #6b0000 100%);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: '';
    position: absolute;
    right: -50px; top: -50px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255, 200, 200, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.home-greeting {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.home-date { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); margin-bottom: 2rem; }

.home-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }

.home-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}

.home-stat-lbl {
    font-size: 0.69rem;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
    display: block;
}

.home-section-hd {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pt-text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.home-section-hd::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pt-border);
}

/* Tile Cards */

.tile-card {
    background: var(--pt-card-bg);
    border-radius: 16px;
    padding: 1.75rem 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid var(--pt-border);
    transition: all 0.22s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.tile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--tile-color, var(--pt-primary));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.22s;
}

.tile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--tile-color, var(--pt-primary));
    color: inherit;
    animation: none;
}

.tile-card:hover::before { opacity: 1; }

.tile-num {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pt-text-muted);
    margin-bottom: 1rem;
}

.tile-icon-wrap {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    background: color-mix(in srgb, var(--tile-color, var(--pt-primary)) 10%, transparent);
    color: var(--tile-color, var(--pt-primary));
    transition: background 0.22s;
}

.tile-card:hover .tile-icon-wrap {
    background: color-mix(in srgb, var(--tile-color, var(--pt-primary)) 18%, transparent);
}

.tile-title {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--pt-text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.tile-desc {
    font-size: 0.8rem;
    color: var(--pt-text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.5rem;
}

.tile-arrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tile-color, var(--pt-primary));
}

.tile-arrow i { transition: transform 0.2s; }
.tile-card:hover .tile-arrow i { transform: translateX(5px); }

.tc-catalog  { --tile-color: #4361ee; }
.tc-customer { --tile-color: #2a9d8f; }
.tc-set      { --tile-color: #7209b7; }
.tc-history  { --tile-color: #f77f00; }
.tc-compete  { --tile-color: var(--pt-primary); }
.tc-catalog2 { --tile-color: #0096c7; }
.tc-data     { --tile-color: #023e8a; }
.tc-admin    { --tile-color: #495057; }

@keyframes tilePop {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tile-card { animation: tilePop 0.3s ease both; }



.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--pt-border);
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ─── KPI Cards ──────────────────────────────────────────── */

.kpi-card {
    background: var(--pt-card-bg);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kpi-body {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pt-primary);
    line-height: 1.2;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--pt-text-muted);
}

.kpi-card-sm {
    padding: 1rem;
}

.kpi-card-sm .kpi-value {
    font-size: 1.25rem;
}

/* ─── Result Card ────────────────────────────────────────── */

.result-card .card-header {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.result-label {
    font-size: 0.85rem;
    color: var(--pt-text-muted);
}

.result-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.result-factor {
    font-size: 1.4rem;
    color: var(--pt-accent);
}

.result-highlight {
    background: rgba(230, 57, 70, 0.06);
    margin: 0 -1.25rem;
    padding: 0.5rem 1.25rem;
}

.result-final {
    background: var(--pt-primary);
    color: #fff;
    margin: 0.5rem -1.25rem -1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
}

.result-final .result-label {
    color: rgba(255, 255, 255, 0.8);
}

.result-final .result-value {
    font-size: 1.25rem;
    color: #fff;
}

/* ─── Factor Bar ─────────────────────────────────────────── */

.factor-bar {
    position: relative;
}

.factor-bar-track {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.factor-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pt-green), var(--pt-accent), var(--pt-orange));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.factor-bar-min,
.factor-bar-max {
    position: absolute;
    bottom: -18px;
    font-size: 0.7rem;
    color: var(--pt-text-muted);
}

.factor-bar-min { left: 0; }
.factor-bar-max { right: 0; }

/* ─── Criterion Cards ────────────────────────────────────── */

.criterion-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--pt-border);
    transition: border-color 0.2s ease;
}

.criterion-card:hover {
    border-color: var(--pt-accent);
}

.criterion-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pt-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.slider-label-left,
.slider-label-right {
    max-width: 45%;
    line-height: 1.2;
    font-size: 0.72rem;
}

.slider-label-right {
    text-align: right;
}

/* Custom range slider */
.criterion-range {
    height: 6px;
}

.criterion-range::-webkit-slider-thumb {
    background: var(--pt-accent);
    width: 18px;
    height: 18px;
}

.criterion-range::-moz-range-thumb {
    background: var(--pt-accent);
    width: 18px;
    height: 18px;
    border: none;
}

.criterion-info-icon {
    cursor: help;
    opacity: 0.55;
    font-size: 0.8rem;
    color: var(--pt-text-muted);
    transition: opacity 0.2s ease, color 0.2s ease;
    vertical-align: middle;
}

.criterion-info-icon:hover {
    opacity: 1;
    color: var(--pt-accent);
}

/* ─── Tables ──────────────────────────────────────────────── */

.table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pt-text-muted);
    border-bottom-width: 1px;
    padding: 0.75rem 1rem;
}

.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: rgba(230, 57, 70, 0.04);
}

/* ─── Posts ───────────────────────────────────────────────── */

.post-card {
    transition: background-color 0.2s ease;
}

.post-card:hover {
    background-color: rgba(230, 57, 70, 0.02);
}

/* ─── Flash Messages

.flash-messages {
    margin-bottom: 1rem;
}

.flash-messages .alert {
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Buttons ────────────────────────────────────────────── */

.btn-primary {
    background: var(--pt-accent);
    border-color: var(--pt-accent);
}

.btn-primary:hover {
    background: var(--pt-primary-light);
    border-color: var(--pt-primary-light);
}

.btn-outline-primary {
    color: var(--pt-accent);
    border-color: var(--pt-accent);
}

.btn-outline-primary:hover {
    background: var(--pt-accent);
    border-color: var(--pt-accent);
}

/* ─── Badges ─────────────────────────────────────────────── */

.badge {
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .app-content {
        padding: 1.25rem 1rem;
    }

    .app-flash-wrap {
        padding: 0.75rem 1rem 0;
    }

    .app-user-info {
        display: none;
    }

    .home-hero {
        padding: 1.5rem;
    }

    .home-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .app-brand-text { display: none; }
    .app-home-btn span { display: none; }
    .app-content { padding: 1rem 0.75rem; }
    .app-flash-wrap { padding: 0.5rem 0.75rem 0; }
    .home-hero { border-radius: 12px; padding: 1.25rem; }
    .home-greeting { font-size: 1.2rem; }

    .login-card {
        padding: 1.5rem;
    }

    .kpi-value {
        font-size: 1.25rem;
    }
}

/* ─── Animations ─────────────────────────────────────────── */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease;
}

/* ─── Scrollbar ──────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ─── Print ──────────────────────────────────────────────── */

@media print {
    .app-navbar { display: none !important; }
    .app-shell  { padding-top: 0 !important; }
    .btn, form[method="POST"] { display: none !important; }
}

/* ─── Artikelkatalog ─────────────────────────────────────── */

.catalog-theme-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.catalog-theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.catalog-theme-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.catalog-theme-card .badge-count {
    font-size: 0.75rem;
    padding: 4px 8px;
}

.catalog-search-bar {
    background: var(--bs-body-bg);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.catalog-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.catalog-series-row:hover {
    background-color: var(--bs-tertiary-bg);
}

.catalog-series-row td {
    vertical-align: middle;
}

.catalog-item-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
}

.art-nr-badge {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* ─── Compact Calculator View ────────────────────────────── */

#calcForm .card {
    margin-bottom: 0.8rem !important;
}

#calcForm .card-header {
    padding: 0.6rem 1rem;
}

#calcForm .card-body {
    padding: 0.8rem 1rem;
}

#calcForm .row.g-4 {
    --bs-gutter-x: 0.8rem !important;
    --bs-gutter-y: 0.8rem !important;
}

#calcForm .row.g-3 {
    --bs-gutter-x: 0.6rem !important;
    --bs-gutter-y: 0.6rem !important;
}

#calcForm .btn-group.mb-4 {
    margin-bottom: 0.8rem !important;
}

#calcForm .btn-lg {
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

#calcForm .criterion-card {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem !important;
}

#calcForm .form-label {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

#calcForm .form-control,
#calcForm .form-select,
#calcForm .input-group-text,
#calcForm .btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
}

#calcForm hr {
    margin: 0.8rem 0 !important;
}

#calcForm .mb-4 {
    margin-bottom: 0.8rem !important;
}

#calcForm .mb-3 {
    margin-bottom: 0.5rem !important;
}

#calcForm .result-card .card-header {
    padding: 0.35rem 0.8rem;
}

#calcForm .result-card .card-body {
    padding: 0.4rem 0.8rem;
}

#calcForm .result-card .result-item {
    padding: 0.2rem 0;
}

#calcForm .result-card .result-label {
    font-size: 0.78rem;
}

#calcForm .result-card .result-value {
    font-size: 0.92rem;
}

#calcForm .result-card .result-total {
    font-size: 1.05rem;
}

#calcForm .result-card hr {
    margin: 0.3rem 0 !important;
}

#calcForm .result-card .factor-bar {
    margin-bottom: 0.3rem !important;
}

/* Negative Margins an kompakten card-body padding (0.8rem) anpassen */
#calcForm .result-card .result-highlight {
    margin: 0 -0.8rem;
    padding: 0.35rem 0.8rem;
}

#calcForm .result-card .result-final {
    margin: 0.5rem -0.8rem -0.4rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0 0 10px 10px;
}

/* ─── Calculator Sticky Panel ────────────────────────────── */

.calc-sticky-panel {
    position: sticky;
    top: calc(58px + 1rem);
    z-index: 990;
}

@media (min-width: 992px) {
    #calcForm .row.g-4 > .col-lg-3 {
        flex: 0 0 auto;
        width: 21.25%;
        max-width: 21.25%;
    }
}

/* ─── Approval / Freigabe ────────────────────────────────── */

.tc-approval { --tile-color: #e63946; }

.approval-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--pt-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(230, 57, 70, 0.4);
}

.approval-navbar-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--pt-primary);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 3px;
}

.approval-lamp {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}

.approval-lamp-green {
    background: #2a9d8f;
    color: #2a9d8f;
    box-shadow: 0 0 8px rgba(42, 157, 143, 0.5);
}

.approval-lamp-yellow {
    background: #f77f00;
    color: #f77f00;
    box-shadow: 0 0 8px rgba(247, 127, 0, 0.5);
    animation: lampPulse 2s ease-in-out infinite;
}

.approval-lamp-red {
    background: #e63946;
    color: #e63946;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

.approval-lamp-grey {
    background: #b2bec3;
    color: #b2bec3;
    box-shadow: 0 0 4px rgba(178, 190, 195, 0.3);
}

.approval-lamp-inline {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    vertical-align: middle;
}

.approval-lamp-inline.approval-lamp-green {
    background: #2a9d8f;
    box-shadow: 0 0 5px rgba(42, 157, 143, 0.45);
}

.approval-lamp-inline.approval-lamp-yellow {
    background: #f77f00;
    box-shadow: 0 0 5px rgba(247, 127, 0, 0.45);
    animation: lampPulse 2s ease-in-out infinite;
}

.approval-lamp-inline.approval-lamp-red {
    background: #e63946;
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.45);
}

@keyframes lampPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.approval-status-card .card-header {
    padding: 0.5rem 0.8rem;
}

.approval-status-card .card-body {
    padding: 0.6rem 0.8rem;
}

