html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.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: 0;
}

.admin-hero {
    background: #0b1f2a;
    border-radius: 18px;
    padding: 22px 22px;
    color: #fff;
    margin: 16px;
}

.admin-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
}

.admin-subtitle {
    opacity: .85;
    margin-top: 4px;
}

.admin-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.table-head th {
    background: #f3f6f8;
    border-bottom: 1px solid #e6eef2;
}

.btn-teal {
    background: #1fb6b3;
    border-color: #1fb6b3;
    color: #062027;
    font-weight: 700;
}

    .btn-teal:hover {
        background: #17a5a2;
        border-color: #17a5a2;
        color: #062027;
    }

.admin-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.admin-modal-header {
    background: #0b1f2a;
    color: #fff;
}

.admin-brand-title {
    font-weight: 800;
    font-size: 18px;
}

.admin-brand-sub {
    opacity: .8;
    font-size: 12px;
    margin-top: 2px;
}

.admin-nav {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,.06);
}

    .admin-link:hover {
        background: rgba(31,182,179,.22);
        color: #fff;
    }

/* Admin ocupa toda la pantalla */
.admin-shell {
    display: flex;
    gap: 16px;
    padding: 16px;
    width: 100%;
    min-height: calc(100vh - 0px);
    max-width: none;
}

/* Quita el limite tipo "contenedor" */
.admin-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Sidebar fijo, main fluido */
.admin-side {
    width: 300px;
    background: #0b1f2a;
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* En pantallas grandes, mas aire */
@media (min-width: 1400px) {
    .admin-shell {
        padding: 22px;
    }

    .admin-side {
        width: 320px;
        min-width: 320px;
    }
}

/* Oculta banner de warning de CKEditor 4.22.1 */
.cke_notification,
.cke_notifications_area {
    display: none !important;
}

/* Softcame footer */
.softcame-footer {
    padding: .75rem 0;
}

.softcame-footer__link {
    text-decoration: none;
    font-size: 0.95rem;
}

    .softcame-footer__link:hover {
        text-decoration: underline;
    }

.softcame-heart {
    display: inline-block;
    margin: 0 .15rem;
    transform-origin: center;
    animation: softcamePulse 1s infinite ease-in-out;
}

@keyframes softcamePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* Accesibilidad: texto solo para lectores de pantalla */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
