
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    text-align: center;
}

/* Header & Logo */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Esto es clave para que la imagen no se salga */
}

.logo-img-inside {
    width: 180%;
    height: 128%;
    object-fit: cover; /* O 'contain' si quieres ver el logo completo con bordes */
}

.brand-title { font-size: 0.9rem; font-weight: 400; }
.brand-subtitle { font-size: 1.1rem; font-weight: 700; }

/* Títulos */
h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 30px;
}

.breadcrumb span {
    color: #26c2a3; /* Color verde/cian del diseño */
    font-weight: 600;
}

/* Tarjeta Blanca */
.login-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: #333;
}

.input-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

input:focus {
    border-color: #007bff;
}

/* Botón Azul */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Enlaces inferiores */
.footer-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

.create-account {
    font-weight: 600;
}

/* Footer Logotipo */
.main-footer {
    margin-top: 50px;
    font-size: 0.8rem;
    opacity: 0.7;
}


/* Contenedor principal */
.remember-me {
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

/* Ocultar el checkbox original */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Estilo del label */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568; /* Gris azulado moderno */
    user-select: none;
    transition: all 0.2s ease;
}

/* El cuadro del checkbox personalizado */
.checkmark {
    height: 20px;
    width: 20px;
    background-color: #edf2f7;
    border: 2px solid #cbd5e0;
    border-radius: 6px; /* Bordes redondeados modernos */
    margin-right: 10px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* Efecto al pasar el mouse */
.custom-checkbox:hover .checkmark {
    border-color: #004d69;
    background-color: #e2e8f0;
}

/* Estilo cuando está seleccionado */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #004d69; /* Tu color institucional */
    border-color: #004d69;
}

/* Crear el check (el palito blanco) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Mostrar el check cuando se marca */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Dibujar el check blanco */
.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}