/* --- VARIABLES DEL DISEÑO SISTEMÁTICO --- */
:root {
    --bg-dark: #090612;
    --bg-card: rgba(18, 14, 30, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-focus: rgba(255, 42, 122, 0.4);
    --primary-pink: #ff2a7a;
    --primary-pink-gradient: linear-gradient(135deg, #ff2a7a, #e8125a);
    --whatsapp-gradient: linear-gradient(135deg, #25d366, #128c7e);
    --gold: #ffb700;
    --gold-gradient: linear-gradient(135deg, #ffe066, #d4af37);
    --text-white: #ffffff;
    --text-gray: #a5a1b8;
    --text-muted: #6a667d;
    --shadow-neon: 0 0 20px rgba(255, 42, 122, 0.35);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- ESTILOS GENERALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(26, 15, 53, 0.5) 0%, rgba(9, 6, 18, 1) 90.2%);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- ENCABEZADO (Header) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: rgba(9, 6, 18, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-red {
    background: var(--primary-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-style: italic;
    font-size: 1.6rem;
    margin-right: 2px;
}

.badge-admin {
    font-size: 0.7rem;
    background: var(--primary-pink-gradient);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 1px;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.header-icons i {
    font-size: 1.4rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.header-icons i:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(255, 42, 122, 0.6);
}

/* --- SECCIÓN DE BÚSQUEDA Y FILTROS --- */
.search-section {
    text-align: center;
    padding: 60px 20px 40px;
    background: transparent;
}

.search-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #dcd8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-container {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 15px rgba(255, 42, 122, 0.2);
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid var(--border-glass);
    background-color: var(--bg-card);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: rgba(255, 42, 122, 0.5);
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--primary-pink-gradient);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: var(--shadow-neon);
}

/* --- REJILLA DE TARJETAS (Index) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
    flex-grow: 1;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 122, 0.4);
    box-shadow: 0 12px 30px rgba(255, 42, 122, 0.15);
}

.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover .card-img img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.badge-platino {
    top: 15px;
    left: 15px;
    background: var(--gold-gradient);
    color: #0f0a00;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-price {
    top: 15px;
    right: 15px;
    background-color: rgba(9, 6, 18, 0.75);
    border: 1px solid var(--border-glass);
}

.card-info {
    padding: 18px;
}

.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.rating {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- PIE DE PÁGINA (Footer) --- */
.main-footer {
    background-color: #05030a;
    color: var(--text-gray);
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
    border-top: 1px solid var(--border-glass);
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- PÁGINA DE PERFIL --- */
.bg-light {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    flex-grow: 1;
}

.back-nav {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 15px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
}

.back-link:hover {
    color: var(--text-white);
    border-color: var(--primary-pink);
    background: rgba(255, 42, 122, 0.05);
}

.profile-card {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(15px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-avatar-container {
    position: relative;
}

.profile-avatar-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--primary-pink-gradient);
    border-radius: 50%;
    z-index: -1;
    box-shadow: var(--shadow-neon);
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid var(--bg-dark);
}

.profile-details h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.profile-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-badges span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-platino {
    background: var(--gold-gradient);
    color: #0f0a00;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.badge-gray {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-contact {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-whatsapp-color {
    background: var(--whatsapp-gradient);
    border: none;
    color: white;
}

.btn-whatsapp-color:hover {
    background: var(--whatsapp-gradient);
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-outline-pink {
    border-color: var(--primary-pink);
    color: var(--text-white);
    background: rgba(255, 42, 122, 0.05);
}

.btn-outline-pink:hover {
    background: var(--primary-pink-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.icon-btn {
    flex: 0.2;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 25px;
    gap: 10px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-white);
}

.tab-btn.active {
    color: var(--primary-pink);
    border-bottom-color: var(--primary-pink);
}

.tab-content {
    min-height: 180px;
}

.tab-desc-text {
    line-height: 1.7;
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Tab Content Grids and Lists */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.gallery-item img:hover {
    transform: scale(1.06);
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.services-list li {
    font-size: 1rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.accent-text {
    color: var(--primary-pink);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 18px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-header strong {
    font-size: 1rem;
    color: var(--text-white);
}

.review-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Error Card Page */
.error-card {
    margin: 40px auto;
}

.error-card h2 {
    color: var(--primary-pink);
    margin-bottom: 15px;
}

/* --- LOGIN ADMINISTRADOR --- */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 50%, rgba(26, 15, 53, 0.6) 0%, rgba(9, 6, 18, 1) 100%);
    padding: 20px;
}

.login-container {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
}

.login-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-group textarea {
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(255, 42, 122, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-pink-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neon);
}

.btn-submit:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 25px rgba(255, 42, 122, 0.5);
}

.login-error-msg {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary-pink);
    display: none;
    background: rgba(255, 42, 122, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 42, 122, 0.2);
}

/* --- ADMIN DASHBOARD --- */
.admin-dashboard-body {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.btn-logout {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    background: rgba(255, 42, 122, 0.1);
    border-color: var(--primary-pink);
    color: var(--text-white);
}

.dashboard-container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    flex-grow: 1;
}

.dashboard-header-section {
    margin-bottom: 30px;
}

.dashboard-header-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.dashboard-header-section p {
    color: var(--text-gray);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-card);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 42, 122, 0.1);
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 42, 122, 0.2);
}

.platino-icon {
    background: rgba(255, 183, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 183, 0, 0.2);
}

.views-icon {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Action Bar */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.action-bar h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-add {
    width: auto;
    padding: 12px 24px;
}

/* CRUD Table styling */
.table-responsive {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--shadow-card);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-gray);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    transition: var(--transition-smooth);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1.5px solid var(--primary-pink);
}

.btn-action {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-gray);
    margin-right: 5px;
}

.btn-action:hover {
    color: var(--text-white);
}

.edit-btn:hover {
    background: rgba(255, 183, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.delete-btn:hover {
    background: rgba(255, 42, 122, 0.1);
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

/* Modal form popup styling */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 3, 10, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    margin: 40px auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 680px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-glass);
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

.close {
    color: var(--text-gray);
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close:hover {
    color: var(--primary-pink);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

.form-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-pink);
    border-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .search-section h1 {
        font-size: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-badges {
        justify-content: center;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .action-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-add {
        width: 100%;
    }
}

/* --- IMAGE PREVIEW AND GALLERY FORM WIDGETS --- */
.image-preview-box {
    margin-top: 10px;
    width: 100%;
    max-width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}
.image-preview-box:hover {
    border-color: rgba(255, 42, 122, 0.3);
}
.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    min-height: 120px;
    padding: 10px;
    border: 1px dashed var(--border-glass);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
    width: 100%;
}
.gallery-preview-grid:hover {
    border-color: rgba(255, 42, 122, 0.3);
}

.gallery-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}
.gallery-preview-item:hover {
    transform: scale(1.05);
}
.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-preview-item .delete-img-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 42, 122, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 5;
}
.gallery-preview-item .delete-img-btn:hover {
    background: #ff2a7a;
    transform: scale(1.2);
}

/* --- ESTILOS DE BOTÓN DE ESTADO DE SUSCRIPCIÓN --- */
.btn-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
}
.status-active {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
.status-active:hover {
    background: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}
.status-inactive {
    background: rgba(255, 42, 122, 0.15);
    color: var(--primary-pink);
    border: 1px solid rgba(255, 42, 122, 0.3);
}
.status-inactive:hover {
    background: rgba(255, 42, 122, 0.3);
    box-shadow: 0 0 10px rgba(255, 42, 122, 0.2);
}

/* --- SUBSCRIPTION FORM SECTION --- */
.subscription-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}
.subscription-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-pink);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.subscription-section input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
}
.subscription-section input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(255, 42, 122, 0.15);
}
.subscription-info-box {
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* --- ADULT AGE VERIFICATION MODAL --- */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.age-modal-content {
    background-color: #05030a;
    border: 2px solid var(--primary-pink);
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 42, 122, 0.15);
}

.age-modal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.badge-notice {
    display: inline-block;
    border: 2px solid var(--primary-pink);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.age-modal-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.age-modal-body .law-notice {
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

.age-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-age-accept, .btn-age-reject {
    flex: 1;
    min-width: 250px;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    background-color: #05030a;
    border: 2px solid var(--primary-pink);
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-age-accept:hover {
    background: var(--primary-pink-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--shadow-neon);
}

.btn-age-reject:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.age-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.age-modal-footer p {
    margin-bottom: 8px;
}

.age-modal-footer a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
}

.age-modal-footer a:hover {
    text-decoration: underline;
}

body.age-modal-active {
    overflow: hidden;
    height: 100vh;
}