/* Custom styles untuk login page */

/* Swiper Slider Custom Styles */
.swiper-button-prev,
.swiper-button-next {
    color: #5e72e4 !important;
    background: rgba(255, 255, 255, 0.9);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10 !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #5e72e4 !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px !important;
    border-radius: 20px !important;
}

.swiper-slide {
    height: auto;
}

/* Animasi hover untuk tombol */
.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

/* Gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #D9DCEF 0%, #c5c9e0 100%);
}

/* Block UI Overlay */
.block-ui-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.block-ui-overlay.active {
    opacity: 1;
    visibility: visible;
}

.block-ui-loader {
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.block-ui-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5e72e4;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

/* Button spinner (CSS-only, tidak perlu Font Awesome) */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}