/* Bouton loading */
button.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

/* Petit spinner */
button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Messages */
#success, #errors {
    display: none;
    position: relative;
    top: 10px;
}
