/* FILE: /assets/css/modal-login.css */
/* LOGIN MODAL STYLES */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-message {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-option {
    text-align: center;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
}

.auth-option h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.btn-login, .btn-register, .btn-guest {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-login {
    background: #007bff;
    color: white;
}

.btn-login:hover {
    background: #0056b3;
}

.btn-register {
    background: #28a745;
    color: white;
}

.btn-register:hover {
    background: #1e7e34;
}

.btn-guest {
    background: #6c757d;
    color: white;
}

.btn-guest:hover {
    background: #545b62;
}

.guest-options {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.guest-options p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .auth-options {
        gap: 1rem;
    }
    
    .auth-option {
        padding: 0.75rem;
    }
}