.admin-page .dash-header {
    margin-bottom: 18px;
}

.admin-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

.admin-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 45, 122, 0.28);
    color: #f8f3f5;
    font-weight: bold;
    font-size: 14px;
}

.admin-nav a:hover {
    background: rgba(255, 45, 122, 0.16);
    border-color: rgba(255, 45, 122, 0.55);
}

.stat-card strong {
    display: block;
    font-size: 38px;
    margin-top: 10px;
    color: #ff9bbf;
}

.table-card {
    overflow-x: auto;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        #130c24;
    border: 1px solid rgba(255, 45, 122, 0.24);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 45, 122, 0.16);
    text-align: left;
    color: #d7c7d3;
}

.admin-table th {
    color: #f8f3f5;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.04);
}

.actions-cell {
    display: flex;
    gap: 10px;
    align-items: center;
}

.actions-cell a,
.actions-cell button {
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 45, 122, 0.14);
    color: #ff9bbf;
    font-weight: bold;
    font-size: 13px;
}

.actions-cell button {
    color: #ffd0df;
    background: rgba(255, 72, 72, 0.16);
}

.actions-cell form {
    margin: 0;
}

.pagination-wrap {
    margin-top: 18px;
    color: #d7c7d3;
}

.admin-back {
    margin-top: 10px;
}

.form-grid {
    margin: 12px 0;
}

.checks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 20px;
}

.pill-check {
    margin: 0;
    font-weight: normal;
}

.pill-check input {
    display: none;
}

.pill-check span {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 45, 122, 0.30);
    color: #d7c7d3;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.pill-check input:checked + span {
    color: #fff;
    background: linear-gradient(135deg, #ff2d7a, #8e24aa);
    box-shadow: 0 0 20px rgba(255, 45, 122, 0.25);
}

.preference-flags {
    padding-top: 15px;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-tags span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 45, 122, 0.14);
    color: #ff9bbf;
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 850px) {
    .admin-table {
        min-width: 680px;
    }

    .actions-cell {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Paquete 03 — Modo GoLove y descubrimiento */
.dash-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.alert.error {
    background: rgba(255, 72, 72, 0.14);
    color: #ffd0df;
    border: 1px solid rgba(255, 72, 72, 0.36);
}

.alert.error p {
    margin: 5px 0;
}

.status-ok {
    color: #8dffb9;
}

.status-muted {
    color: #ff9bbf;
}

.mini-table-card {
    margin-top: 12px;
}

.crazy-discover {
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.22), transparent 42%),
        linear-gradient(160deg, rgba(142, 36, 170, 0.28), rgba(255, 255, 255, 0.03)),
        #130c24;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.suggestion-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 45, 122, 0.24);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        #130c24;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.suggestion-photo {
    min-height: 260px;
    background:
        radial-gradient(circle at center, rgba(255, 45, 122, 0.30), transparent 44%),
        linear-gradient(135deg, #130c24, #2d1b45);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    font-size: 52px;
    color: #fff;
}

.suggestion-body {
    padding: 22px;
}

.suggestion-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.suggestion-topline strong {
    color: #ff9bbf;
    font-size: 22px;
}

.mode-pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 45, 122, 0.14);
    color: #ff9bbf;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid rgba(255, 45, 122, 0.30);
}

.mode-pill.crazy {
    background: rgba(142, 36, 170, 0.22);
    color: #e7c8ff;
    border-color: rgba(205, 123, 255, 0.35);
}

.safe-distance {
    margin-top: 14px;
    color: #d7c7d3;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    border-radius: 26px;
    border: 1px dashed rgba(255, 45, 122, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.empty-state h3 {
    color: #f8f3f5;
}

.empty-state p {
    color: #d7c7d3;
}

.preview-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
}

.preview-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.preview-photos img,
.missing-photo {
    width: 100%;
    min-height: 260px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 45, 122, 0.26);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.missing-photo {
    display: grid;
    place-items: center;
    color: white;
    font-size: 54px;
    background:
        radial-gradient(circle at center, rgba(255, 45, 122, 0.30), transparent 44%),
        linear-gradient(135deg, #130c24, #2d1b45);
}

.preview-info h2 {
    margin-top: 16px;
    color: #f8f3f5;
    font-size: 34px;
}

.score-box {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 45, 122, 0.10);
    border: 1px solid rgba(255, 45, 122, 0.24);
    margin: 20px 0;
}

.score-box strong {
    font-size: 42px;
    color: #ff9bbf;
}

.score-box span {
    color: #d7c7d3;
}

.locked-box {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 45, 122, 0.26);
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.16), transparent 42%),
        rgba(255,255,255,0.04);
    margin-top: 20px;
}

@media (max-width: 1050px) {
    .suggestion-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .suggestion-grid {
        grid-template-columns: 1fr;
    }

    .dash-actions {
        justify-content: flex-start;
    }
}


/* Paquete 04 — Solicitudes, pre-match y match mutuo */
.margin-top-small {
    margin-top: 12px;
}

.big-gap-top {
    margin-top: 44px;
}

.decision-box,
.request-status-box {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 45, 122, 0.26);
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.16), transparent 42%),
        rgba(255,255,255,0.04);
    margin-top: 22px;
}

.request-status-box {
    color: #d7c7d3;
}

.request-card,
.match-card {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        #130c24;
    border: 1px solid rgba(255, 45, 122, 0.24);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.request-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.request-card.compact {
    grid-template-columns: 1fr;
}

.request-person {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.request-photo,
.match-photo {
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(255, 45, 122, 0.30), transparent 44%),
        linear-gradient(135deg, #130c24, #2d1b45);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    border: 1px solid rgba(255, 45, 122, 0.26);
}

.request-photo.small {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    border-radius: 18px;
    font-size: 26px;
}

.request-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.request-title-line h2,
.request-title-line h3 {
    margin: 0;
}

.request-card p,
.match-card p {
    color: #d7c7d3;
    line-height: 1.6;
}

.request-message {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    color: #ffbdd3;
    border: 1px solid rgba(255, 45, 122, 0.20);
    margin: 12px 0;
}

.decision-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 210px;
}

.match-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.match-photo {
    width: 220px;
    height: 260px;
    flex-basis: 220px;
    font-size: 58px;
}

.match-info h2 {
    color: #f8f3f5;
    font-size: 32px;
}

.match-lock-box button:disabled {
    opacity: 0.70;
    cursor: not-allowed;
}

@media (max-width: 850px) {
    .request-card,
    .match-card {
        grid-template-columns: 1fr;
    }

    .request-person {
        flex-direction: column;
    }

    .request-photo,
    .match-photo {
        width: 100%;
        height: 260px;
        flex-basis: auto;
    }

    .decision-actions {
        min-width: 0;
    }
}

/* Paquete 05A — Pase de Conexión y Regalo de Conexión */
.connection-demo-alert {
    padding: 18px 20px;
    border-radius: 22px;
    color: #ffd6e4;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.16), transparent 42%),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255, 45, 122, 0.26);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
    line-height: 1.55;
}

.match-card.unlocked {
    border-color: rgba(40, 210, 120, 0.35);
    box-shadow:
        0 0 32px rgba(40, 210, 120, 0.10),
        0 18px 45px rgba(0, 0, 0, 0.30);
}

.connection-panel {
    margin-top: 22px;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.18), transparent 42%),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255, 45, 122, 0.25);
}

.connection-panel.active {
    background:
        radial-gradient(circle at top right, rgba(40, 210, 120, 0.16), transparent 42%),
        rgba(255,255,255,0.045);
    border-color: rgba(40, 210, 120, 0.32);
}

.connection-panel h3 {
    margin: 6px 0 8px;
    color: #f8f3f5;
    font-size: 24px;
}

.connection-kicker {
    display: inline-block;
    color: #ff9bbf;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.connection-panel.active .connection-kicker {
    color: #b7ffd3;
}

.connection-status-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.connection-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 45, 122, 0.12);
    color: #ffbdd3;
    border: 1px solid rgba(255, 45, 122, 0.30);
}

.connection-pill.active {
    background: rgba(40, 210, 120, 0.12);
    color: #b7ffd3;
    border-color: rgba(40, 210, 120, 0.35);
}

.connection-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.connection-actions form {
    margin: 0;
}

.connection-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 16px 0 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.connection-meta p {
    margin: 0;
    font-size: 14px;
}

.small-text {
    font-size: 13px;
}

@media (max-width: 850px) {
    .connection-actions,
    .connection-meta {
        grid-template-columns: 1fr;
    }
}

/* Paquete 05B — Pagos Mercado Pago / Play Store ready */
.admin-nav a[href*="payments"] {
    border-color: rgba(255, 45, 122, 0.48);
}

.admin-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 45, 122, 0.20);
    border-radius: 24px;
    padding: 12px;
}

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d7c7d3;
}

.status-pill.approved {
    color: #b7ffd3;
    background: rgba(40, 210, 120, 0.12);
    border-color: rgba(40, 210, 120, 0.35);
}

.status-pill.failed,
.status-pill.cancelled {
    color: #ffc4d9;
    background: rgba(255, 45, 122, 0.12);
    border-color: rgba(255, 45, 122, 0.35);
}

.status-pill.checkout_created,
.status-pill.pending {
    color: #ffe4a3;
    background: rgba(255, 180, 60, 0.12);
    border-color: rgba(255, 180, 60, 0.35);
}

.payment-amount {
    font-size: 38px;
    font-weight: 900;
    color: #ff9bbf !important;
    margin: 8px 0 14px;
}

.payment-summary-card {
    border-color: rgba(255, 45, 122, 0.40);
}

.payment-event {
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 45, 122, 0.18);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 12px;
}

.payment-event p {
    margin: 5px 0;
}

/* Paquete 06: chat, reportes y bloqueos */
.chat-header-card,
.chat-safety-card,
.chat-main-card,
.chat-side-card,
.admin-table-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)), #130c24;
    border: 1px solid rgba(255, 45, 122, 0.24);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.chat-header-card {
    padding: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.chat-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2d7a, #8e24aa);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 0 28px rgba(255, 45, 122, 0.38);
}

.chat-header-card h1 {
    margin: 0;
}

.chat-header-card p,
.chat-safety-card {
    color: #d7c7d3;
}

.chat-safety-card {
    padding: 16px 20px;
}

.chat-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    align-items: start;
}

.chat-main-card,
.chat-side-card {
    padding: 22px;
}

.chat-thread {
    min-height: 360px;
    max-height: 560px;
    overflow-y: auto;
    padding: 8px;
}

.chat-row {
    display: flex;
    flex-direction: column;
    margin: 12px 0;
}

.chat-row.mine {
    align-items: flex-end;
}

.chat-row.theirs {
    align-items: flex-start;
}

.chat-bubble {
    width: fit-content;
    max-width: min(680px, 86%);
    padding: 13px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 45, 122, 0.22);
}

.chat-row.mine .chat-bubble {
    background: linear-gradient(135deg, #ff2d7a, #8e24aa);
    color: #fff;
    border-color: transparent;
}

.chat-row.theirs .chat-bubble {
    background: rgba(255, 255, 255, 0.06);
    color: #f8f3f5;
}

.chat-bubble p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.45;
}

.chat-bubble span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    opacity: 0.72;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
    margin-top: 14px;
}

.chat-form textarea {
    min-height: 60px;
}

.message-report,
.safety-details {
    margin-top: 8px;
    color: #d7c7d3;
}

.message-report summary,
.safety-details summary {
    cursor: pointer;
    color: #ff9bbf;
    font-weight: bold;
}

.message-report form,
.safety-details form {
    margin-top: 10px;
}

.safety-details.danger summary {
    color: #ff6b8f;
}

.soft-line {
    border: none;
    border-top: 1px solid rgba(255, 45, 122, 0.18);
    margin: 18px 0;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-table-card {
    overflow-x: auto;
    padding: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #f8f3f5;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 45, 122, 0.14);
    text-align: left;
}

.admin-table th {
    color: #ff9bbf;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table a {
    color: #ff9bbf;
    font-weight: bold;
}

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.08);
    color: #d7c7d3;
}

.status-pill.pending {
    background: rgba(255, 193, 7, 0.14);
    color: #ffe08a;
}

.status-pill.reviewing {
    background: rgba(70, 145, 255, 0.16);
    color: #abd0ff;
}

.status-pill.resolved {
    background: rgba(40, 210, 120, 0.14);
    color: #b7ffd3;
}

.status-pill.dismissed {
    background: rgba(255, 255, 255, 0.08);
    color: #d7c7d3;
}

.reported-message-box {
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 45, 122, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #f8f3f5;
    white-space: pre-wrap;
}

.pagination-wrap {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-header-card,
    .chat-form {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}


/* Paquete 08 — Producción, seguridad, usuarios y bajas */
.filter-card {
    display: grid;
    grid-template-columns: 1fr 220px 180px auto auto;
    gap: 12px;
    align-items: end;
    margin: 0 0 22px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 45, 122, 0.22);
}

.status-pill {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d7c7d3;
    border: 1px solid rgba(255, 45, 122, 0.22);
    font-size: 12px;
    font-weight: bold;
}

.status-activo,
.status-completed,
.status-resolved {
    background: rgba(40, 210, 120, 0.14);
    color: #b7ffd3;
    border-color: rgba(40, 210, 120, 0.35);
}

.status-suspendido,
.status-deleted,
.status-rejected {
    background: rgba(255, 72, 72, 0.16);
    color: #ffd0df;
    border-color: rgba(255, 72, 72, 0.36);
}

.status-deletion_requested,
.status-pending,
.status-reviewing {
    background: rgba(255, 185, 80, 0.14);
    color: #ffe0a8;
    border-color: rgba(255, 185, 80, 0.38);
}

.mini-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mini-photos img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 45, 122, 0.28);
}

@media (max-width: 850px) {
    .filter-card {
        grid-template-columns: 1fr;
    }
}
