.swal-custom-popup {
    color: black !important;
}

/* SweetAlert2 Toast Sizing & Premium Styling Override */
.swal2-popup.swal2-toast {
    width: 340px !important;
    max-width: 340px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    align-items: center !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin: 0 0 0 10px !important;
}

.swal2-popup.swal2-toast .swal2-html-container {
    font-size: 13px !important;
    margin: 4px 0 0 10px !important;
}

.swal2-popup.swal2-toast .swal2-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    margin: 0 !important;
}

.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content {
    font-size: 14px !important;
}

.swal2-popup.swal2-toast .swal2-timer-progress-bar {
    height: 3px !important;
}

.dropzone {
    background: #fff;
    border: 2px dashed #e2e5e8;
    border-radius: 6px;
    min-height: 230px
}

.dropzone .dz-message {
    font-size: 24px;
    width: 100%
}

.preview-container {
    max-width: 180px;
    height: 180px;
    border: 3px dashed rgba(0, 251, 255, 0.325);
    border-radius: 5px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.35s;
}

.preview-container img {
    object-fit: cover;
    max-width: 100%;
    height: 120px;
}

form#addProductForm .dropzone {
    min-height: auto !important;
}

/* Custom Premium Toast Container & Notification Styles */
#custom-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.custom-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transform: translateX(120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Custom Toast Types */
.custom-toast-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}
.custom-toast-success .custom-toast-icon {
    color: #10b981 !important;
}

.custom-toast-error {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}
.custom-toast-error .custom-toast-icon {
    color: #ef4444 !important;
}

.custom-toast-warning {
    background-color: #fffbef !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}
.custom-toast-warning .custom-toast-icon {
    color: #f59e0b !important;
}

.custom-toast-info {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}
.custom-toast-info .custom-toast-icon {
    color: #3b82f6 !important;
}

.custom-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-toast-message {
    flex-grow: 1;
    word-break: break-word;
}

.custom-toast-close {
    cursor: pointer;
    opacity: 0.5;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    transition: opacity 0.2s;
    padding: 2px 4px;
    margin-left: auto;
}
.custom-toast-close:hover {
    opacity: 1;
}