:root {
    --callant-red: #D1161B;
    --callant-red-dark: #A10E12;
    --callant-radius: 1rem;
}

.sidebar {
    width: 280px;
    min-height: 100vh;
    transition: width .2s ease;
}

.brand-ico {
    height: 42px;
    object-fit: contain;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-logo-login {
    height: 90px;
    object-fit: contain;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.letter-wide {
    letter-spacing: .06em;
}


.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.brand-badge {
    display: inline-block;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--callant-red) 10%, white);
    border: 1px solid color-mix(in srgb, var(--callant-red) 25%, white);
    color: var(--callant-red-dark);
    font-weight: 800;
    font-size: .75rem;
}

.btn-primary {
    --bs-btn-bg: var(--callant-red);
    --bs-btn-border-color: var(--callant-red);
    --bs-btn-hover-bg: var(--callant-red-dark);
    --bs-btn-hover-border-color: var(--callant-red-dark);
    --bs-btn-focus-shadow-rgb: 209,22,27;
    border-radius: var(--callant-radius);
    font-weight: 700;
}

.form-control, .form-select, .card, .btn, .nav-pills .nav-link {
    border-radius: var(--callant-radius);
}

.nav-pills .nav-link {
    color: #111827;
}

    .nav-pills .nav-link:hover {
        background: color-mix(in srgb, var(--callant-red) 6%, white);
    }

    .nav-pills .nav-link.active {
        background: var(--callant-red);
        color: #fff;
    }

pre {
    white-space: pre-wrap;
}

/* Collapsed sidebar: hide text, keep icons */
body.sidebar-collapsed .sidebar {
    width: 84px;
}

    body.sidebar-collapsed .sidebar .brand-text,
    body.sidebar-collapsed .sidebar .nav-text,
    body.sidebar-collapsed .sidebar .sidebar-footer-text {
        display: none !important;
    }

    body.sidebar-collapsed .sidebar .nav-link {
        justify-content: center;
    }

/* Admin chevron always visible: force display even when nav-text hidden */
.admin-chevron {
    opacity: 1;
    transition: transform .2s ease;
    display: inline-block !important;
}

#adminToggle[aria-expanded="true"] .admin-chevron {
    transform: rotate(180deg);
}

/* When collapsed, submenu hidden but chevron still visible */
body.sidebar-collapsed #adminMenu {
    display: none !important;
}
.claim-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    position: relative;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all .3s ease;
}

.step.active .step-circle {
    background-color: #d71920;
    color: white;
    box-shadow: 0 0 0 4px rgba(215,25,32,.15);
}

.step.completed .step-circle {
    background-color: #198754;
    color: white;
}

.step-label {
    margin-top: 8px;
    font-size: .80rem;
    text-align: center;
    line-height: 1.2;
}

.step-line {
    flex: 1;
    height: 3px;
    background-color: #dee2e6;
    margin-top: 20px;
    min-width: 30px;
}

@media (max-width: 992px) {

    .step {
        min-width: 75px;
    }

    .step-label {
        font-size: .75rem;
    }
}

@media (max-width: 768px) {

    .claim-stepper {
        justify-content: flex-start;
    }

    .step {
        min-width: 70px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: .85rem;
    }

    .step-label {
        font-size: .70rem;
    }

    .step-line {
        min-width: 15px;
    }
}

@media (max-width: 576px) {

    .claim-stepper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .step-line {
        display: none;
    }

    .step {
        min-width: auto;
    }

    .step-label {
        font-size: .65rem;
    }

    .btn-actions {
        display: flex;
        gap: .25rem;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    @media (max-width: 768px) {
        .table {
            font-size: .85rem;
        }

        .card h2 {
            font-size: 1.6rem;
        }

        .card h5 {
            font-size: 1rem;
        }
    }
    @media (max-width: 991px) {
        .navbar-collapse {
            background: white;
            margin-top: .75rem;
            padding: 1rem;
            border-radius: 12px;
            box-shadow: 0 .25rem 1rem rgba(0,0,0,.08);
        }

        .navbar-nav .nav-link {
            padding: .75rem 0;
            border-bottom: 1px solid #ececec;
        }

            .navbar-nav .nav-link:last-child {
                border-bottom: 0;
            }

        .brand-ico {
            max-height: 42px;
        }
    }
}