

.loading-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(15, 23, 42, 0.8); 
    backdrop-filter: blur(4px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1000; 
    border-radius: inherit; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    pointer-events: auto; 
}

.loading-overlay.show {
    opacity: 1; 
}

.loading-spinner {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1em; 
}

.spinner {
    width: 50px; 
    height: 50px; 
    border: 4px solid rgba(0, 255, 213, 0.2); 
    border-top-color: #00ffd5; 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}

@keyframes spin {
    to { transform: rotate(360deg); } 
}

.loading-text {
    color: #00ffd5; 
    font-size: 0.9em; 
    font-weight: 500; 
}

.btn-loading {
    position: relative; 
    pointer-events: none; 
    opacity: 0.7; 
}

.btn-loading::after {
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 20px; 
    height: 20px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-top-color: #fff; 
    border-radius: 50%; 
    animation: spin 0.8s linear infinite; 
}

.form-loading {
    position: relative; 
    pointer-events: none; 
    opacity: 0.6; 
}

.form-loading::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(15, 23, 42, 0.5); 
    backdrop-filter: blur(2px); 
    z-index: 1; 
    border-radius: inherit; 
}
