/* Fondo general */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #3dc5ffbc, #0077b6);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Contenedor del login */
.login-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    width: 380px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* Banner de título */
.header-banner h1 {
    color: #3dc5ff;
    margin-bottom: 10px;
    font-size: 2rem;
}

/* Subtítulo */
.login-form p {
    color: #555;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Estilos de inputs */
.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}

/* Eliminamos las flechas feas */
.input-group .arrow {
    display: none;
}

/* Caja de input */
.input-field {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    flex: 1;
    background: #f9f9f9;
    transition: border 0.3s ease;
}

.input-field:focus-within {
    border-color: #3dc5ff;
    box-shadow: 0 0 8px rgba(61, 197, 255, 0.689);
}

/* Icono dentro del input */
.input-field .icon {
    margin-right: 10px;
    color: #3dc5ff;
}

/* Campo de texto */
.input-field input {
    border: none;
    outline: none;
    flex: 1;
    background: transparent;
    font-size: 14px;
}

/* Icono para mostrar contraseña */
.toggle-password {
    cursor: pointer;
    color: #00bbff;
    transition: color 0.3s;
}
.toggle-password:hover {
    color: #3dc5ffbc;
}

/* Mensajes de error */
.error-message {
    font-size: 13px;
    color: red;
    margin-bottom: 10px;
    display: block;
}

/* Botón de login */
#loginButton {
    background: #3dc5ffe7;
    border: none;
    padding: 12px;
    width: 100%;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}
#loginButton:hover {
    background: #01b6f2;
}

/* Texto de registro */
h3 {
    font-size: 14px;
    margin-top: 20px;
    color: #333;
}
h3 a {
    color: #2fc1ff;
    font-weight: bold;
    text-decoration: none;
}
h3 a:hover {
    text-decoration: underline;
}

/* Logo */
.footer-logo {
    margin-top: 20px;
}
.footer-logo .dunamis-logo {
    width: 100px;
    transition: transform 0.3s ease;
}
.footer-logo .dunamis-logo:hover {
    transform: scale(1.1);
}
/* Botones del registro */
#createButton, 
#backToLoginButton {
    background: #3dc5ffe7;
    border: none;
    padding: 12px;
    width: 100%;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* espacio entre icono y texto */
}

/* Efecto hover */
#createButton:hover, 
#backToLoginButton:hover {
    background: #01b6f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 197, 255, 0.4);
}

/* Diferenciar el botón de volver */
#backToLoginButton {
    background: #555; 
}
#backToLoginButton:hover {
    background: #333;
}

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}