﻿body {
    padding-top: 72px;
    padding-bottom: 20px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-home {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.navbar-home svg {
    display: block;
}

.home-page {
    padding-top: 8px;
    padding-bottom: 16px;
}

.home-hero {
    background: #f4f7fb;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 28px;
}

.home-logo {
    max-width: 220px;
    height: auto;
}

.home-kicker {
    margin: 0 0 6px 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6b7c;
    font-weight: 600;
}

.home-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1d2a38;
    margin-bottom: 8px;
}

.home-lead {
    color: #5b6b7c;
    font-size: 1.05rem;
}

.home-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.home-card .card-body {
    padding: 24px;
}

.home-card h2 {
    margin-top: 12px;
    margin-bottom: 8px;
    color: #1d2a38;
}

.home-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-icon-internacion {
    color: #0d6efd;
    background: #e7f1ff;
}

.home-icon-ambulatorio {
    color: #198754;
    background: #e8f6ee;
}

.home-icon-estadistica {
    color: #6f42c1;
    background: #f3eefc;
}

.login-page {
    min-height: 100vh;
    background: #f4f7fb;
}

.login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px 28px 28px;
    margin-top: 24px;
}

.login-logo {
    max-width: 220px;
    height: auto;
}

.login-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #1d2a38;
    margin: 0;
}

.login-note {
    margin-top: 16px;
    padding: 12px 14px;
    color: #5b6b7c;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.25;
}

.login-note p {
    margin: 0;
    text-align: center;
    line-height: 1.25;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #7a8a99;
    font-size: 0.8rem;
}

.pager-bar {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 14px;
    width: 100%;
    text-align: left;
    margin: 16px 0 8px;
    padding: 6px 12px 6px 12px;
    background: #f4f7fb;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.pager-meta {
    color: #5b6b7c;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    gap: 6px;
    white-space: nowrap;
    margin: 0;
    text-align: left;
}

.pager-meta strong {
    color: #1d2a38;
}

.pager-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c5d0db;
}

.pagination.pager-pages {
    margin: 0;
    flex-wrap: nowrap;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
    gap: 3px;
}

.pagination.pager-pages .page-item .page-link {
    border-radius: 6px;
    border-color: #e2e8f0;
    color: #1d2a38;
    min-width: 30px;
    text-align: center;
    padding: 0.18rem 0.45rem;
    font-weight: 400;
    margin-left: 0;
    line-height: 1.3;
}

.pagination.pager-pages .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.pagination.pager-pages .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #e7f1ff;
    border-color: #b6d4fe;
    color: #0d6efd;
}

.pagination.pager-pages .page-item.disabled .page-link {
    color: #9aa8b5;
    background: #fff;
    border-color: #eef2f6;
}

.pagination.pager-pages .pager-ellipsis {
    min-width: 1.5rem;
    border: 0;
    background: transparent;
    color: #9aa8b5;
}

.pagination.pager-pages .pager-label {
    margin: 0 2px;
}

@media (max-width: 767.98px) {
    .pagination.pager-pages .pager-label {
        display: none;
    }
}
