html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* General */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
}

/* Login wrapper */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Logo */
.logo img {
    height: 80px;
    margin-bottom: 30px;
}

/* Login box */
.login-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Form elements */
.form-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

    .btn-login:hover {
        background-color: #0056b3;
    }

/* Error message */
.error-message {
    color: red;
    margin-top: 15px;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 40px; /* espacio para el icono */
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}
.login-title {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
}
.remember-checkbox {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mensaje-error {
    color: red;
    background-color: #ffe6e6;
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .btn-lg.w-50 {
        width: 90% !important;
    }
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border: 1px solid #ccc !important;
    color: #bbb !important; /* gris clarito para el texto */
}