:root {
    --ubs-radius: 0px !important;
    /* Mettez 0px pour supprimer l'arrondi forcé */
}

/* Supprimez ou commentez ce bloc s'il force le radius globalement sur tout */
*,
*::before,
*::after {
    /* border-radius: var(--ubs-radius) !important; */
}

input[type="checkbox"],
input[type="radio"] {
    border-radius: 3px !important;
}

img.rounded-circle,
img.rounded-full,
.rounded-circle {
    border-radius: 0% !important;
}

.ubs-theme-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2000;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
    cursor: pointer;
}

html.dark {
    color-scheme: dark;
}

html.dark body {
    background: #0b1220 !important;
    color: #e2e8f0 !important;
}

html.dark body .bg-white,
html.dark body .bg-gray-50,
html.dark body .bg-gray-100,
html.dark body .bg-slate-50,
html.dark body .bg-slate-100,
html.dark body .card,
html.dark body .modal-content,
html.dark body .dropdown-menu,
html.dark body .list-group-item {
    background-color: #111827 !important;
    color: #e2e8f0 !important;
}

html.dark body .text-gray-900,
html.dark body .text-gray-800,
html.dark body .text-slate-900,
html.dark body .text-slate-800 {
    color: #f1f5f9 !important;
}

html.dark body .text-gray-700,
html.dark body .text-slate-700,
html.dark body .text-slate-600 {
    color: #cbd5e1 !important;
}

html.dark body .border-gray-100,
html.dark body .border-gray-200,
html.dark body .border-slate-100,
html.dark body .border-slate-200,
html.dark body .border-slate-300 {
    border-color: #334155 !important;
}

html.dark body input:not([type="checkbox"]):not([type="radio"]),
html.dark body textarea,
html.dark body select,
html.dark body .form-control,
html.dark body .custom-select {
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

html.dark body .table,
html.dark body .table th,
html.dark body .table td {
    color: #e2e8f0;
}

html.dark body .content-wrapper,
html.dark body .main-footer,
html.dark body .main-header,
html.dark body .main-sidebar {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
}

html.dark body.auth-page .bg-slate-950 {
    background-color: #0b1220 !important;
}

html.dark body.auth-page [class~="bg-slate-900/90"] {
    background-color: #111827 !important;
    border-color: #334155 !important;
}

html.dark body.auth-page input {
    background-color: #0f172a !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

html.dark body.auth-page .border-slate-800,
html.dark body.auth-page .border-slate-900 {
    border-color: #334155 !important;
}

html:not(.dark) body.auth-page {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

html:not(.dark) body.auth-page .bg-slate-950 {
    background-color: #f1f5f9 !important;
}

html:not(.dark) body.auth-page [class~="bg-slate-900/90"] {
    background-color: #fff !important;
    border-color: #cbd5e1 !important;
}

html:not(.dark) body.auth-page .text-white,
html:not(.dark) body.auth-page .text-slate-100,
html:not(.dark) body.auth-page .text-slate-300 {
    color: #1e293b !important;
}

html:not(.dark) body.auth-page .text-slate-400,
html:not(.dark) body.auth-page .text-slate-500 {
    color: #475569 !important;
}

html:not(.dark) body.auth-page input {
    background-color: #fff !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

html:not(.dark) body.auth-page .border-slate-800,
html:not(.dark) body.auth-page .border-slate-900 {
    border-color: #cbd5e1 !important;
}
