* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Roboto", "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a {
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
    transition: all 0.4s;
    text-decoration: none;
}

a:focus { outline: none !important; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 { margin: 0px; }

p {
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
}

ul, li {
    margin: 0px;
    list-style-type: none;
}

/* ── Layout ────────────────────────────────────── */

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.wrap-login100 {
    width: 450px;
    min-height: 100vh;
    background: #ffffff;
    border-radius: 2px;
    position: relative;
}

.login100-more {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: calc(100% - 450px);
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .login100-more { display: none; }
    .wrap-login100 { width: 100%; }
}

/* ── Panel derecho ─────────────────────────────── */

.login-container {
    padding: 60px 60px 50px 60px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.title-app {
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

/* ── Inputs ────────────────────────────────────── */

.input-group {
    width: 100% !important;
    margin-top: 25px;
    position: relative;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #ced4da;
    background-color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.input-group input:focus {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.35);
}

.input-group input.is-invalid {
    border-color: #dc3545;
    background-color: #fff3f3;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* ── Botón ─────────────────────────────────────── */

.btn-log {
    font-size: 14px;
    width: 100%;
    height: 42px;
    border-radius: 15px;
    color: #fff;
    background-color: #00263e;
    border: none;
    cursor: pointer;
    display: block;
    margin: 25px auto 0 auto;
    transition: background-color 0.2s;
}

.btn-log:hover,
.btn-log:active {
    background-color: #134463;
    color: white;
}

/* ── Alertas ───────────────────────────────────── */

.alert {
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fde8e8;
    color: #8b1a1a;
    border: 1px solid #f5c2c2;
}

.alertMsg {
    position: relative;
}

.alertMsg .close {
    position: absolute;
    right: 10px;
    top: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
}

/* ── Footer ────────────────────────────────────── */

.fix-bottom {
    margin-top: auto;
}

.bottom-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 24px;
}

.version {
    font-size: 11px;
    color: #818181;
    font-style: italic;
}

/* ── Utilidades ────────────────────────────────── */

.m-t-20 { margin-top: 20px; }
.m-b-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.row { display: flex; flex-wrap: wrap; }
.col-md-12 { width: 100%; }
.col-12 { width: 100%; }
.mb-3 { margin-bottom: 12px !important; }
