/* LOGIN PAGE (Body) */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* LOGIN BOX */
.login-box {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* CARD */
.card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6eef8;
    box-shadow: 0 12px 30px rgba(12, 40, 80, 0.08);
    overflow: hidden;
}

.card-outline.card-primary {
    border-top: 4px solid #0068a9;
}

/* HEADER */
.card-header {
    padding: 26px 20px 5px 20px;
    text-align: center;
}

.logoLogin img {
    display: block;
}

.card-header span {
    line-height: 1;
}

/* BODY */
.card-body {
    /* padding: 26px 28px 30px 28px; */
    padding: 0px 28px 30px 28px;
}

/* TEXTO DE ESTADO */
.login-box-msg {
    margin-bottom: 18px;
    font-size: 16px;
    text-align: center;
    color: #475569;
}

.text-danger {
    color: #dc2626;
    font-weight: 600;
}

.text-success {
    color: #16a34a;
    font-weight: 600;
}

/* INPUT GROUP */
.input-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 16px;
    height: 42px;
    border-radius: 8px;
    transition: box-shadow .15s ease-in-out;
}

.input-group:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 104, 169, 0.12);
}

.form-control {
    flex: 1;
    padding: 0 12px;
    height: 100%;
    border-radius: 8px 0 0 8px;
    border: 1px solid #cfd9e6;
    border-right: none;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s ease-in-out;
}

.input-group:focus-within .form-control {
    outline: none;
    border-color: #0068a9;
}

/* ÍCONE À DIREITA */
.input-group-append {
    display: flex;
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: #f1f5f9;
    border: 1px solid #cfd9e6;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #64748b;
    font-size: 13px;
    height: 100%;
    box-sizing: border-box;
    transition: border-color .15s ease-in-out;
}

.input-group:focus-within .input-group-text {
    border-color: #0068a9;
}

/* BOTÃO */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #0068a9 0%, #06b6d4 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 104, 169, 0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 104, 169, 0.35);
}

/* GRID SIMPLES */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-12 {
    width: 100%;
}

.mt-3 {
    margin-top: 16px;
}

/* ALERTA */
.alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(12, 40, 80, 0.15);
    max-width: 360px;
}

.alert-danger {
    background: #fee2e2;
}

.alert .close {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}