/* ===============================================
   LOGIN - KRONOPORE ERP
   =============================================== */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-card {
    background: #1a1d22;
    border: 1px solid #2a2d33;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-card h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.login-card .subtitle {
    color: #888;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.login-card label {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
}

/* Inputs normales (usuario) */
.login-card input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    background: #14161a;
    border: 1px solid #2a2d33;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.login-card input[type="text"]:focus {
    outline: none;
    border-color: #0ea5e9;
}

/* Botón submit */
.login-card button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #0ea5e9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-card button[type="submit"]:hover {
    background: #0284c7;
}

.login-card .logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-card .logo img {
    max-width: 180px;
}

/* ===== PASSWORD TOGGLE ===== */
.password-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.password-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background: #14161a;
    border: 1px solid #2a2d33;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.password-wrapper input:focus {
    outline: none;
    border-color: #0ea5e9;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 6px;
    color: #666;
}

.toggle-password:hover {
    color: #ccc;
}
