:root {
    /* DEFAULT GREEN THEME (INVERSÉ) */
    --primary: #16a34a;
    --primary-dark: #15803d;
    --secondary: #000000;
    --bg-body: #f0fdf4;
    --bg-panel: #dcfce7;
    --text-main: #2d2d2d;
    --text-muted: #797979;
    --border-color: #e6e6e6;
    --success: #32c832;
    --bg-gradient: radial-gradient(#d1e7dd 1px, transparent 1px);
}

/* ORANGE THEME OVERRIDES (INVERSÉ - devient l'alternatif) */
/* ORANGE THEME OVERRIDES (INVERSÉ - devient l'alternatif) */
html.theme-orange,
body.theme-orange {
    --primary: #FF7900;
    --primary-dark: #cc5d00;
    --bg-body: #fffaf5;
    --bg-panel: #fff2e6;
    --bg-gradient: radial-gradient(#ffe0cc 1px, transparent 1px);
    --success: #32c832;
}

/* Common Styles for Toggle Button */
.theme-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
    border: 2px solid var(--primary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

/* --- COMPONENTS ATOMIQUES PREMIUM --- */
.osep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.osep-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.osep-card:hover {
    transform: translateY(-4px);
}

.osep-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

/* --- HIDE SCROLLBARS GLOBALLY --- */
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html,
body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}