/* 
 * Corrections pour le design des modals et alertes KCHGAME
 * Styles visuels uniquement - positionnement naturel préservé
 */

/* SweetAlert2 - Design KCHGAME uniquement */
.swal2-popup {
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(91, 115, 219, 0.3) !important;
    color: #ffffff !important;
}

.swal2-title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.swal2-content {
    color: rgba(255, 255, 255, 0.9) !important;
}

.swal2-icon {
    border-color: transparent !important;
}

.swal2-icon.swal2-error {
    color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    color: #f59e0b !important;
}

.swal2-icon.swal2-success {
    color: #10b981 !important;
}

.swal2-icon.swal2-info {
    color: #3b82f6 !important;
}

/* Boutons SweetAlert2 */
.swal2-confirm, .swal2-cancel {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    margin: 0 5px !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #e94560, #ff6b35) !important;
    border: none !important;
}

.swal2-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Modals Bootstrap - Design uniquement */
.modal-content {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(91, 115, 219, 0.3) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.modal-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(91, 115, 219, 0.2) !important;
}

.modal-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.modal-body {
    color: rgba(255, 255, 255, 0.9) !important;
}

.modal-footer {
    background: transparent !important;
    border-top: 1px solid rgba(91, 115, 219, 0.2) !important;
}

/* Alertes Bootstrap */
.alert {
    border-radius: 12px !important;
    border: 1px solid rgba(91, 115, 219, 0.3) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.9) !important;
    color: #ffffff !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.9) !important;
    color: #ffffff !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.9) !important;
    color: #ffffff !important;
}

.alert-info {
    background: rgba(59, 130, 246, 0.9) !important;
    color: #ffffff !important;
}

/* Toast notifications */
.toast {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(91, 115, 219, 0.3) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}

/* Responsive adjustments - Design uniquement */
@media (max-width: 768px) {
    .swal2-popup {
        max-width: 95vw !important;
        margin: 10px !important;
    }
    
    .modal-dialog {
        max-width: 95vw !important;
        margin: 10px !important;
    }
}

/* Animation d'apparition */
.modal.show .modal-dialog,
.swal2-show,
.alert-show {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 