html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    font-family: Poppins;
}

body {
  margin-bottom: 60px;
  font-family:Poppins;
}

/* Untuk browser berbasis Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    display: none; /* Menghilangkan scrollbar */
}

/* Tambahan untuk semua browser */
body {
    -ms-overflow-style: none; /* Menghilangkan scrollbar pada IE dan Edge */
    overflow: -moz-scrollbars-none; /* Menghilangkan scrollbar di Firefox lama */
}

/* section{
    margin-bottom:20px;
} */

/* ==========================================================================
   ELEGANT BLAZOR RECONNECT OVERLAY DESIGN
   ========================================================================== */
#components-reconnect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Blazor Modal State Classes */
#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex !important;
    animation: fadeInBlazorModal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
}

.blazor-reconnect-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.blazor-reconnect-card {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 71, 126, 0.12);
}

.blazor-reconnect-state {
    display: none;
    flex-direction: column;
    align-items: center;
}

/* Show active state based on Blazor modal class */
#components-reconnect-modal.components-reconnect-show .state-show {
    display: flex !important;
}

#components-reconnect-modal.components-reconnect-failed .state-show,
#components-reconnect-modal.components-reconnect-rejected .state-show {
    display: none !important;
}

#components-reconnect-modal.components-reconnect-failed .state-failed {
    display: flex !important;
}

#components-reconnect-modal.components-reconnect-rejected .state-rejected {
    display: flex !important;
}

/* Spinner & Icon Animations */
.blazor-spinner-ring {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 71, 126, 0.15);
    border-top: 4px solid #FF477E;
    border-radius: 50%;
    animation: spinBlazorRing 0.9s linear infinite;
    margin-bottom: 20px;
}

.blazor-icon-box {
    font-size: 42px;
    margin-bottom: 16px;
}

@keyframes spinBlazorRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInBlazorModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}