:root {
    --siga-primary: #0f5c4d;
    --siga-primary-dark: #0a4036;
    --siga-primary-soft: #e8f5f1;
    --siga-secondary: #f3b233;
    --siga-dark: #1f2937;
    --siga-muted: #6b7280;
    --siga-light: #f8fafc;
    --siga-border: #e5e7eb;
    --siga-danger: #dc3545;
    --siga-success: #198754;
}

body {
    background: #f4f7f6;
    color: var(--siga-dark);
}

.siga-navbar {
    background: linear-gradient(135deg, var(--siga-primary), var(--siga-primary-dark));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 92, 77, 0.18);
}

.siga-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.siga-brand:hover {
    color: #ffffff;
}

.siga-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--siga-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.siga-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.siga-brand-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.siga-brand-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.siga-brand-subtitle {
    font-size: 12px;
    opacity: 0.85;
}

.siga-page-header {
    background: #ffffff;
    border-bottom: 1px solid var(--siga-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.siga-page-title {
    font-weight: 800;
    color: var(--siga-dark);
    margin-bottom: 2px;
}

.siga-page-subtitle {
    color: var(--siga-muted);
    font-size: 14px;
}

.siga-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.siga-card .card-header {
    background: #ffffff;
    border-bottom: 1px solid var(--siga-border);
    border-radius: 18px 18px 0 0;
    font-weight: 700;
}

.siga-stat-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    position: relative;
}

.siga-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--siga-primary);
}

.siga-stat-label {
    color: var(--siga-muted);
    font-size: 13px;
    font-weight: 600;
}

.siga-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--siga-dark);
}

.siga-stat-help {
    color: var(--siga-muted);
    font-size: 12px;
}

.btn-primary {
    background-color: var(--siga-primary);
    border-color: var(--siga-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--siga-primary-dark);
    border-color: var(--siga-primary-dark);
}

.btn-outline-primary {
    color: var(--siga-primary);
    border-color: var(--siga-primary);
}

.btn-outline-primary:hover {
    background-color: var(--siga-primary);
    border-color: var(--siga-primary);
}

.badge.bg-primary {
    background-color: var(--siga-primary) !important;
}

.table thead th {
    font-size: 13px;
    color: var(--siga-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table tbody td {
    vertical-align: middle;
}

.dropdown-menu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.form-control,
.form-select {
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--siga-primary);
    box-shadow: 0 0 0 0.18rem rgba(15, 92, 77, 0.14);
}

.siga-soft-panel {
    background: var(--siga-primary-soft);
    border: 1px solid rgba(15, 92, 77, 0.12);
    border-radius: 18px;
    padding: 18px;
}

.siga-avatar {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.siga-logo-box {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid var(--siga-border);
    background: #ffffff;
    padding: 6px;
}






.siga-public-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 92, 77, 0.14), transparent 32%),
        radial-gradient(circle at bottom right, rgba(243, 178, 51, 0.18), transparent 34%),
        #f4f7f6;
}

.siga-public-navbar {
    padding: 18px 0;
    background: linear-gradient(135deg, var(--siga-primary), var(--siga-primary-dark));
    box-shadow: 0 10px 30px rgba(15, 92, 77, 0.18);
}

.siga-public-hero {
    padding: 80px 0 60px;
}

.siga-public-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--siga-primary-soft);
    color: var(--siga-primary);
    font-weight: 700;
    margin-bottom: 18px;
}

.siga-public-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    color: var(--siga-dark);
    margin-bottom: 18px;
}

.siga-public-text {
    font-size: 1.1rem;
    color: var(--siga-muted);
    max-width: 720px;
    margin-bottom: 28px;
}

.siga-public-mini-card {
    background: #ffffff;
    border: 1px solid var(--siga-border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    height: 100%;
}

.siga-public-mini-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.siga-public-mini-card strong {
    display: block;
    color: var(--siga-dark);
}

.siga-public-mini-card span {
    color: var(--siga-muted);
    font-size: 13px;
}

.siga-public-visual {
    position: relative;
    min-height: 420px;
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(15, 92, 77, 0.96), rgba(10, 64, 54, 0.96)),
        url("../img/siga-pattern.png");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 92, 77, 0.28);
}

.siga-public-visual::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(243, 178, 51, 0.24);
    top: -110px;
    right: -80px;
}

.siga-public-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -90px;
    left: -80px;
}

.siga-public-logo {
    position: relative;
    z-index: 2;
    max-width: 240px;
    width: 70%;
    background: #ffffff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.siga-public-floating-card {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    color: var(--siga-dark);
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.siga-public-floating-card-1 {
    top: 28px;
    left: 24px;
}

.siga-public-floating-card-2 {
    right: 24px;
    bottom: 42px;
}

.siga-public-floating-card-3 {
    left: 38px;
    bottom: 100px;
}

@media (max-width: 991px) {
    .siga-public-hero {
        padding: 46px 0;
    }

    .siga-public-visual {
        min-height: 340px;
    }

    .siga-public-floating-card {
        display: none;
    }
}


.siga-public-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 92, 73, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(243, 178, 51, 0.18), transparent 34%),
        linear-gradient(180deg, #f7faf9 0%, #eef4f2 100%);
    color: var(--siga-dark);
}

.siga-public-navbar {
    padding: 14px 0;
    background: linear-gradient(135deg, var(--siga-primary), var(--siga-primary-dark));
    box-shadow: 0 12px 34px rgba(15, 92, 77, 0.22);
}

.siga-public-hero {
    padding: 48px 0 36px;
}

.siga-public-shell {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(10px);
}

.siga-public-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.04;
    font-weight: 900;
    color: var(--siga-dark);
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.siga-public-text {
    font-size: 1.1rem;
    color: var(--siga-muted);
    max-width: 760px;
    margin-bottom: 28px;
}

.siga-public-visual {
    position: relative;
    min-height: 430px;
    border-radius: 32px;
    background:
        linear-gradient(145deg, rgba(15, 92, 77, 0.96), rgba(10, 64, 54, 0.96));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 92, 77, 0.28);
}

.siga-public-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(243, 178, 51, 0.25);
    top: -120px;
    right: -90px;
}

.siga-public-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    bottom: -80px;
    left: -80px;
}

.siga-public-logo {
    position: relative;
    z-index: 2;
    max-width: 250px;
    width: 70%;
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.20);
}

.siga-public-feature-strip {
    margin-top: 28px;
}

.siga-public-mini-card {
    background: #ffffff;
    border: 1px solid var(--siga-border);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    height: 100%;
    transition: all 0.18s ease;
}

.siga-public-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}


.siga-navbar .nav-link,
.siga-navbar a {
    transition: all 0.18s ease;
}

.siga-main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.siga-main-menu-item {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.siga-main-menu-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10);
}

.siga-main-menu-item.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 -2px 0 var(--siga-secondary);
}


.siga-auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 92, 77, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(243, 178, 51, 0.20), transparent 34%),
        linear-gradient(180deg, #f7faf9 0%, #edf4f1 100%);
}

.siga-auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 0;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
}

.siga-auth-logo {
    width: 120px;
    margin: 0 auto 18px;
    display: block;
}

.siga-auth-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--siga-dark);
    text-align: center;
    margin-bottom: 4px;
}

.siga-auth-subtitle {
    color: var(--siga-muted);
    text-align: center;
    margin-bottom: 26px;
}


.siga-dashboard-visual {
    min-height: 260px;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(15, 92, 77, 0.96), rgba(10, 64, 54, 0.96));
    border-radius: 0 18px 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.siga-dashboard-visual::before {
    content: "";
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(243, 178, 51, 0.22);
    position: absolute;
    top: -80px;
    right: -60px;
}

.siga-dashboard-logo {
    position: relative;
    z-index: 2;
    max-width: 180px;
    background: #ffffff;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.siga-dashboard-chip {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    color: var(--siga-dark);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.siga-dashboard-chip.top {
    top: 26px;
    left: 24px;
}

.siga-dashboard-chip.bottom {
    bottom: 26px;
    right: 24px;
}


.siga-public-footer {
    padding: 28px 0;
    background: #0f172a;
    color: #ffffff;
    border-top: 4px solid #198754;
}

.siga-footer-brand {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.siga-footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.siga-footer-copy {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
}

.siga-footer-text strong {
    color: #7ee2a8;
}

.siga-footer-link {
    color: #7ee2a8;
    text-decoration: none;
}

.siga-footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.siga-app-shell {
    min-height: 100vh;
    display: flex;
    background: #f4f7f6;
}

.siga-sidebar {
    width: 290px;
    min-height: 100vh;
    background: linear-gradient(180deg, #075244 0%, #053a31 100%);
    color: #ffffff;
    padding: 18px 16px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    overflow-y: auto;
}

.siga-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    padding: 10px 8px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.siga-sidebar-brand:hover {
    color: #ffffff;
}

.siga-sidebar-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 16px;
    padding: 6px;
}

.siga-sidebar-title {
    font-weight: 900;
    font-size: 17px;
    line-height: 1;
}

.siga-sidebar-subtitle {
    font-size: 12px;
    opacity: 0.78;
}

.siga-sidebar-section {
    margin-top: 18px;
}

.siga-sidebar-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 8px 8px;
    font-weight: 800;
}

.siga-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 650;
    font-size: 14px;
    margin-bottom: 4px;
    transition: all 0.18s ease;
}

.siga-sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.siga-sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 4px 0 0 var(--siga-secondary);
}

.siga-sidebar-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.siga-app-main {
    flex: 1;
    min-width: 0;
}

.siga-topbar {
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid var(--siga-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 20;
}

.siga-main-content {
    padding: 0;
}

@media (max-width: 991px) {
    .siga-app-shell {
        display: block;
    }

    .siga-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
        border-radius: 0 0 24px 24px;
    }

    .siga-topbar {
        position: relative;
    }
}