/* estilosUsuario.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Efecto de partículas de fondo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(245, 196, 0, 0.3);
    border-radius: 50%;
}

/* Contenedor principal del login */
.login-container {
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(245, 196, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(245, 196, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Encabezado */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #f5c400;
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-header p {
    color: #aaa;
    font-size: 1rem;
}

/* Logo VERTICE INDUSTRIAL */
.vertice-logo {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertice-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 10px;
    filter: brightness(1.1) contrast(1.1);
}

.logo-text {
    color: #f5c400;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
}

.logo-text span {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-top: 2px;
}

/* Estilos de los campos de entrada */
.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-weight: 500;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #f5c400;
    box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.2);
}

.input-group input::placeholder {
    color: #888;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 43px;
    color: #888;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.input-group input:focus + .input-icon {
    color: #f5c400;
}

/* Sección de requisitos de contraseña */
.password-requirements {
    background-color: rgba(245, 196, 0, 0.1);
    border-left: 4px solid #f5c400;
    padding: 15px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
}

.password-requirements p {
    color: #f5c400;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.password-requirements ul {
    list-style-type: none;
    padding-left: 5px;
}

.password-requirements li {
    color: #ddd;
    margin-bottom: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.password-requirements li:before {
    content: "•";
    color: #f5c400;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Botón de inicio de sesión */
.login-button {
    width: 100%;
    padding: 16px;
    background-color: #f5c400;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-button:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(245, 196, 0, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

/* Enlaces de registro y volver */
.links-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.link {
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

.link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f5c400;
    transition: width 0.3s ease;
}

.link:hover {
    color: #f5c400;
}

.link:hover:after {
    width: 100%;
}

.link i {
    margin-right: 8px;
}

/* Versión alternativa sin imagen - texto estilizado */
.vertice-text-logo {
    text-align: center;
    margin-bottom: 20px;
}

.vertice-text-logo h2 {
    color: #f5c400;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.vertice-text-logo .subtitle {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 500px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .vertice-logo img {
        max-width: 180px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 1rem;
    }
    
    .links-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .vertice-text-logo h2 {
        font-size: 2rem;
    }
    
    .vertice-text-logo .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}