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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.btn-primary,
.bg-primary {
    background-color: #1E3A5F !important;
    border-color: #1E3A5F !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #15293F !important;
        border-color: #15293F !important;
    }

a {
    color: #1E3A5F;
}

    a:hover {
        color: #15293F;
    }

@media (min-width: 576px) {
    .navbar-collapse {
        position: relative;
    }

    .navbar-nav.justify-content-center {
        position: absolute;
        left: 40%;
        transform: translateX(-50%);
    }
}

body {
    font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, .navbar-brand, .card-title {
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

.form-control {
    border-radius: 8px;
}

body {
    background-color: #F7F8FA;
}

.card,
.table {
    border-radius: 8px;
}

.table thead.table-light th {
    background-color: #F1F3F5;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5B6675;
}

.form-control {
    border-color: #DDE1E6;
}

    .form-control:focus {
        border-color: #1E3A5F;
        box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
    }

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Circulo de avatar con inicial del nombre */
.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1E3A5F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Texto de rol */
.badge-rol {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-rol-admin {
    background-color: #FBEAE0;
    color: #B8631E;
}

.badge-rol-operador {
    background-color: #E6EEF5;
    color: #1E3A5F;
}