﻿/* SweetAlert2 Custom Styles */

/* Custom Toast Styles */
/*.my-toast {
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

    .my-toast .swal2-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        margin: 0 0 5px 0 !important;
    }

    .my-toast .swal2-html-container {
        font-size: 14px !important;
        margin: 0 !important;
        color: #6c757d !important;
    }

    .my-toast .swal2-timer-progress-bar {
        background: rgba(255, 255, 255, 0.6) !important;
    }*/

    /* Success Toast */
    /*.my-toast.swal2-icon-success {
        border-left: 4px solid #28a745 !important;
    }*/

    /* Error Toast */
    /*.my-toast.swal2-icon-error {
        border-left: 4px solid #dc3545 !important;
    }*/

    /* Warning Toast */
    /*.my-toast.swal2-icon-warning {
        border-left: 4px solid #ffc107 !important;
    }*/

    /* Info Toast */
    /*.my-toast.swal2-icon-info {
        border-left: 4px solid #17a2b8 !important;
    }*/

/* Confirmation Dialog Styles */
/*.my-confirm-dialog {
    border-radius: 12px !important;
    padding: 20px !important;
}

    .my-confirm-dialog .swal2-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #495057 !important;
        margin-bottom: 15px !important;
    }

    .my-confirm-dialog .swal2-html-container {
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: #6c757d !important;
        margin-bottom: 20px !important;
    }

    .my-confirm-dialog .swal2-actions {
        gap: 10px !important;
    }

    .my-confirm-dialog .swal2-confirm {
        background-color: #007bff !important;
        border: none !important;
        border-radius: 6px !important;
        padding: 10px 20px !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        transition: all 0.2s ease !important;
    }

        .my-confirm-dialog .swal2-confirm:hover {
            background-color: #0056b3 !important;
            transform: translateY(-1px) !important;
        }

    .my-confirm-dialog .swal2-cancel {
        background-color: #6c757d !important;
        border: none !important;
        border-radius: 6px !important;
        padding: 10px 20px !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        transition: all 0.2s ease !important;
    }

        .my-confirm-dialog .swal2-cancel:hover {
            background-color: #545b62 !important;
            transform: translateY(-1px) !important;
        }*/

/* Delete Confirmation Dialog */
/*.my-delete-confirm-dialog {
    border-radius: 12px !important;
    padding: 20px !important;
    border-top: 4px solid #dc3545 !important;
}

    .my-delete-confirm-dialog .swal2-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #dc3545 !important;
        margin-bottom: 15px !important;
    }

    .my-delete-confirm-dialog .swal2-icon.swal2-warning {
        border-color: #dc3545 !important;
        color: #dc3545 !important;
    }

    .my-delete-confirm-dialog .swal2-confirm {
        background-color: #dc3545 !important;
        border: none !important;
        border-radius: 6px !important;
        padding: 10px 20px !important;
        font-weight: 500 !important;
        font-size: 14px !important;
    }

        .my-delete-confirm-dialog .swal2-confirm:hover {
            background-color: #c82333 !important;
        }*/

/* Import/Export Dialog Styles */
/*.my-import-success {
    border-left: 4px solid #28a745 !important;
}

.my-import-error {
    border-left: 4px solid #dc3545 !important;
}

.my-import-export {
    border-left: 4px solid #17a2b8 !important;
}*/

/* Progress Dialog */
/*.my-progress-dialog {
    border-radius: 12px !important;
    padding: 25px !important;
    min-width: 400px !important;
}

    .my-progress-dialog .swal2-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 20px !important;
    }

    .my-progress-dialog .progress {
        height: 8px !important;
        background-color: #e9ecef !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

    .my-progress-dialog .progress-bar {
        background: linear-gradient(45deg, #007bff, #0056b3) !important;
        border-radius: 4px !important;
        transition: width 0.3s ease !important;
    }

    .my-progress-dialog .progress-bar-animated {
        animation: progress-bar-stripes 1s linear infinite !important;
    }

@keyframes progress-bar-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}*/

/* Alert Dialog */
/*.my-alert-dialog {
    border-radius: 12px !important;
    padding: 20px !important;
}

    .my-alert-dialog .swal2-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #495057 !important;
    }

    .my-alert-dialog .swal2-confirm {
        background-color: #007bff !important;
        border: none !important;
        border-radius: 6px !important;
        padding: 10px 25px !important;
        font-weight: 500 !important;
    }*/

/* Loading Spinner Customization */
/*.swal2-loading .swal2-popup {
    border-radius: 12px !important;
}

.swal2-loading .swal2-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}*/

/* Input Dialog Styles */
/*.swal2-input {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

    .swal2-input:focus {
        border-color: #80bdff !important;
        outline: 0 !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    }

    .swal2-input::placeholder {
        color: #6c757d !important;
    }*/

/* Validation Error Styles */
/*.swal2-validation-message {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
    font-size: 12px !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    margin-top: 5px !important;
}*/

/* Timer Progress Bar Customization */
/*.swal2-timer-progress-bar-container {
    background: rgba(0, 0, 0, 0.1) !important;
}

.swal2-timer-progress-bar {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
}*/

/* Dark Mode Support */
/*@media (prefers-color-scheme: dark) {
    .swal2-popup {
        background: #2d3748 !important;
        color: #e2e8f0 !important;
    }

    .swal2-title {
        color: #e2e8f0 !important;
    }

    .swal2-html-container {
        color: #a0aec0 !important;
    }

    .my-toast {
        background: #2d3748 !important;
        color: #e2e8f0 !important;
    }

    .swal2-input {
        background: #4a5568 !important;
        border-color: #718096 !important;
        color: #e2e8f0 !important;
    }

        .swal2-input:focus {
            border-color: #63b3ed !important;
            box-shadow: 0 0 0 0.2rem rgba(99, 179, 237, 0.25) !important;
        }
}*/

/* Responsive Design */
/*@media (max-width: 768px) {
    .my-confirm-dialog,
    .my-delete-confirm-dialog,
    .my-progress-dialog {
        width: 90% !important;
        margin: 0 auto !important;
    }

    .my-toast {
        width: 90% !important;
        margin: 0 auto !important;
    }

    .swal2-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .swal2-confirm,
    .swal2-cancel {
        width: 100% !important;
    }
}*/

/* Animation Enhancements */
/*.swal2-show {
    animation: swal2-show 0.3s ease-out !important;
}

.swal2-hide {
    animation: swal2-hide 0.15s ease-in !important;
}

@keyframes swal2-show {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    45% {
        transform: scale(1.05);
        opacity: 1;
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes swal2-hide {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}*/

/* Close Button Customization */
/*.swal2-close {
    background: transparent !important;
    border: none !important;
    color: #adb5bd !important;
    font-size: 24px !important;
    transition: color 0.15s ease !important;
}

    .swal2-close:hover {
        color: #6c757d !important;
    }*/

/* Validation Error Dialog */
/*.my-validation-error-dialog {
    border-radius: 12px !important;
    padding: 20px !important;
    border-top: 4px solid #dc3545 !important;
    max-width: 600px !important;
}

    .my-validation-error-dialog .swal2-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #dc3545 !important;
        margin-bottom: 15px !important;
    }

    .my-validation-error-dialog .swal2-html-container {
        text-align: left !important;
        font-size: 14px !important;
    }

        .my-validation-error-dialog .swal2-html-container ul {
            margin: 0 !important;
            padding-left: 20px !important;
        }

        .my-validation-error-dialog .swal2-html-container li {
            margin-bottom: 8px !important;
            line-height: 1.4 !important;
        }

    .my-validation-error-dialog .swal2-confirm {
        background-color: #dc3545 !important;
        border: none !important;
        border-radius: 6px !important;
        padding: 10px 25px !important;
        font-weight: 500 !important;
    }

        .my-validation-error-dialog .swal2-confirm:hover {
            background-color: #c82333 !important;
        }*/

/* Icon Customizations */
/*.swal2-icon {
    margin: 20px auto 30px !important;
}

    .swal2-icon.swal2-success .swal2-success-ring {
        border: 4px solid rgba(40, 167, 69, 0.3) !important;
    }

    .swal2-icon.swal2-error .swal2-x-mark {
        stroke: #dc3545 !important;
    }

    .swal2-icon.swal2-warning {
        border-color: #ffc107 !important;
        color: #856404 !important;
    }*/
