﻿
:root {
    --primary-color: white; /* Azul corporativo */
    --secondary-color: #ff6b00; /* Naranja de acento */
    --sso-color: #FF5B57; /* Verde para SSO */
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;    
}

.login-body {
    padding: 30px;
}


.login-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.login-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    /*padding: 5px 15px 12px 40px;*/
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 38px;
    color: #777;
}

.btn {
    width: 100%;
    padding: 12px;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #777;
    font-size: 14px;
}

.divider::before,.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.login-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.login-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.login-links a {
    color: #3866B4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.version-info {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
    text-align: center;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    height: 50px;
}



/* PASSWORD */

.password-group {
    position: relative;
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary-color);
}

 /*Ajuste para el input de contraseña */
.password-group .form-control {
    padding-right: 40px;  /*Espacio para el botón */
}

/* Contenedor principal */
.language-selector-container {
    margin: 20px 0;
    width: 100%;
}

/* Wrapper para posicionamiento relativo */
.language-selector-wrapper {
    position: relative;
    width: 100%;
}

/* Estilo del select */
.language-select {
    width: 100%;
    padding: 5px 50px 5px 40px; /*Espacio para iconos */
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: white;
    color: #333;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    height: 45px;
}

/* Icono de globo */
.language-selector-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 18px;
    z-index: 2;
}

/* Flecha del dropdown */
.language-selector-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #666;
    z-index: 2;
}

/* Efecto hover/focus */
.language-select:hover {
    border-color: #aaa;
}

.language-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

/* Asegurar que el texto no se trunque */
.language-select option {
    padding: 5px;
    white-space: normal;
}