/* assets/css/public-signout.css */

/* ============================================
   SIGNOUT OVERLAY
   ============================================ */
#sgSignoutOverlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#sgSignoutOverlay.active {
    opacity: 1;
    visibility: visible;
}

.sg-signout-modal {
    background: var(--sg-white, #ffffff);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#sgSignoutOverlay.active .sg-signout-modal {
    transform: scale(1);
}

/* Custom spinner (orange/black themed) */
.sg-signout-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--sg-gray-100, #f1f0ee);
    border-top-color: var(--sg-orange, #f7941e);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: sgSignoutSpin 0.8s linear infinite;
}

@keyframes sgSignoutSpin {
    to { transform: rotate(360deg); }
}

.sg-signout-title {
    font-family: var(--sg-font-display, "Poppins", sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sg-black, #1a1a1a);
    margin: 0 0 0.25rem;
}

.sg-signout-text {
    font-size: 0.9rem;
    color: var(--sg-text-muted, #6b6b66);
    margin: 0;
}