fieldset .form-check .form-check-input:checked {
    border-color: #0D5480 !important;
    background-color: #0D5480 !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #d9effc !important;
    color: #0D5480 !important;
}

button, a[type="button"] {
    border-radius: 0 10px 0 10px !important;
}

.custom-rounded {
    border-radius: 0 10px 0 10px !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: none !important;
}

.main-layout-gradient {
    background: rgb(13,84,128);
    background: linear-gradient(90deg, #0D5480 53%, #16B7D3 100%);
    min-height: 100vh;
}

:dir(rtl) .main-layout-gradient {
    background: linear-gradient(90deg,#16B7D3 -36%, #0D5480 53%);
}

:dir(rtl) .fa-chevron-left, .fa-chevron-right {
    transform: rotate(180deg);
}

:root :dir(rtl) .mud-dialog-container .mud-input-label {
    transform-origin: top right !important;
    left: unset;
    right: 0;
}

/* Panel wrapper styles (safe & namespaced to avoid Lepton conflicts) */
.sp-panel-root {
    margin-top: 8px;
}

/* chevron rotation */
.sp-panel-chevron {
    transition: transform 0.22s ease;
}

    .sp-panel-chevron.open {
        transform: rotate(180deg);
    }

/* collapse animation (simple, no JS) */
.sp-panel-content {
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.18s ease;
    max-height: 0;
    opacity: 0;
}

.sp-panel-content.open {
    max-height: 1200px; /* large enough for content; avoids needing exact height */
    opacity: 1;
}


