/* Importar estilos comunes */
@import url('common.css');

.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    color: var(--text-color);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 171, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.legal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    border-bottom: 1px solid rgba(255, 0, 171, 0.2);
    padding-bottom: 10px;
}

.legal-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.legal-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.legal-content ul, 
.legal-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #ff3dc1;
    text-decoration: underline;
}

/* Estilos específicos para el formulario de reset password */
.reset-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 171, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 0, 171, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 171, 0.4);
}

/* Enlaces de autenticación */
.auth-links {
    margin-top: 20px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.auth-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #ff3dc1;
    text-decoration: underline;
}

.error-message {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #00d1b2;
    text-align: center;
    padding: 20px;
    background: rgba(0, 209, 178, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}


.form-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(10%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.toggle-password:hover {
    color: var(--accent-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .legal-container {
        margin: 20px;
        padding: 30px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.6rem;
    }

    .legal-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        margin: 10px;
        padding: 20px;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }
}