@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;600;700&family=Bubblegum+Sans&display=swap');

/* Custom SweetAlert2 Popup Styling */
.swal2-popup.dinomatch-theme {
    background: #e6d2b5;
    border: 4px solid #734f30;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Cabin', sans-serif;
    width: 400px;
    padding: 30px;
}

/* Title styling */
.swal2-popup.dinomatch-theme .swal2-title {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 24px;
    color: #3a4d39;
    margin: 0 0 20px 0;
    font-weight: 700;
}

/* Content text styling */
.swal2-popup.dinomatch-theme .swal2-html-container {
    color: #3a4d39;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 15px 0 25px 0;
}

/* Icon styling */
.swal2-popup.dinomatch-theme .swal2-icon {
    border: 3px solid #734f30;
    background-color: #f5f5dc;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    width: 80px;
    height: 80px;
}

.swal2-popup.dinomatch-theme .swal2-icon.swal2-warning,
.swal2-popup.dinomatch-theme .swal2-icon.swal2-success,
.swal2-popup.dinomatch-theme .swal2-icon.swal2-info {
    color: #3a4d39;
}

.swal2-popup.dinomatch-theme .swal2-icon.swal2-error {
    color: #dc3545;
}

/* Actions container */
.swal2-popup.dinomatch-theme .swal2-actions {
    margin: 20px 0 0 0;
    gap: 15px;
    justify-content: center;
}

/* Confirm button */
.swal2-popup.dinomatch-theme .swal2-confirm {
    background-color: #dc3545 !important;
    border: 3px solid #734f30 !important;
    color: #f5f5dc !important;
    font-family: 'Bubblegum Sans', cursive !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    min-width: 120px !important;
}

.swal2-popup.dinomatch-theme .swal2-confirm:hover {
    background-color: #c82333 !important;
    transform: translateY(-2px) !important;
}

.swal2-popup.dinomatch-theme .swal2-confirm:active {
    transform: translateY(0) !important;
}

/* Cancel button */
.swal2-popup.dinomatch-theme .swal2-cancel {
    background-color: #3a4d39 !important;
    border: 3px solid #734f30 !important;
    color: #f5f5dc !important;
    font-family: 'Bubblegum Sans', cursive !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    min-width: 120px !important;
}

.swal2-popup.dinomatch-theme .swal2-cancel:hover {
    background-color: #4a6349 !important;
    transform: translateY(-2px) !important;
}

.swal2-popup.dinomatch-theme .swal2-cancel:active {
    transform: translateY(0) !important;
}

/* Loading spinner */
.swal2-popup.dinomatch-theme .swal2-loader {
    border-color: #3a4d39 transparent #3a4d39 transparent;
}

/* Timer progress bar */
.swal2-popup.dinomatch-theme .swal2-timer-progress-bar {
    background: #3a4d39;
    height: 4px;
}

/* Backdrop */
.swal2-backdrop-show {
    background: rgba(58, 77, 57, 0.7) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swal2-popup.dinomatch-theme {
        width: 90%;
        max-width: 350px;
        padding: 25px;
    }
    
    .swal2-popup.dinomatch-theme .swal2-title {
        font-size: 20px;
    }
    
    .swal2-popup.dinomatch-theme .swal2-html-container {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .swal2-popup.dinomatch-theme .swal2-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .swal2-popup.dinomatch-theme .swal2-confirm,
    .swal2-popup.dinomatch-theme .swal2-cancel {
        width: 100% !important;
        margin: 0 !important;
    }
}