/* Panel Mi fiesta — pantallas de gestion */
body.adm-body,
body.adm-body h1,
body.adm-body h2,
body.adm-body h3,
body.adm-body h4,
body.adm-body h5,
body.adm-body h6,
body.adm-body p,
body.adm-body a,
body.adm-body button,
body.adm-body input,
body.adm-body select,
body.adm-body textarea {
    font-family: "Open Sans", Arial, sans-serif;
}

body.adm-body {
    background:
        radial-gradient(900px 420px at 100% -10%, rgba(127, 178, 217, 0.28), transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(195, 202, 211, 0.45), transparent 55%),
        #f4f7fb;
    color: #4f6378;
    font-family: "Open Sans", Arial, sans-serif;
    min-height: 100vh;
}

body.adm-body #fh5co-wrapper,
body.adm-body #fh5co-page {
    background: transparent;
    min-height: 100vh;
}

body.adm-body #fh5co-header-section.adm-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(195, 202, 211, 0.7);
    box-shadow: 0 8px 24px rgba(79, 99, 120, 0.06);
    z-index: 40;
    backdrop-filter: blur(14px);
}

.adm-header-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.adm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.adm-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7fb2d9;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(127, 178, 217, 0.45);
}

.adm-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.adm-brand-text strong {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #4f6378;
}

.adm-brand-text small {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 10px;
    color: #9aa4b0;
}

.adm-header-actions {
    display: flex;
    gap: 8px;
}

.adm-header-actions a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f6378;
    background: #eef5fb;
    text-decoration: none;
    font-size: 16px;
}

.adm-header-actions a:hover,
.adm-header-actions a:focus {
    background: #7fb2d9;
    color: #fff;
}

.adm-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 18px 64px;
}

.adm-card {
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.65);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(79, 99, 120, 0.08);
    padding: 28px 24px 24px;
}

.adm-card-narrow {
    max-width: 440px;
    margin: 8vh auto 0;
}

.adm-kicker {
    margin: 0 0 6px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 11px;
    color: #7fb2d9;
}

.adm-title {
    margin: 0 0 8px;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.15;
    color: #4f6378;
}

.adm-lead {
    margin: 0 0 22px;
    color: #5e7186;
    font-size: 15px;
    line-height: 1.6;
}

.adm-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: #5e7186;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.adm-back:hover { color: #4f6378; }

.adm-field {
    display: block;
    margin-bottom: 14px;
    text-align: left;
}

.adm-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aa4b0;
}

.adm-field input,
.adm-field select,
.adm-field textarea,
.adm-search {
    width: 100%;
    border: 1px solid #d7dee6;
    background: #fbfcfe;
    color: #4f6378;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}

.adm-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus,
.adm-search:focus {
    border-color: #7fb2d9;
    box-shadow: 0 0 0 4px rgba(127, 178, 217, 0.2);
    background: #fff;
}

.adm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.adm-btn:hover { transform: translateY(-1px); }
.adm-btn:active { transform: translateY(0); }

.adm-btn-primary {
    background: #7fb2d9;
    color: #fff;
    box-shadow: 0 10px 20px rgba(127, 178, 217, 0.35);
}

.adm-btn-primary:hover { background: #6aa3ce; color: #fff; }

.adm-btn-ghost {
    background: #eef5fb;
    color: #4f6378;
}

.adm-btn-ghost:hover { background: #e3eef8; color: #4f6378; }

.adm-btn-wa {
    background: #3d8f78;
    color: #fff;
}

.adm-btn-wa:hover { background: #347c68; color: #fff; }

.adm-btn-line {
    background: transparent;
    color: #5e7186;
    border: 1px solid #d7dee6;
}

.adm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.adm-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 168px;
    padding: 22px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.7);
    box-shadow: 0 12px 30px rgba(79, 99, 120, 0.06);
    text-decoration: none;
    color: #4f6378;
    transition: transform .18s, box-shadow .18s;
}

.adm-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(79, 99, 120, 0.12);
    color: #4f6378;
}

.adm-tile i {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    color: #4f6378;
    font-size: 20px;
}

.adm-tile strong {
    font-size: 18px;
    font-weight: 600;
}

.adm-tile span {
    color: #7b8b9c;
    font-size: 14px;
    line-height: 1.45;
}

.adm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 8px 0 18px;
}

.adm-stat {
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(195, 202, 211, 0.7);
}

.adm-stat b {
    display: block;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: #4f6378;
}

.adm-stat small {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    color: #9aa4b0;
}

button.adm-stat {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

button.adm-stat:hover { border-color: #7fb2d9; }

.adm-stat-on {
    border-color: #7fb2d9;
    box-shadow: 0 0 0 3px rgba(127, 178, 217, 0.25);
}

.adm-stats-3 {
    grid-template-columns: repeat(3, 1fr);
}

.adm-stats-4 {
    grid-template-columns: repeat(4, 1fr);
}

.adm-stat-ambas { box-shadow: inset 4px 0 0 #7fb2d9; }
.adm-stat-ceremonia { box-shadow: inset 4px 0 0 #6a8faf; }
.adm-stat-fiesta { box-shadow: inset 4px 0 0 #c4a46a; }
.adm-stat-no { box-shadow: inset 4px 0 0 #c3cad3; }
.adm-stat-on.adm-stat-ambas,
.adm-stat-on.adm-stat-ceremonia,
.adm-stat-on.adm-stat-fiesta,
.adm-stat-on.adm-stat-no {
    box-shadow: inset 4px 0 0 #7fb2d9, 0 0 0 3px rgba(127, 178, 217, 0.25);
}

.adm-resumen {
    margin: 0 0 16px;
    color: #5e7186;
    font-size: 15px;
}

.adm-resumen strong { color: #4f6378; }

.adm-pill-ambas { background: #e7f2fa; color: #3d6f96; }
.adm-pill-ceremonia { background: #eef2f6; color: #4f6378; }
.adm-pill-fiesta { background: #f8f1e4; color: #8a6a32; }

.adm-stat-si { box-shadow: inset 4px 0 0 #7fb2d9; }
.adm-stat-no { box-shadow: inset 4px 0 0 #c3cad3; }

.adm-search {
    margin-bottom: 14px;
    background: #fff;
}

.adm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.7);
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
}

.adm-item-static { cursor: default; }

.adm-item:hover { border-color: #7fb2d9; }

.adm-pill {
    flex: 0 0 auto;
    min-width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    color: #4f6378;
    font-weight: 700;
}

.adm-pill-si { background: #e7f4ee; color: #2f7a62; }
.adm-pill-no { background: #f8ecec; color: #9a4d4d; }

.adm-item-name {
    font-size: 16px;
    color: #4f6378;
}

.adm-item-meta {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aa4b0;
}

.adm-msg {
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.7);
    border-radius: 18px;
    padding: 16px 18px 14px;
    margin-bottom: 10px;
}

.adm-msg h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #4f6378;
}

.adm-msg p {
    margin: 0;
    color: #5e7186;
    line-height: 1.55;
    white-space: pre-wrap;
}

.adm-vacio {
    text-align: center;
    color: #9aa4b0;
    padding: 28px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px dashed #c3cad3;
}

.adm-linkbox {
    background: #fbf8f1;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.adm-linkbox h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #4f6378;
}

.adm-linkbox textarea {
    width: 100%;
    border: 1px solid #e4dcc8;
    background: #fff;
    color: #4f6378;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}

.adm-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    color: #7b8b9c;
}

.adm-filtros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 6px 0 14px;
}

.adm-filtro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 112px;
    padding: 16px 12px 14px;
    border-radius: 20px;
    border: 1px solid transparent;
    background: #fff;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 24px rgba(79, 99, 120, 0.06);
}

.adm-filtro strong {
    display: block;
    width: 100%;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #4f6378;
}

.adm-filtro-etiqueta {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #4f6378;
}

.adm-filtro small {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.3;
    color: #8b97a3;
}

.adm-filtro-on small { color: rgba(255, 255, 255, 0.85); }

.adm-filtro-ambas { background: #f4f9fd; border-color: #d3e5f3; }
.adm-filtro-ceremonia { background: #f6f8fa; border-color: #dde3e8; }
.adm-filtro-fiesta { background: #fbf8f1; border-color: #efe3cc; }
.adm-filtro-no { background: #f8f5f5; border-color: #eadfdf; }

.adm-filtro-on {
    background: #4f6378;
    border-color: #4f6378;
    box-shadow: 0 12px 24px rgba(79, 99, 120, 0.22);
}

.adm-filtro-on strong,
.adm-filtro-on .adm-filtro-etiqueta { color: #fff; }

.adm-totales {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.adm-total {
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.7);
    border-radius: 16px;
    padding: 14px 16px;
}

.adm-total span {
    display: block;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    color: #9aa4b0;
}

.adm-total b {
    display: block;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: #4f6378;
}

.adm-total small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #9aa4b0;
}

.adm-invitados {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adm-inv {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(195, 202, 211, 0.65);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(79, 99, 120, 0.04);
}

.adm-inv-pases {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.adm-inv-pases b {
    font-size: 22px;
    line-height: 1;
}

.adm-inv-pases small {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.adm-inv-cuerpo { min-width: 0; }
.adm-inv-cuerpo strong {
    display: block;
    font-size: 17px;
    color: #4f6378;
}

.adm-inv-cuerpo .adm-item-meta {
    display: block;
    margin-top: 2px;
}

.adm-inv-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.adm-inv-ambas .adm-inv-pases,
.adm-inv-ambas .adm-inv-tag { background: #e7f2fa; color: #3d6f96; }
.adm-inv-ceremonia .adm-inv-pases,
.adm-inv-ceremonia .adm-inv-tag { background: #eef2f6; color: #4f6378; }
.adm-inv-fiesta .adm-inv-pases,
.adm-inv-fiesta .adm-inv-tag { background: #f8f1e4; color: #8a6a32; }
.adm-inv-no .adm-inv-pases,
.adm-inv-no .adm-inv-tag { background: #f8ecec; color: #9a4d4d; }

@media (max-width: 680px) {
    .adm-title { font-size: 28px; }
    .adm-grid { grid-template-columns: 1fr; }
    .adm-card-narrow { margin-top: 18px; }
    .adm-tile { min-height: 0; }
    .adm-stats-3,
    .adm-stats-4 { grid-template-columns: 1fr 1fr; }
    .adm-stat b { font-size: 28px; }
    .adm-filtros { grid-template-columns: 1fr 1fr; }
    .adm-filtro { min-height: 112px; }
    .adm-filtro strong { font-size: 28px; }
}
