/* === ONBOARDING NEW 2 - STYLES === */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* === CONTENEUR PRINCIPAL === */
.onboarding-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === PROGRESS BAR ULTRA-MINIMALISTE === */
.progress-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.progress-bar-container {
    height: 4px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #007ca1, #00a8d6);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.progress-info {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #666;
}

.progress-step-name {
    font-weight: 600;
    color: #007ca1;
}

.progress-percentage {
    font-weight: 500;
}

/* === CONTENEUR DE CONTENU === */
.content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    min-height: 100vh;
}

/* === MODE CONVERSATIONNEL === */
.conversation-container {
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.5s ease-out;
}

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

.question-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.question-card.hiding {
    opacity: 0;
    transform: translateY(-30px);
}

.question-card.entering {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.question-emoji {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.question-text {
    font-size: 1.8em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.4;
}

.question-subtext {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* === INPUTS CONVERSATIONNELS === */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.conversation-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.2em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.conversation-input:focus {
    outline: none;
    border-color: #007ca1;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 124, 161, 0.1);
    transform: translateY(-2px);
}

.conversation-input.valid {
    border-color: #4caf50;
    background: #f1f8f4;
}

.conversation-input.invalid {
    border-color: #f44336;
    background: #fef1f0;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    opacity: 0;
    transition: all 0.3s ease;
}

.input-icon.show {
    opacity: 1;
    animation: popIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% { transform: translateY(-50%) scale(0); }
    100% { transform: translateY(-50%) scale(1); }
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 8px;
}

.toggle-password:hover {
    opacity: 1;
}

.error-message {
    color: #f44336;
    font-size: 0.9em;
    margin-top: 8px;
    padding-left: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

/* === BOUTONS CONVERSATIONNELS === */
.conversation-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-conversation {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #007ca1, #00a8d6);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 124, 161, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 161, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #007ca1;
    color: #007ca1;
}

.keyboard-hint {
    text-align: center;
    color: #95a5a6;
    font-size: 0.85em;
    margin-top: 15px;
}

/* Masquer le hint clavier sur mobile */
@media (max-width: 768px) {
    .keyboard-hint {
        display: none;
    }
}

/* === MODE CARDS SALARIÉS === */
.cards-container {
    width: 100%;
    max-width: 900px;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.cards-container.active {
    display: block;
}

.cards-header {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cards-header h2 {
    color: #007ca1;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.cards-header p {
    color: #666;
    font-size: 1.1em;
}

.cards-reassurance {
    background: #f0f9ff;
    border-left: 3px solid #007ca1;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95em !important;
    color: #1e6a82 !important;
    margin-top: 8px;
}

.cards-content {
    background: white;
    padding: 20px 30px 30px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.salarie-card {
    background: linear-gradient(135deg, #f8fcff 0%, #e3f2fd 100%);
    border: 2px solid #b2d7f7;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.salarie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007ca1, #00a8d6);
}

.salarie-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 124, 161, 0.15);
    border-color: #007ca1;
}

.salarie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.salarie-title {
    color: #007ca1;
    font-size: 1.3em;
    font-weight: 700;
}

.remove-salarie {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.remove-salarie:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-field input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus {
    outline: none;
    border-color: #007ca1;
    box-shadow: 0 0 0 3px rgba(0, 124, 161, 0.1);
}

.configure-horaires-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007ca1, #00a8d6);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.configure-horaires-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 161, 0.3);
}

.configure-horaires-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.horaires-status {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9em;
}

.add-salarie-btn {
    width: 100%;
    padding: 16px;
    background: white;
    color: #007ca1;
    border: 2px dashed #007ca1;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-salarie-btn-mobile {
    padding: 10px;
    font-size: 0.95em;
    margin-top: 8px;
}

.add-salarie-btn:hover {
    background: #f0f9fc;
    border-style: solid;
}

.cards-footer {
    background: white;
    border-radius: 0 0 20px 20px;
    padding: 20px 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-text-long {
    display: inline;
}

.btn-text-short {
    display: none;
}

/* === RÉCAPITULATIF === */
.recap-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
    display: none;
}

.recap-container.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.recap-container h2 {
    color: #007ca1;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.recap-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.recap-section h3 {
    color: #005f7a;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.recap-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.recap-item:last-child {
    border-bottom: none;
}

.recap-label {
    font-weight: 600;
    color: #666;
}

.recap-value {
    color: #2c3e50;
}

.final-action {
    margin-top: 30px;
    text-align: center;
}

.btn-create {
    padding: 20px 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.btn-create:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-create:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* === MODAL HORAIRES === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #007ca1, #00a8d6);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.close {
    color: white;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 1;
}

.close:hover {
    transform: rotate(90deg);
}

#modalContent {
    padding: 30px;
}

/* === STYLES POUR LES TABLEAUX DANS LE MODAL === */
.modal-content table {
    margin: 0.8em auto;
    border-collapse: collapse;
    font-size: 0.85em;
    border: 2px solid #444;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.modal-content th,
.modal-content td {
    border: 1px solid #999;
    padding: 8px 4px;
    text-align: center;
    background-color: #dbf8ff;
    vertical-align: middle;
}

.modal-content th {
    background-color: #007ca1;
    color: white;
    font-weight: bold;
    padding: 10px 4px;
}

.modal-content tr.jour-weekend td {
    background-color: #b2d7f7 !important;
}

.modal-content .input-plat {
    background: transparent;
    border: none;
    color: #2c3e50;
    font-family: inherit;
    font-size: 1em;
    width: 100%;
    padding: 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;

    /* SOLUTION : Empêcher le curseur et le décalage du texte */
    caret-color: transparent !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.modal-content .input-plat:focus {
    outline: none;
    background: rgba(0, 124, 161, 0.05);
    box-shadow: 0 0 0 2px rgba(0, 124, 161, 0.1);

    /* SOLUTION : Même en focus, pas de curseur */
    caret-color: transparent !important;
    user-select: none;
}

.modal-content .input-plat:hover {
    background: rgba(0, 124, 161, 0.02);
}

/* SOLUTION : Forcer sur tous les inputs horaires */
.modal-content .horaire {
    caret-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    cursor: pointer !important;
}

.modal-content .horaire:focus {
    caret-color: transparent !important;
    user-select: none !important;
    outline: none !important;
}

.modal-content .jour-label-mobile {
    display: none;
}

.modal-content .jour-label-desktop {
    display: inline;
}

.modal-content h2.mois {
    text-align: center;
    margin: 1em 0 0.5em 0;
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
    padding: 0.8rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #007ca1;
}

/* Masquer complètement les icônes natives des inputs time sur tous les navigateurs */
input[type="time"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    padding-right: 12px !important;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
}

input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button {
    display: none !important;
    -webkit-appearance: none;
    margin: 0 !important;
}

input[type="time"]::-webkit-datetime-edit {
    padding: 0;
}

input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

/* === STYLES POUR LE MODAL HORAIRE === */
#nouvel-horaire {
    margin: 0 auto;
    display: block;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    /* Optimisation du header Configuration salariés */
    .cards-header {
        padding: 12px 15px;
    }

    .cards-header h2 {
        font-size: 1.2em;
        margin-bottom: 0;
    }

    .cards-header p {
        font-size: 0.9em;
    }

    .cards-header p .desktop-long {
        display: none;
    }


    .cards-content {
        padding: 10px;
        max-height: calc(100vh - 200px);
    }

    .cards-footer {
        padding: 10px;
        gap: 8px;
        flex-direction: row;
    }

    .cards-footer .btn-conversation {
        padding: 12px 16px;
        font-size: 0.9em;
    }

    .btn-text-long {
        display: none;
    }

    .btn-text-short {
        display: inline;
    }

    /* Modal plein écran sur mobile */
    .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .modal-header {
        border-radius: 0;
        flex-shrink: 0;
    }

    #modalContent {
        padding: 10px 0;
        flex: 1;
        overflow-y: auto;
    }

    /* Tableaux responsive dans le modal - PLEINE LARGEUR */
    .modal-content table {
        width: 100% !important;
        font-size: 0.75em;
        margin: 0;
        border-radius: 0;
    }

    .modal-content th,
    .modal-content td {
        padding: 8px 2px;
    }

    /* SOLUTION COMPLÈTE : Cellules d'horaires optimisées pour mobile */
    .modal-content td:nth-child(2),
    .modal-content td:nth-child(3),
    .modal-content td:nth-child(4),
    .modal-content td:nth-child(5),
    .modal-content td:nth-child(6) {
        padding: 0 !important;
        position: relative;
        min-height: 34px !important;
    }

    /* Labels courts pour les jours */
    .modal-content .jour-label-desktop {
        display: none !important;
    }

    .modal-content .jour-label-mobile {
        display: inline !important;
        font-weight: 700;
        font-size: 1.1em;
    }

    /* SOLUTION COMPLÈTE : Inputs dans le tableau - OPTIMISÉS POUR MOBILE */
    .modal-content td:nth-child(2) input,
    .modal-content td:nth-child(3) input,
    .modal-content td:nth-child(4) input,
    .modal-content td:nth-child(5) input,
    .modal-content td:nth-child(6) input {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        font-size: 1.2em !important;
        font-weight: 600 !important;
        text-align: center !important;
        padding: 8px 2px !important;
        margin: 0 !important;
        border: none;
        background: transparent;
        box-sizing: border-box;
        height: 100%;

        /* CRITIQUE : position absolute pour occuper tout l'espace */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        line-height: 1.4;
        min-height: 44px;
        border-radius: 4px;

        /* Empêcher curseur et sélection */
        caret-color: transparent !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        cursor: pointer !important;
    }

    .modal-content td:nth-child(2) input:focus,
    .modal-content td:nth-child(3) input:focus,
    .modal-content td:nth-child(4) input:focus,
    .modal-content td:nth-child(5) input:focus,
    .modal-content td:nth-child(6) input:focus {
        font-size: 1.2em !important;
        outline: none !important;
        background: rgba(0, 124, 161, 0.05);

        /* Même en focus, pas de curseur */
        caret-color: transparent !important;
        user-select: none !important;
    }

    /* Boutons copier/coller empilés */
    .modal-content td button {
        display: block;
        width: 100%;
        margin: 2px 0;
        padding: 4px;
        font-size: 0.85em;
    }

    /* Titres des sections */
    .modal-content h2.mois {
        font-size: 1.2em;
        margin: 0.5em 0 0.3em 0;
        padding: 0.8rem 0.5rem;
        font-weight: 700;
    }

    /* Headers plus lisibles */
    .modal-content th {
        font-size: 0.9em;
        font-weight: 700;
        padding: 10px 4px;
    }

    .content-container {
        padding: 70px 15px 15px;
    }

    .question-card {
        padding: 30px 25px;
    }

    .question-emoji {
        font-size: 2.5em;
    }

    .question-text {
        font-size: 1.5em;
    }

    .conversation-input {
        font-size: 1.1em;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .salarie-card {
        padding: 10px;
        margin-bottom: 8px;
    }

    .add-salarie-btn {
        padding: 8px;
        font-size: 0.9em;
        margin-top: 6px;
    }

    .salarie-header {
        margin-bottom: 10px;
        gap: 6px;
    }

    .salarie-title {
        font-size: 1em;
    }

    .remove-salarie {
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .form-grid {
        gap: 8px;
        margin-bottom: 8px;
    }

    .form-field label {
        margin-bottom: 3px;
        font-size: 0.8em;
    }

    .form-field input {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    .configure-horaires-btn {
        padding: 8px;
        font-size: 0.9em;
        margin-top: 6px;
    }

    .horaires-status {
        font-size: 0.8em;
        margin-top: 3px;
    }

    .recap-container {
        padding: 12px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .recap-container h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .recap-section {
        padding: 10px;
        margin-bottom: 10px;
    }

    .recap-section h3 {
        font-size: 1em;
        margin-bottom: 8px;
    }

    .recap-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
    }

    .recap-label {
        font-size: 0.8em;
        flex-shrink: 0;
    }

    .recap-value {
        font-size: 0.85em;
        word-break: break-word;
        text-align: right;
    }

    .btn-create {
        width: 100%;
        padding: 14px 20px;
        font-size: 1em;
    }

    .final-action {
        margin-top: 12px;
    }

    .final-action .btn-secondary {
        padding: 10px 16px;
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .btn-conversation {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .question-text {
        font-size: 1.3em;
    }

    .conversation-input {
        font-size: 1em;
        padding: 15px;
    }

    .btn-conversation {
        padding: 14px 20px;
    }
}

/* === LOADING === */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === ALERTS === */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideInAlert 0.3s ease-out;
}

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

.alert-error {
    background: #ffeaea;
    color: #721c24;
    border-left-color: #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #c3e6cb;
}

/* === ANIMATIONS === */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
