/* ============ BASE ============ */
* {
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #1A1D23;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ LOGO ============ */
.logo-gradient {
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ BUTTONS ============ */

/* Primary gradient button */
.btn-gradient {
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #ff5500, #ff9c00);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Secondary button */
.btn-outline-glow {
    border: 2px solid #3b82f6;
    color: #60a5fa;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-glow:hover {
    border-color: #60a5fa;
    color: #93c5fd;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}

/* ============ CARDS ============ */
.card {
    background-color: #23262b;
}

/* ============ SWITCH TOGGLE ============ */
.switch-container {
    background-color: #23262b;
}

.switch-btn {
    transition: all 0.3s ease;
}

.switch-btn.active {
    background: linear-gradient(45deg, #ff4500, #ff8c00);
}

/* ============ FILTER PILLS ============ */
.filter-pill {
    transition: all 0.2s ease;
}

.filter-pill.active {
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    color: white;
    border-color: transparent;
}

/* ============ VOTE BUTTONS ============ */
.vote-btn {
    transition: all 0.2s ease;
}

.vote-btn:active {
    transform: scale(0.95);
}

.vote-up.voted {
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.15);
}

.vote-down.voted {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.15);
}

/* ============ STATUS BADGES ============ */
.status-en-cours {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-archive {
    background-color: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

/* ============ SCORE DISPLAY ============ */
.score-positive {
    color: #22c55e;
}

.score-negative {
    color: #ef4444;
}

/* ============ MODAL ============ */
.perso-type-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.35s ease-out;
}

.perso-type-container.perso-type-visible {
    max-height: 12rem;
    opacity: 1;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* ============ MENU PANEL ============ */
.menu-panel {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.menu-panel.open {
    transform: translateX(0);
}

/* ============ VIEW TRANSITIONS ============ */
.view {
    display: none;
    animation: fadeIn 0.2s ease;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #1A1D23;
}

::-webkit-scrollbar-thumb {
    background: #3b3f47;
    border-radius: 2px;
}

/* ============ INPUT FOCUS ============ */
input:focus,
textarea:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

