/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #dbeafe, #cff8dc);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 15px;
    color: #333;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1e3a8a;
    font-size: 22px;
    animation: fadeSlideUp 0.8s ease-out;
}

.rekening-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 480px;
}

/* Item kartu rekening */
.rekening-list li {
    background: rgba(255, 255, 255, 0.85);
    padding: 12px 16px;
    border-left: 4px solid #3498db;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s forwards;
}

.rekening-list li:nth-child(2) { animation-delay: 0.2s; }
.rekening-list li:nth-child(3) { animation-delay: 0.4s; }
.rekening-list li:nth-child(4) { animation-delay: 0.6s; }
.rekening-list li:nth-child(5) { animation-delay: 0.8s; }

.rekening-list li:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.rekening-list strong {
    font-size: 16px;
    color: #2563eb;
}

.rekening-nomor {
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
    color: #111827;
    word-break: break-all;
}

.copy-btn {
    margin-left: 8px;
    padding: 3px 8px;
    font-size: 13px;
    background-color: #10b981;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-btn:hover {
    background-color: #059669;
}

.copied-message {
    margin-left: 8px;
    color: #059669;
    font-size: 13px;
    display: none;
}

.an {
    margin-top: 5px;
    color: #555;
    font-size: 14px;
    font-style: italic;
}

/* Gambar QRIS di tengah dengan animasi */
.qris-img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 220px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    animation: fadeSlideUp 0.8s ease-out;
}

/* Animasi */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive tweaks */
@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }
    .rekening-list li {
        padding: 10px 14px;
    }
    .rekening-nomor {
        font-size: 14px;
    }
    .copy-btn {
        font-size: 12px;
        padding: 2px 6px;
    }
}
/* Modal QRIS */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(199, 199, 199, 0.557);
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ff6b6b;
}

/* Animations */
@keyframes zoomIn {
    from {transform: scale(0.5); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.swal-custom-blur {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}
.swal2-icon {
    margin-bottom: 10px !important;
}