/* firebase_auth_modal_styles.css */

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-in-out;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    background: rgb(29, 35, 27, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: white
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 1;
}

.auth-modal-close:hover {
    background: var(--col-green-0);
}

.auth-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.auth-modal-header p {
    margin: 0;
    font-size: 0.975rem;
}

.auth-modal-body {
    padding: 0 2rem 1.5rem;
}

.auth-modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #eee;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile responsive */
@media (max-width: 640px) {
    .auth-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .auth-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-modal-body {
        padding: 0 1.5rem 1rem;
    }
    
    .auth-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* Prevent body scroll when modal open */
body.auth-modal-open {
    overflow: hidden;
}