/* ============================================
   Custom CSS for PNS Form Application
   ============================================ */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 8px;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.4;
}

/* Header Styles */
header {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        #0056b3 100%
    ) !important;
    box-shadow: var(--box-shadow-lg);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

header h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.98);
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.bg-gradient-primary {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        #0056b3 100%
    ) !important;
}

/* Form Styles */
.form-label.required::after {
    content: " *";
    color: var(--danger-color);
    font-weight: bold;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
}

/* Input Group Styles */
.input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    font-weight: 600;
}

/* Step Navigation */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease-in-out;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-header h6 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-header hr {
    border-top: 2px solid var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: var(--success-color);
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.upload-area.has-file {
    border-color: var(--success-color);
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.upload-area.has-error {
    border-color: var(--danger-color);
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.upload-icon {
    font-size: 2.5rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.upload-area:hover .upload-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.upload-subtext {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* File Preview */
.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
}

.file-info {
    display: flex;
    align-items: center;
}

.file-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: var(--success-color);
}

.file-details h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.file-size {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.file-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
}

.file-remove:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

/* Progress Bar */
.progress {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 8px !important;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

/* Logo Header Styles */
.logo-header {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.logo-header:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Logo Container untuk alignment yang lebih baik */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
}

/* Enhanced Tari Images - Lebih Besar */
.img-tari {
    max-height: 700px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
    min-height: 400px;
}

/* Animasi berbeda untuk masing-masing gambar tari */
.tari-left .img-tari {
    animation: floatY 6s ease-in-out infinite;
}

.tari-right .img-tari {
    animation: floatX 8s ease-in-out infinite;
}

.img-tari:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Tari Position Absolute */
.tari-left {
    left: -400px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.tari-right {
    right: -400px;
    top: 110%;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

/* Responsive Tari Position */
@media (max-width: 1400px) {
    .tari-left {
        left: -150px;
    }

    .tari-right {
        right: -150px;
    }
}

@media (max-width: 1200px) {
    .tari-left {
        left: -100px;
    }

    .tari-right {
        right: -100px;
    }
}

@media (max-width: 992px) {
    .tari-left {
        left: -50px;
    }

    .tari-right {
        right: -50px;
    }
}

@media (max-width: 768px) {
    .tari-left,
    .tari-right {
        display: none !important;
    }
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(1deg);
    }
}

@keyframes floatX {
    0%,
    100% {
        transform: translateY(-50%) translateX(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) translateX(-15px) rotate(-1deg);
    }
}

/* Enhanced Tari Container */
.tari-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tari-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 70%
    );
    animation: pulse 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #146c43 100%);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

.btn-secondary {
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #495057 100%
    );
}

.btn:disabled {
    transform: none;
    box-shadow: none;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: linear-gradient(135deg, #d1edff 0%, #e8f5e8 100%);
    border-left-color: var(--success-color);
    color: #0f5132;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 100%);
    border-left-color: var(--danger-color);
    color: #842029;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #b3e5fc 100%);
    border-left-color: var(--info-color);
    color: #055160;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left-color: var(--warning-color);
    color: #664d03;
}

/* Badge Styles */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Form Navigation */
.form-navigation {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin: 0 -1.5rem -1.5rem;
    padding: 1.5rem;
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Enhanced Jenis Pengajuan Cards */
.jenis-pengajuan-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.jenis-pengajuan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(0, 0, 0, 0.02) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.jenis-pengajuan-card:hover::before {
    opacity: 1;
}

.btn-fungsional {
    border-color: rgba(219, 234, 254, 0.6);
    background: rgba(255, 255, 255, 0.8);
}

.btn-fungsional:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.btn-ukp {
    border-color: rgba(220, 252, 231, 0.6);
    background: rgba(255, 255, 255, 0.8);
}

.btn-ukp:hover {
    border-color: var(--success-color);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.btn-fungsional .icon-wrapper {
    background: linear-gradient(
        135deg,
        rgba(219, 234, 254, 0.8) 0%,
        rgba(191, 219, 254, 0.8) 100%
    );
    color: var(--primary-color);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.btn-ukp .icon-wrapper {
    background: linear-gradient(
        135deg,
        rgba(220, 252, 231, 0.8) 0%,
        rgba(187, 247, 208, 0.8) 100%
    );
    color: var(--success-color);
    border: 2px solid rgba(5, 150, 105, 0.2);
}

.icon-wrapper i {
    font-size: 2.2rem;
    transition: var(--transition);
}

.jenis-pengajuan-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.jenis-pengajuan-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

/* Enhanced Jenis Pengajuan Main Card */
#jenis-pengajuan-card {
    background: rgba(255, 255, 255, 0.21);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

#jenis-pengajuan-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
}

/* Enhanced Icon Container */
.icon-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(219, 234, 254, 0.9) 0%,
        rgba(191, 219, 254, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    border: 3px solid rgba(37, 99, 235, 0.1);
}

.icon-container i {
    color: var(--primary-color);
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Responsive Design */
@media (max-width: 1200px) {
    .img-tari {
        max-height: 350px;
    }

    .tari-decoration {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 992px) {
    .img-tari {
        max-height: 300px;
    }

    .tari-decoration {
        width: 200px;
        height: 200px;
    }
}
/* Responsive heading & subtitle */
.responsive-heading {
    font-size: 2rem; /* default desktop */
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.responsive-subtitle {
    font-size: 1rem; /* default desktop */
    opacity: 0.9;
    text-align: center;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .responsive-heading {
        font-size: 1.4rem; /* lebih kecil di tablet & HP */
        white-space: normal; /* biar bisa turun baris kalau kepanjangan */
    }

    .responsive-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .responsive-heading {
        font-size: 1.2rem; /* lebih kecil lagi di layar kecil */
    }

    .responsive-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    header {
        padding: 1.5rem 0 !important;
    }

    header h1 {
        font-size: 1.5rem;
    }
    header h3 {
        font-size: 1rem;
    }

    /* Logo responsive untuk mobile */
    .logo-header {
        height: 10px;
    }

    .logo-container {
        min-height: 60px;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .upload-area {
        padding: 1.5rem;
    }

    .upload-icon {
        font-size: 2rem;
    }

    .upload-text {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .form-navigation .d-flex {
        flex-direction: column;
    }

    .form-navigation .ms-auto {
        margin-left: 0 !important;
        margin-top: 1rem;
    }

    .col-md-6 {
        margin-bottom: 1rem;
    }

    .img-tari {
        max-height: 250px;
    }

    .tari-decoration {
        width: 150px;
        height: 150px;
    }

    .jenis-pengajuan-card {
        margin-bottom: 1rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .icon-wrapper i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .upload-area {
        padding: 1rem;
    }

    .upload-icon {
        font-size: 1.5rem;
    }

    .file-preview {
        flex-direction: column;
        text-align: center;
    }

    .file-remove {
        margin-top: 0.5rem;
    }

    .img-tari {
        max-height: 200px;
    }

    .tari-decoration {
        width: 120px;
        height: 120px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .icon-wrapper i {
        font-size: 1.5rem;
    }

    /* Logo Header Styles untuk mobile kecil */
    .logo-header {
        height: 60px;
        width: auto;
    }

    .logo-container {
        min-height: 50px;
    }

    header {
        padding: 1.5rem 0 !important;
    }

    header h1 {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
}

/* Form Validation States */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.74.04c.59.03 1.17-.07 1.74-.37.57-.3 1.06-.77 1.42-1.35.36-.58.57-1.25.57-1.94 0-.69-.21-1.36-.57-1.94-.36-.58-.85-1.05-1.42-1.35-.57-.3-1.15-.4-1.74-.37L2.3 1.27c-.59.03-1.17.17-1.71.43-.54.26-1.01.63-1.38 1.08-.37.45-.61.97-.71 1.52-.1.55-.05 1.11.15 1.62.2.51.54.96.98 1.3.44.34.96.58 1.51.67.55.09 1.12.04 1.64-.15.52-.19.98-.5 1.34-.9z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4M8.2 4.6l-2.4 2.4'/%3e%3c/svg%3e");
}

/* Tooltip Enhancement */
.tooltip-inner {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

/* Print Styles */
@media print {
    body {
        background: white !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }

    .btn {
        display: none !important;
    }

    .form-navigation {
        display: none !important;
    }
}

/* Main Content Container */
.col-lg-8.position-relative {
    z-index: 5;
}

/* File Upload Popup Styles */
#fileUploadPopup .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

#fileUploadPopup .modal-body {
    padding: 2rem;
}

#fileUploadPopup .modal-footer {
    border-top: none;
    padding: 0 2rem 2rem;
}

#fileUploadPopup .btn {
    border-radius: 25px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#fileUploadPopup .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* File Upload Success Animation */
.upload-area.file-selected {
    animation: fileUploadSuccess 0.5s ease-out;
}

@keyframes fileUploadSuccess {
    0% {
        transform: scale(1);
        border-color: #dee2e6;
    }
    50% {
        transform: scale(1.02);
        border-color: #198754;
        box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    }
    100% {
        transform: scale(1);
        border-color: #198754;
        box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    }
}

/* File Upload Error Animation */
.upload-area.file-error {
    animation: fileUploadError 0.5s ease-out;
}

@keyframes fileUploadError {
    0% {
        transform: scale(1);
        border-color: #dee2e6;
    }
    25% {
        transform: translateX(-5px);
        border-color: #dc3545;
    }
    50% {
        transform: translateX(5px);
        border-color: #dc3545;
    }
    75% {
        transform: translateX(-5px);
        border-color: #dc3545;
    }
    100% {
        transform: translateX(0);
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }
}

/* SweetAlert2 Customization */
.swal2-popup-custom {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif !important;
}

.swal2-title-custom {
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    color: #212529 !important;
}

.swal2-content-custom {
    font-size: 1rem !important;
    color: #6c757d !important;
    line-height: 1.6 !important;
}

.swal2-popup-custom .swal2-html-container {
    margin: 1rem 0 !important;
}

.swal2-popup-custom .swal2-confirm {
    border-radius: 25px !important;
    padding: 0.5rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.swal2-popup-custom .swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* SweetAlert2 Loading Animation */
.swal2-popup-custom .swal2-loader {
    border-color: #0d6efd transparent #0d6efd transparent !important;
}

/* SweetAlert2 Success Icon */
.swal2-popup-custom .swal2-success {
    border-color: #198754 !important;
}

.swal2-popup-custom .swal2-success [class^="swal2-success-line"] {
    background-color: #198754 !important;
}

/* SweetAlert2 Error Icon */
.swal2-popup-custom .swal2-error {
    border-color: #dc3545 !important;
}

.swal2-popup-custom .swal2-error [class^="swal2-x-mark-line"] {
    background-color: #dc3545 !important;
}

/* SweetAlert2 Warning Icon */
.swal2-popup-custom .swal2-warning {
    border-color: #ffc107 !important;
}

.swal2-popup-custom .swal2-warning [class^="swal2-warning-line"] {
    background-color: #ffc107 !important;
}

/* SweetAlert2 Info Icon */
.swal2-popup-custom .swal2-info {
    border-color: #0dcaf0 !important;
}

.swal2-popup-custom .swal2-info [class^="swal2-info-line"] {
    background-color: #0dcaf0 !important;
}

/* Alert Container */
#alert-container {
    position: relative;
    z-index: 15;
}
