/* ============================================================
   CredBlock — Custom Styles
   Tambahan styling yang tidak bisa dicapai dengan Tailwind CDN
   ============================================================ */

/* Loading spinner animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e5e7eb;
    border-top-color: #1e40af;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Smooth fade-in animation untuk hasil verifikasi */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* Pulse animation untuk status koneksi aktif */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Smooth transition untuk semua input focus */
input:focus {
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Button disabled state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
