* { outline: none; }
:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.custom-alert-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; justify-content: center; align-items: center;
    z-index: 999999; opacity: 0; visibility: hidden; transition: 0.3s;
}
.custom-alert-overlay.show { opacity: 1; visibility: visible; }
.custom-alert-box {
    background: rgba(0, 0, 0, 0.25); 
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    text-align: center; max-width: 400px; width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
}
.custom-alert-overlay.show .custom-alert-box { transform: scale(1); }
.custom-alert-btn {
    background: rgba(255, 255, 255, 0.1); 
    color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    cursor: pointer;
    transition: all 0.2s; 
    width: 100%;
    font-family: inherit;
}
.custom-alert-btn:hover, .custom-alert-btn:focus-visible { 
    background: rgba(255, 255, 255, 0.25); 
    border-color: rgba(255, 255, 255, 0.6);
}
.custom-alert-btn:active { transform: scale(0.96); }
.custom-alert-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Custom Loading Spinner */
.thaikara-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: thaikara-spin 1s linear infinite;
}
@keyframes thaikara-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
