/* ============================================
   MSW Auth Guard - Modal Styles
   Matches existing "Sign In Required" modal
   ============================================ */

/* Modal Overlay */
.msw-auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    animation: mswFadeIn 0.2s ease;
}

.msw-auth-modal-overlay.msw-modal-active {
    display: flex;
}

/* Modal Box */
.msw-auth-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    padding: 40px 36px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: mswSlideUp 0.3s ease;
}

/* Modal Title */
.msw-auth-modal h2 {
    color: #2a6e7a;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.3;
}

/* Modal Message */
.msw-auth-modal p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

/* Button Row */
.msw-auth-modal-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Shared Button Styles */
.msw-auth-modal-buttons button {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-width: 120px;
    text-align: center;
}

/* Sign In Button - Orange */
.msw-auth-btn-signin {
    background: #e87c2a;
    color: #fff;
    border-color: #d06a1e !important;
}

.msw-auth-btn-signin:hover {
    background: #d06a1e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 124, 42, 0.3);
}

/* Register Button - Teal */
.msw-auth-btn-register {
    background: #5ba4b5;
    color: #fff;
    border-color: #4a8f9f !important;
}

.msw-auth-btn-register:hover {
    background: #4a8f9f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 164, 181, 0.3);
}

/* Maybe Later Button - Light Grey */
.msw-auth-btn-later {
    background: #f5f5f5;
    color: #555;
    border-color: #ddd !important;
}

.msw-auth-btn-later:hover {
    background: #eee;
    color: #333;
}

/* Animations */
@keyframes mswFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes mswSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .msw-auth-modal {
        padding: 28px 20px 24px;
        width: 95%;
    }
    .msw-auth-modal h2 {
        font-size: 24px;
    }
    .msw-auth-modal p {
        font-size: 16px;
    }
    .msw-auth-modal-buttons {
        flex-direction: column;
    }
    .msw-auth-modal-buttons button {
        width: 100%;
        min-width: unset;
    }
}
