/* Estilos para autenticación */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-content {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 2rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal-content h2 {
    color: #00ff88;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #00ff88;
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ff88;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.auth-separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.auth-separator span {
    background: #203a43;
    padding: 0 1rem;
    position: relative;
    color: #fff;
}

.btn-google {
    width: 100%;
    padding: 0.8rem;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-google:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-google i {
    color: #4285f4;
    font-size: 1.2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth-footer a {
    color: #00ff88;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Botón de login en navbar */
.login-btn {
    background: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 0;
}

.login-btn:hover {
    background: #00ff88;
    color: #000;
    transform: scale(1.1);
}

/* Información de usuario en navbar */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name {
    color: #00ff88;
    font-weight: bold;
}

.logout-link {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.logout-link:hover {
    color: #ff4444;
    transform: scale(1.1);
}

/* Admin link sin texto */
.admin-link {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.admin-link:hover {
    color: #00ff88;
    transform: rotate(90deg);
}