/* ==========================================================================
   VARIABLES GLOBALES (Reutilizables en todo el sitio)
   ========================================================================== */
:root {
    --premium-bg: #0a0a0a;
    --premium-card: #161616;
    --premium-input: #222222;
    --premium-gold: #c5a059;
    --premium-gold-dark: #a17e3b;
    --premium-text: #e0e0e0;
    --premium-muted: #888888;
    --premium-border: #2a2a2a;
    --premium-error: #ff6b6b;
}

/* Base */
.body_guest {
    background-color: var(--premium-bg);
    color: var(--premium-text);
    min-height: 100vh;
}

/* ==========================================================================
   COMPONENTES REUTILIZABLES (Cards, Botones, Inputs)
   ========================================================================== */

.card_premium {
    background-color: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative;
}

.btn_premium_gold {
    background: linear-gradient(135deg, var(--premium-gold) 0%, var(--premium-gold-dark) 100%);
    color: #000 !important;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn_premium_gold:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.input_premium {
    background-color: var(--premium-input) !important;
    border: 1px solid var(--premium-border) !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.input_premium:focus {
    border-color: var(--premium-gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.1) !important;
    outline: none;
}

/* ==========================================================================
   ESPECÍFICO: VISTA AUTH (Login / Registro / Formularios)
   ========================================================================== */

.auth_accent_line {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--premium-gold), var(--premium-gold-dark));
    position: absolute;
    top: 0;
    left: 0;
}

.auth_title {
    color: #ffffff;
    letter-spacing: -0.5px;
}

.auth_subtitle {
    color: var(--premium-muted);
}

.auth_label {
    color: var(--premium-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.auth_link {
    color: var(--premium-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth_link:hover {
    color: var(--premium-text);
}

/* Divisor con degradado para no ser una línea sólida aburrida */
.auth_divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--premium-border), transparent);
    margin: 1.5rem 0;
}

.auth_icon_container {
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
}

/* Estilo para el checkbox de términos y "recordarme" */
.auth_checkbox {
    background-color: var(--premium-input);
    border: 1px solid var(--premium-border);
    cursor: pointer;
}

.auth_checkbox:checked {
    background-color: var(--premium-gold);
    border-color: var(--premium-gold-dark);
}

.auth_checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.1);
    border-color: var(--premium-gold);
}

/* Manejo de errores de validación */
.input_premium.is-invalid {
    border-color: var(--premium-error) !important;
}

.invalid-feedback {
    color: var(--premium-error);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}


/* App Base */
.body_app { background-color: var(--premium-bg); color: var(--premium-text); }
.header_premium { background-color: var(--premium-card); border-bottom: 1px solid var(--premium-border); }

/* Post Styles */
.feed_post_card { margin-bottom: 1rem; }
.post_avatar {
    border: 2px solid var(--premium-gold);
    /* El secreto para que no se achate: */
    object-fit: cover;
    object-position: center;
    /* Aseguramos que el ancho y alto sean iguales */
    aspect-ratio: 1 / 1;
    flex-shrink: 0; /* Evita que el flexbox la comprima si el nombre es muy largo */
}

.post_avatar:hover {
    filter: brightness(1.2);
    border-color: var(--premium-text);
    transition: all 0.3s ease;
}

.post_username:hover { color: var(--premium-gold) !important; }
.post_text { color: var(--premium-text); line-height: 1.5; font-size: 0.95rem; }

/* Media Post */
.img_post_main { max-height: 700px; object-fit: cover; background-color: #000; }
.post_locked { filter: blur(30px); overflow: hidden; }
.post_lock_overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 2;
}
.post_lock_overlay i { font-size: 4rem; color: #fff; margin-bottom: 1rem; opacity: 0.8; }

.post_play_icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 4rem; color: #fff; opacity: 0.6; pointer-events: none;
}

.post_media_badges { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 8px; }
.badge_media_count { background: rgba(0,0,0,0.6); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; color: #fff; }

.badge_premium_gold {
    background: rgba(197, 160, 89, 0.15); color: var(--premium-gold);
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}

/* Footer & Utils */
.footer_premium { background-color: var(--premium-card); border-top: 1px solid var(--premium-border); }
.footer_link { color: var(--premium-muted); text-decoration: none; font-size: 0.85rem; transition: 0.2s; }
.footer_link:hover { color: var(--premium-gold); }
.btn_icon_only { background: none; border: none; color: var(--premium-muted); font-size: 1.2rem; transition: 0.2s; }
.btn_icon_only:hover { color: #fff; }
.badge_new { background-color: #dc3545; font-size: 0.6rem; padding: 3px 6px; }



/* ==========================================================================
   NAVEGACIÓN PREMIUM - CLEAN VERSION
   ========================================================================== */

.nav_premium {
    background-color: var(--premium-card);
    border-bottom: 1px solid var(--premium-border);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav_logo_container {
    transition: transform 0.3s ease;

}

.nav_logo_container:hover {
    transform: scale(1.05);
}

/* Links de navegación superior */
.nav_link_premium {
    color: var(--premium-muted) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    border-bottom: 2px solid transparent !important;
}

.nav_link_premium:hover,
.nav_link_premium.active {
    color: var(--premium-gold) !important;
    border-bottom-color: var(--premium-gold) !important;
}

/* Grupo de iconos (Wallet/Notificaciones/Mensajes) */
.nav_actions_group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--premium-border);
    border-radius: 99px;
}

.nav_icon_btn {
    position: relative;
    color: var(--premium-muted);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: 0.3s;
}

.nav_icon_btn:hover,
.nav_icon_btn.hover_gold:hover {
    color: var(--premium-gold) !important;
    background: rgba(197, 160, 89, 0.1);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* User Pill */
.nav_user_pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    background: var(--premium-input);
    border: 1px solid var(--premium-border);
    border-radius: 99px;
    color: var(--premium-text);
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav_user_pill:hover {
    border-color: var(--premium-gold);
}

/* Badges */
.nav_badge_blue {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #3b82f6;
    color: white;
    font-size: 10px;
    font-weight: bold;
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--premium-card);
}

.nav_badge_red {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 10px;
    width: 10px;
    background: var(--premium-error);
    border-radius: 50%;
    border: 2px solid var(--premium-card);
}

/* ==========================================================================
   DROPDOWN PREMIUM (Corrección de visibilidad)
   ========================================================================== */

/* Forzar fondo oscuro en el contenedor de Jetstream */
.nav_premium [x-show="open"] .bg-white,
.bg-premium-card {
    background-color: var(--premium-card) !important;
    border: 1px solid var(--premium-border) !important;
}

.dropdown_header {
    padding: 12px 16px 8px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--premium-gold) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown_link_premium {
    display: flex !important;
    align-items: center;
    color: var(--premium-text) !important;
    font-size: 0.85rem !important;
    padding: 10px 16px !important;
    transition: 0.2s;
    background: transparent !important;
}

.dropdown_link_premium i {
    width: 20px;
    text-align: center;
    color: var(--premium-muted);
    transition: 0.2s;
}

.dropdown_link_premium:hover {
    background-color: rgba(197, 160, 89, 0.1) !important;
    color: #ffffff !important;
}

.dropdown_link_premium:hover i {
    color: var(--premium-gold);
}

.logout_text {
    color: var(--premium-error) !important;
}

.border_divider {
    height: 1px;
    background: var(--premium-border);
    margin: 4px 0;
}

/* Ajuste de ancho del dropdown */
.nav_premium [x-show="open"] .w-60 {
    width: 15rem !important;
}

/* Animaciones */
.pulse { animation: shadow-pulse 2s infinite; }

@keyframes shadow-pulse {
    0% { box-shadow: 0 0 0 0px rgba(255, 107, 107, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0px rgba(255, 107, 107, 0); }
}

/* Móvil */
.nav_mobile_btn { color: var(--premium-muted); padding: 8px; }
.nav_mobile_menu {
    background: var(--premium-card);
    border-top: 1px solid var(--premium-border);
}


/* ==========================================================================
   VISTA EXPLORE PREMIUM
   ========================================================================== */

.explore_container {
    padding: 2rem 0;
}

/* Buscador */
.explore_search_wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.explore_search_inner {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search_icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--premium-gold);
    font-size: 1.1rem;
}

.explore_input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: var(--premium-input);
    border: 1px solid var(--premium-border);
    border-radius: 99px;
    color: var(--premium-text);
    transition: all 0.3s ease;
}

.explore_input:focus {
    outline: none;
    border-color: var(--premium-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
}

.search_loader {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
}

/* Grid */
.explore_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .explore_grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .explore_grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tarjeta de Creador */
.creator_card_v2 {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.creator_card_v2:hover {
    transform: translateY(-10px);
    border-color: var(--premium-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.creator_link {
    display: block;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none !important;
}

.creator_avatar_wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
}

.creator_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--premium-border);
    transition: border-color 0.3s ease;
}

.creator_card_v2:hover .creator_img {
    border-color: var(--premium-gold);
}

.creator_name {
    color: var(--premium-text);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.creator_stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--premium-muted);
    font-size: 0.8rem;
}

.stat_divider {
    width: 4px;
    height: 4px;
    background: var(--premium-border);
    border-radius: 50%;
}

.text_gold { color: var(--premium-gold); }

/* Empty State */
.explore_empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 0;
    color: var(--premium-muted);
}

.empty_icon {
    font-size: 4rem;
    opacity: 0.2;
    margin-bottom: 1rem;
    display: block;
}

.explore_empty span {
    color: var(--premium-gold);
    font-weight: bold;
}


/* ==========================================================================
   GALERÍA DE MARCADORES (CUSTOM CLASSES)
   ========================================================================== */

.bookmarks_wrapper { padding: 1.5rem 0; }

.bookmarks_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .bookmarks_grid { grid-template-columns: repeat(3, 1fr); }
}

.bookmark_card {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.bookmark_card:hover {
    transform: translateY(-5px);
    border-color: var(--premium-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Badges e Identificadores */
.bookmark_user_tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: var(--premium-text);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.bookmark_media_info {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    gap: 5px;
}

.bm_badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* Media y Blur */
.bookmark_preview {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #0a0a0a;
    overflow: hidden;
}

.bm_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bookmark_card:hover .bm_img { transform: scale(1.08); }

.bm_blur {
    filter: blur(25px);
    transform: scale(1.2);
    opacity: 0.5;
}

/* Overlays */
.bm_lock_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.bm_lock_overlay i {
    font-size: 2.5rem;
    color: var(--premium-gold);
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.bm_price_badge {
    background: var(--premium-text);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
}

.bm_play_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
    pointer-events: none;
}

/* Footer */
.bookmark_footer {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--premium-card);
    border-top: 1px solid var(--premium-border);
}

.bm_date {
    font-size: 0.65rem;
    color: var(--premium-muted);
    font-weight: 500;
}

/* Empty State */
.bookmarks_empty_state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 1rem;
    color: var(--premium-muted);
}

.bookmarks_empty_state i {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.bm_pagination_wrapper { margin-top: 2rem; display: flex; justify-content: center; }


/* ==========================================================================
   PUBLIC PROFILE - MAIN PARENT
   ========================================================================== */

.profile_page_container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    min-height: 100vh;
}

.profile_section_title {
    font-weight: 700;
    color: var(--premium-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Espaciado entre bloques */
.profile_creator_tools { margin-bottom: 3rem; }
.profile_feed_section { margin-top: 2rem; }

/* ==========================================================================
   PRIVATE PROFILE GATE (EL MURO DE REGISTRO)
   ========================================================================== */

.profile_private_gate {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #0a0a0a;
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid var(--premium-border);
}

.private_gate_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
}

.private_gate_content {
    position: relative;
    z-index: 1;
}

.private_avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--premium-gold);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
    margin-bottom: 1.5rem;
}

.private_username {
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.private_message {
    color: var(--premium-muted);
    max-width: 450px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.private_actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.private_footer_icon {
    margin-top: 4rem;
    font-size: 2.5rem;
    color: var(--premium-gold);
    opacity: 0.3;
}

/* --- BOTONES PREMIUM LARGOS (GATE) --- */

.btn_premium_gold_lg {
    display: inline-block;
    padding: 0.9rem 3rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #c5a059 0%, #f1d392 50%, #c5a059 100%);
    background-size: 200% auto;
    color: #000 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn_premium_gold_lg:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

.btn_premium_outline_lg {
    display: inline-block;
    padding: 0.9rem 3rem;
    border-radius: 50px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn_premium_outline_lg:hover {
    border-color: var(--premium-gold);
    background: rgba(197, 160, 89, 0.05);
    color: var(--premium-gold) !important;
}

/* ==========================================================================
   PROFILE HEADER - PREMIUM DARK THEME (FULL BLOCK)
   ========================================================================== */

.profile_header_card {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.profile_banner {
    height: 240px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

/* Avatar con solapamiento */
.profile_avatar_container {
    position: absolute;
    bottom: -60px;
    left: 30px;
    z-index: 5;
}

.profile_avatar_img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid var(--premium-card);
    object-fit: cover;
    background: var(--premium-card);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.profile_header_body {
    padding: 70px 30px 30px 30px; /* Espacio para el avatar solapado */
}

/* Identificación */
.profile_header_top_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

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

.profile_username {
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.profile_verify_icon {
    color: var(--premium-gold);
    font-size: 1.4rem;
}

.profile_subtitle {
    color: var(--premium-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   BOTONES Y ACCIONES DEL HEADER
   -------------------------------------------------------------------------- */
.profile_actions_wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botón Dorado Pequeño */
.btn_premium_gold_sm {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #c5a059 0%, #f1d392 50%, #c5a059 100%);
    background-size: 200% auto;
    color: #000 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn_premium_gold_sm:hover {
    background-position: right center;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

/* Botón Estado Suscripción Activa */
.btn_premium_status_active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Botón Deshabilitado / Restringido */
.btn_disabled_sm {
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Botones de Iconos (Chat, Settings) */
.btn_icon_outline {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--premium-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--premium-text);
    transition: all 0.3s ease;
    background: transparent;
}

.btn_icon_outline:hover {
    border-color: var(--premium-gold);
    color: var(--premium-gold);
}

/* Botón Edición (Owner) */
.btn_premium_dark_sm {
    padding: 8px 24px;
    border-radius: 50px;
    background: #fff;
    color: #000 !important;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn_premium_dark_sm:hover {
    background: #e0e0e0;
}

/* Botón Unblock (Danger) */
.btn_danger_sm {
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn_danger_sm:hover {
    background: #dc3545;
    color: #fff;
}

/* Botón Icono Texto (Block Action) */
.btn_icon_text_danger {
    background: none;
    border: none;
    color: var(--premium-muted);
    padding: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn_icon_text_danger:hover {
    color: #dc3545;
}

/* --------------------------------------------------------------------------
   BIO, INFO Y ESTADÍSTICAS
   -------------------------------------------------------------------------- */

.profile_bio_text {
    color: #e0e0e0;
    line-height: 1.6;
    max-width: 700px;
    white-space: pre-wrap;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.profile_meta_info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.meta_item, .meta_link {
    color: var(--premium-muted);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta_link:hover { color: var(--premium-gold); }
.hover_insta:hover { color: #E1306C; }

.profile_header_divider {
    height: 1px;
    background: linear-gradient(90deg, var(--premium-border) 0%, transparent 100%);
    margin: 1.5rem 0;
}

.profile_stats_row {
    display: flex;
    gap: 40px;
}

.stat_item {
    display: flex;
    flex-direction: column;
}

.stat_value {
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
}

.stat_label {
    color: var(--premium-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown Premium Custom */
.premium_dropdown {
    background: #1a1a1a;
    border: 1px solid var(--premium-border);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown_info_text {
    padding: 10px 15px;
    font-size: 0.75rem;
    color: var(--premium-muted);
    text-align: center;
}



/* ==========================================================================
   CREATE POST - PREMIUM DARK STYLES
   ========================================================================== */

.create_post_card {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.create_post_body {
    padding: 1.5rem;
}

/* Textarea Custom */
.post_textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 1.2rem;
    color: #fff;
    font-size: 1.1rem;
    resize: none;
    transition: all 0.3s ease;
}

.post_textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
}

/* Previsualización Media */
.post_media_preview {
    display: flex;
    gap: 12px;
    margin: 1.5rem 0;
    overflow-x: auto;
    padding-bottom: 8px;
}

.preview_item {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.preview_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--premium-border);
}

.preview_video_placeholder {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--premium-gold);
    border: 1px solid var(--premium-border);
}

.preview_video_placeholder i { font-size: 1.5rem; }
.preview_video_placeholder span { font-size: 0.6rem; font-weight: 800; margin-top: 4px; }

.btn_remove_media {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4d;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Grid de Configuración */
.post_config_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 1.2rem;
    border-radius: 15px;
    border: 1px solid var(--premium-border);
    margin-bottom: 1.5rem;
}

.config_label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--premium-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Toggle Groups (Visibility) */
.premium_toggle_group {
    display: flex;
    background: #000;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--premium-border);
}

.toggle_option {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--premium-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-check:checked + .toggle_option {
    background: rgba(197, 160, 89, 0.15);
    color: var(--premium-gold);
}

/* PPV Input */
.ppv_input_group {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid var(--premium-gold);
    border-radius: 10px;
    overflow: hidden;
}

.ppv_currency {
    padding: 0 12px;
    color: var(--premium-gold);
    font-weight: 800;
}

.ppv_field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    width: 100%;
    font-weight: 700;
}

.ppv_hint {
    font-size: 0.7rem;
    margin-top: 5px;
    color: var(--premium-muted);
}

/* Date Input Premium */
.premium_input_date {
    width: 100%;
    background: #000;
    border: 1px solid var(--premium-border);
    color: #fff;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.85rem;
}

/* Footer Post */
.create_post_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--premium-border);
}

.btn_add_media {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--premium-gold);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn_add_media:hover {
    background: rgba(197, 160, 89, 0.1);
}

/* Mentions Custom */
.mentions_dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 280px;
    background: #1a1a1a;
    border: 1px solid var(--premium-border);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    overflow: hidden;
    z-index: 1000;
}

.mention_item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: transparent;
    border: none;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.mention_item:hover { background: rgba(197, 160, 89, 0.1); }
.mention_avatar { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.mention_name { display: block; font-weight: 700; font-size: 0.85rem; }
.mention_username { font-size: 0.75rem; color: var(--premium-muted); }

/* Switches y Alertas */
.premium_switch:checked {
    background-color: var(--premium-gold);
    border-color: var(--premium-gold);
}

.alert_premium_success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid rgba(40, 167, 69, 0.2);
    font-weight: 600;
}


/* ==========================================================================
   PROFILE FEED - PREMIUM DARK THEME
   ========================================================================== */

.profile_feed_wrapper {
    min-height: 200px;
}

/* Indicador de Carga Flotante */
.feed_loading_indicator {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--premium-card);
    border: 1px solid var(--premium-gold);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.loading_text {
    color: var(--premium-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed_opacity {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Estado Vacío */
.empty_feed_icon_wrapper {
    margin-bottom: 1.5rem;
    color: var(--premium-muted);
    opacity: 0.2;
}

.empty_feed_icon_wrapper i {
    font-size: 5rem;
}

.empty_feed_title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.empty_feed_subtitle {
    color: var(--premium-muted);
    font-size: 0.95rem;
}

/* Contenedor de Paginación */
.premium_pagination_wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Overwrite para la paginación estándar de Laravel/Bootstrap */
.premium_pagination_wrapper .pagination {
    gap: 5px;
}

.premium_pagination_wrapper .page-item .page-link {
    background: var(--premium-card);
    border: 1px solid var(--premium-border);
    color: var(--premium-text);
    border-radius: 10px;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.premium_pagination_wrapper .page-item.active .page-link {
    background: var(--premium-gold);
    border-color: var(--premium-gold);
    color: #000;
    font-weight: 800;
}

.premium_pagination_wrapper .page-item:hover .page-link {
    border-color: var(--premium-gold);
    color: var(--premium-gold);
}

.text_gold {
    color: var(--premium-gold) !important;
}


/* ==========================================================================
   POST ITEM - PREMIUM GRID THEME
   ========================================================================== */

.post_card_premium {
    background: var(--premium-card);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--premium-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.post_card_premium:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Badges System */
.post_badges_wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.badge_premium {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge_scheduled { background: rgba(23, 162, 184, 0.85); color: #000; }
.badge_new { background: rgba(220, 53, 69, 0.9); color: #fff; }
.badge_locked { background: rgba(0, 0, 0, 0.6); color: var(--premium-gold); border: 1px solid var(--premium-gold); }
.badge_public { background: rgba(40, 167, 69, 0.8); color: #fff; }
.badge_media_count { background: rgba(0, 0, 0, 0.7); color: #fff; }

/* Media Content */
.post_media_container {
    background: #000;
}

.post_img_cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post_card_premium:hover .post_img_cover {
    transform: scale(1.05);
}

.is_blurred {
    filter: blur(25px) brightness(0.6);
}

.video_play_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
    opacity: 0.8;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Overlays */
.media_processing_overlay {
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--premium-gold);
    font-size: 0.65rem;
    font-weight: 800;
}

.post_lock_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 20px;
}

.btn_unlock_premium {
    background: rgba(197, 160, 89, 0.1); /* Fondo muy sutil */
    color: var(--premium-gold);
    border: 1px solid var(--premium-gold);
    padding: 10px 20px;
    border-radius: 12px; /* Menos redondeado, más moderno */
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn_unlock_premium:hover {
    background: var(--premium-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.btn_subscribe_post {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn_subscribe_post:hover {
    background: #fff;
    color: #000;
}

.badge_exclusive_text {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lock_timer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Footer */
.post_card_footer {
    background: var(--premium-card);
    padding: 10px 15px;
    border-top: 1px solid var(--premium-border);
}

.post_stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat_item {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--premium-text);
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ==========================================================================
   GLOBAL POST MODAL - PREMIUM STYLES
   ========================================================================== */

/* 1. Variables y Colores Base
   -------------------------------------------------------------------------- */
:root {
    --premium-gold: #c5a059;
    --dark-card: #0d0d0d;
    --premium-border: rgba(255, 255, 255, 0.1);
}

.text-gold { color: var(--premium-gold) !important; }

/* 2. Bloqueo Visual y Overlays (Efecto Exclusive)
   -------------------------------------------------------------------------- */
.locked-media-blur {
    filter: blur(15px) brightness(0.5);
    opacity: 0.4;
    transition: all 0.5s ease;
}

.lock-overlay-premium {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.lock-circle {
    width: 75px;
    height: 75px;
    border: 2px solid var(--premium-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

/* 3. Botones Principales (Desbloqueo y Alertas)
   -------------------------------------------------------------------------- */
.btn-premium-unlock {
    background: var(--premium-gold);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-premium-unlock:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.alert-restriction {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 4. Barra de Acciones y Botones de Interacción
   -------------------------------------------------------------------------- */
.btn-action-premium {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    padding: 6px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-action-premium:hover {
    transform: scale(1.2);
    color: #fff;
}

.btn-action-premium.tip:hover { color: var(--premium-gold); }
.btn-action-premium.edit:hover { color: #5dade2; }
.btn-action-premium.report:hover { color: #e74c3c; }

/* 5. Sistema de Propinas (Popup y Tarjetas)
   -------------------------------------------------------------------------- */
.tip-popup {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #151515;
    border: 1px solid #333;
    border-radius: 18px;
    padding: 15px;
    width: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    z-index: 1050;
}

.tip-card-btn {
    background: #202020;
    border: 1px solid transparent;
    border-radius: 12px;
    width: 100%;
    padding: 10px 5px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s;
}

.tip-card-btn:hover {
    border-color: var(--premium-gold);
    background: #252525;
    transform: translateY(-3px);
}

/* 6. Ajustes de Contenido
   -------------------------------------------------------------------------- */
.post-text-content {
    line-height: 1.4;
    color: #f0f0f0;
    letter-spacing: 0.2px;
}

.post-timestamp {
    color: rgba(255, 255, 255, 0.5); /* Blanco con 50% transparencia: se ve gris claro */
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.post-timestamp i {
    color: var(--premium-gold); /* El icono del reloj en dorado le da un toque premium */
    font-size: 0.8rem;
}



/* ==========================================================================
   LIKE BUTTON - PREMIUM INTERACTION
   ==========================================================================
 */

.btn_like_premium {
    background: none;
    border: none;
    padding: 5px 10px;
    color: #fff; /* Color por defecto (sin like) */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    position: relative;
    text-decoration: none;
}

.like-content-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.like-icon {
    font-size: 1.25rem;
    display: flex;
    transition: transform 0.2s ease;
}

.like-count {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Estado: Con Like Activo */
.btn_like_premium.is-active {
    color: #ff3b5c; /* Rojo vibrante tipo Premium */
    text-shadow: 0 0 15px rgba(255, 59, 92, 0.3);
}

.btn_like_premium.is-active .like-icon {
    transform: scale(1.1);
    animation: heartBeat 0.4s forwards;
}

/* Estado: Bloqueado */
.btn_like_premium.is-locked {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Hover Effect */
.btn_like_premium:hover:not(.is-locked) {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn_like_premium.is-active:hover:not(.is-locked) {
    background: rgba(255, 59, 92, 0.1);
}

/* Animación de latido al dar like */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

/* Color del Spinner para que coincida */
.btn_like_premium .spinner-border {
    width: 1rem;
    height: 1rem;
    color: inherit; /* Toma el rojo si tiene like o blanco si no */
}


/* ==========================================================================
   BOOKMARK BUTTON - PREMIUM STYLE
   ========================================================================== */

.btn_bookmark_premium {
    background: none;
    border: none;
    padding: 5px;
    color: rgba(255, 255, 255, 0.8); /* Blanco tenue cuando no está guardado */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bookmark-icon-wrapper {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estado: Guardado (Activo) */
.btn_bookmark_premium.is-active {
    color: var(--premium-gold); /* Usamos el dorado de tu sistema */
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
}

/* Hover Effect */
.btn_bookmark_premium:hover:not(.is-locked) {
    color: #fff;
    transform: scale(1.2);
}

.btn_bookmark_premium.is-active:hover:not(.is-locked) {
    filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.6));
    transform: scale(1.2) translateY(-2px);
}

/* Estado: Bloqueado */
.btn_bookmark_premium.is-locked {
    opacity: 0.3;
    cursor: not-allowed;
    color: #666 !important;
}

/* Pequeña animación de entrada para el relleno */
.animate__bounceIn {
    animation-duration: 0.5s;
}



/* ==========================================================================
   COMMENT SECTION - PREMIUM DARK
   ========================================================================== */

/* 1. Header y Alertas
   -------------------------------------------------------------------------- */
.comment-header-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.comment-count-badge {
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--premium-gold);
}

.comment-restricted-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
}

/* 2. Formulario de Entrada (Input)
   -------------------------------------------------------------------------- */
.comment-form-container {
    margin-bottom: 2rem;
}

.comment-input-wrapper {
    display: flex;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    transition: all 0.3s ease;
}

.comment-input-wrapper:focus-within {
    border-color: var(--premium-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.comment-field-premium {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    padding: 8px 0;
    font-size: 0.9rem;
}

.comment-field-premium:focus { outline: none; }

.comment-send-btn {
    background: var(--premium-gold);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.comment-send-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 3. Lista de Comentarios e Items
   -------------------------------------------------------------------------- */
.comment-list-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    padding: 10px;
    border-radius: 15px;
    transition: background 0.2s;
}

.comment-item.is-pinned {
    background: rgba(197, 160, 89, 0.05);
    border-left: 3px solid var(--premium-gold);
}

.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

.comment-body { flex-grow: 1; }

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.comment-username {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.comment-date {
    font-size: 0.75rem;
    color: #666;
}

.comment-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* 4. Menú y Estados Vacíos
   -------------------------------------------------------------------------- */
.btn-comment-menu {
    background: none;
    border: none;
    color: #555;
    padding: 0 5px;
    transition: 0.2s;
}

.btn-comment-menu:hover { color: #fff; }

.premium-dropdown {
    border: 1px solid #333 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 12px !important;
}

.comment-empty-state {
    text-align: center;
    padding: 3rem 0;
    color: #444;
}

.comment-empty-state i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* Scrollbar Personalizado */
.custom-scrollbar::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }


/* DISEÑO EDIT POST MODAL */

.custom-modal-dark {
    background-color: #0f0f0f !important;
    border: 1px solid #222 !important;
    border-radius: 20px !important;
}

.label-premium {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.input-dark {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: white !important;
    border-radius: 12px !important;
}

.input-dark:focus {
    border-color: var(--bs-primary) !important;
    box-shadow: none !important;
}

/* Alerta de permisos */
.custom-alert-dark {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
}

/* Preview de Media */
.media-preview-container {
    width: 90px;
    height: 90px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    border: 2px solid transparent;
}

.media-preview-container.is-cover {
    border-color: var(--bs-primary);
}

.img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Acciones sobre la imagen */
.media-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    left: 4px;
    display: flex;
    justify-content: space-between;
}

.btn-media-opt {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.btn-media-opt.star { background: rgba(0,0,0,0.6); }
.btn-media-opt.delete { background: rgba(220, 53, 69, 0.8); }

.badge-cover {
    background: var(--bs-primary);
    color: white;
    font-size: 0.6rem;
    padding: 3px 5px;
    border-radius: 4px;
}

/* Caja de Acceso/Precio */
.access-box {
    background: #161616;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #222;
}

.input-group-premium {
    background: #000;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
}

.price-input {
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.price-input:focus { outline: none; }

.currency, .code {
    font-size: 0.75rem;
    font-weight: bold;
    color: #555;
}

/* Botones */
.btn-dark-outline {
    background: transparent;
    border: 1px solid #333;
    color: #888;
}

.btn-dark-outline:hover {
    background: #222;
    color: white;
}

.btn-delete-link {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
}

.btn-delete-link:hover { opacity: 0.7; }

/* SECION SUSCRIPCION */

/* Contenedor Principal */
.subscription-premium-card {
    background: linear-gradient(145deg, #111111 0%, #080808 100%);
    border: 1px solid #222;
    border-radius: 2rem;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Efecto de luz de fondo (Glow) */
.subscription-premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

/* Círculos de Estado */
.icon-circle-status {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.bg-primary-gradient {
    background: linear-gradient(45deg, #0d6efd, #00d2ff);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.bg-dark-soft {
    background: #1a1a1a;
    border: 1px solid #333;
}

/* Tarjetas de Plan */
.plan-card-premium {
    background: #151515;
    border: 1px solid #282828;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.plan-card-premium:hover {
    transform: translateY(-5px);
    border-color: #3b3b3b;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Badges */
.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #222;
    color: #0d6efd;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #333;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Tipografía de Precio */
.plan-price-container {
    color: white;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.7;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.price-period {
    color: #666;
    font-size: 0.9rem;
}

/* Botones Premium */
.btn-primary-premium {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-primary-premium:hover {
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
    transform: scale(1.02);
}

.btn-outline-premium {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-premium:hover {
    background: #222;
    color: white;
    border-color: #444;
}

/* Helpers */
.text-muted-custom { color: #888; }
.fw-extra-bold { font-weight: 900; }


/* ==========================================================================
    CHECKOUT SYSTEM - UNIFIED PREMIUM STYLE
    (Tips, Unlocks & Subscriptions)
   ========================================================================== */



/* 1. Contenedor de Resumen (Estilo Ticket) */
.checkout-summary-ticket {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 1rem;
    padding: 1.25rem;
    position: relative;
}

.checkout-amount-display {
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-height: 1;
}

.currency-symbol {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

/* 2. Selectores de Método de Pago */
.checkout-method-btn {
    width: 100%;
    background: white;
    border: 2px solid #f1f1f1;
    border-radius: 1.2rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.checkout-method-btn:hover:not(:disabled) {
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.checkout-method-btn.active {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.02);
}

.checkout-method-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.5);
    background: #fdfdfd;
}

/* 3. Variante Oscura (Webpay) */
.checkout-method-btn.dark {
    background: #1a1a1a;
    border: none;
}

.checkout-method-btn.dark:hover {
    background: #000000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 4. Contenedores de Iconos */
.method-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.method-icon-box.dark {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 5. Textos de los Métodos */
.method-name {
    font-size: 1rem;
    display: block;
}

.method-desc {
    font-size: 0.85rem;
    display: block;
}

/* 6. Badges y Detalles Visuales */
.bg-soft-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.btn-hover-opacity:hover {
    opacity: 0.8;
}

/* ==========================================================================
    AVATAR FIX - PERFECT CIRCLE
   ========================================================================== */
.checkout-avatar,
.rounded-circle.border-3 {
    object-fit: cover !important;
    aspect-ratio: 1 / 1; /* Fuerza a que sea cuadrado antes de redondear */
    flex-shrink: 0;      /* Evita que se comprima en contenedores flex */
}

.checkout-badge-icon {
    border: 3px solid white;
}

/* 8. Utilidades de Animación */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.card.shadow-lg {
    animation: fadeInScale 0.3s ease-out forwards;
}


/* DASHBOARD SPECIFIC CLASSES */

/* Fondo sutil para la página */
.bg-dashboard {
    background-color: #f8f9fa;
}

/* Card principal de balance (Efecto Glass/Dark) */
.card-balance-main {
    border-radius: 1.5rem !important;
    background: linear-gradient(145deg, #1a1a1a, #000000);
    overflow: hidden;
}

.balance-decorator-icon {
    position: absolute;
    top: 0;
    end: 0;
    padding: 2rem;
    opacity: 0.08;
    font-size: 5rem;
    pointer-events: none;
}


/* ==========================================================================
   DASHBOARD PREMIUM ADAPTATION
   ========================================================================== */

.bg-dashboard {
    background-color: var(--premium-bg);
    min-height: 100vh;
}

/* Card Principal de Balance */
.card-balance-main {
    background: linear-gradient(135deg, var(--premium-card) 0%, #1a1a1a 100%);
    border: 1px solid var(--premium-border) !important;
    border-radius: 24px;
}

.balance-decorator-icon {
    position: absolute;
    right: 20px;
    bottom: -10px;
    font-size: 8rem;
    color: var(--premium-gold);
    opacity: 0.05;
    pointer-events: none;
}

/* Tablas y Contenedores */
.dashboard-table-container {
    background-color: var(--premium-card) !important;
    border: 1px solid var(--premium-border) !important;
    border-radius: 24px !important;
}

.dashboard-table {
    color: var(--premium-text);
}

.dashboard-table thead {
    background-color: rgba(255, 255, 255, 0.02);
}

.dashboard-table th {
    color: var(--premium-gold) !important;
    border-bottom: 1px solid var(--premium-border);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.table-row-subscriber:hover {
    background-color: rgba(197, 160, 89, 0.03) !important;
}

/* Ajuste del Header y Pills */
.currency-pill {
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--premium-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.text-premium-gold {
    color: var(--premium-gold) !important;
}

/* Badges Soft con Dorado */
.badge-soft-gold {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--premium-gold);
}














/* Contenedor Principal - Estilo Negro Dashboard */
.subscriber-card {
    background-color: #0d0d0d !important; /* Negro profundo igual al balance */
    border: 1px solid #1f1f1f !important; /* Borde muy sutil */
    border-radius: 1.5rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff;
}

.subscriber-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

.subscriber-title i {
    color: #0d6efd; /* Azul de acento */
}

/* Tabla - Eliminando fondos blancos */
.subscriber-table {
    background-color: transparent !important;
    border-collapse: separate;
    border-spacing: 0 8px; /* Crea un efecto de filas separadas */
}

.subscriber-table thead th {
    background-color: transparent !important;
    border: none !important;
    color: #666 !important; /* Gris suave para headers */
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.subscriber-table tbody td {
    background-color: #161616 !important; /* Un gris casi negro para las celdas */
    border: none !important;
    color: #ffffff !important;
    padding: 1rem;
}

/* Redondear bordes de las filas */
.subscriber-table tbody tr td:first-child { border-radius: 12px 0 0 12px; }
.subscriber-table tbody tr td:last-child { border-radius: 0 12px 12px 0; }

/* Avatar y Usuario */
.subscriber-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #333;
}

.subscriber-avatar.is-blocked {
    opacity: 0.3;
    filter: grayscale(1);
}

.subscriber-name {
    font-weight: 600;
    color: #ffffff;
}

.text-strikethrough {
    text-decoration: line-through;
    color: #555 !important;
}

.subscriber-date {
    font-size: 0.75rem;
    color: #555;
    display: block;
}

/* EL BADGE DEL PLAN CORREGIDO */
.plan-badge-dashboard {
    background-color: rgba(13, 110, 253, 0.1);
    color: #3d8bff;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Botón Restringir */
.btn-restrict-dash {
    background: transparent;
    border: 1px solid #333;
    color: #ff4d4d;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-restrict-dash:hover {
    background-color: rgba(255, 77, 77, 0.1);
    border-color: #ff4d4d;
}

/* Badge Restringido */
.badge-restricted-dash {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Estado Vacío */
.empty-state-dash {
    padding: 3rem !important;
    color: #444 !important;
    text-align: center;
    background: transparent !important;
}







/* Card de Restringidos */
.restricted-card {
    background-color: #0d0d0d !important; /* Mismo negro que el balance */
    border: 1px solid #1f1f1f !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.restricted-title {
    font-weight: 700;
    color: #ff4d4d; /* Rojo para indicar restricción */
    font-size: 1.1rem;
}

/* Tabla de Restringidos */
.restricted-table {
    background-color: transparent !important;
    border-collapse: separate;
    border-spacing: 0 8px;
}

/* Headers de la tabla */
.restricted-table thead th {
    background-color: transparent !important;
    border: none !important;
    color: #555 !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
}

/* Filas de la tabla */
.restricted-table tbody td {
    background-color: #161616 !important; /* Gris oscuro para las filas */
    border: none !important;
    color: #ffffff !important;
    padding: 0.8rem 1rem;
}

/* Redondear las filas */
.restricted-table tbody tr td:first-child { border-radius: 12px 0 0 12px; }
.restricted-table tbody tr td:last-child { border-radius: 0 12px 12px 0; }

/* Elementos internos */
.restricted-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #333;
}

.restricted-username {
    font-weight: 600;
    font-size: 0.85rem;
    color: #efefef;
}

.restricted-reason {
    font-size: 0.8rem;
    color: #888;
}

/* Botón Remove (Unblock) */
.btn-unblock {
    background: transparent;
    border: 1px solid rgba(13, 110, 253, 0.3);
    color: #3d8bff;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn-unblock:hover {
    background-color: #3d8bff;
    color: #ffffff;
    border-color: #3d8bff;
}

/* Estado Vacío */
.empty-state-restricted {
    padding: 2rem !important;
    color: #444 !important;
    text-align: center;
    font-size: 0.9rem;
    background: transparent !important;
}



/* Card de Following */
.following-card {
    background-color: #0d0d0d !important;
    border: 1px solid #1f1f1f !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.following-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.following-title i {
    color: #0d6efd;
}

/* Avatar Wrapper y Efectos */
.following-avatar-wrapper {
    position: relative;
    padding: 3px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.following-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1a1a1a; /* Borde interno para separar del fondo */
    display: block;
}

/* Efecto al pasar el mouse (Hover) */
.following-link:hover .following-avatar-wrapper {
    border-color: #0d6efd;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(13, 110, 253, 0.5));
}

/* Status Online (Opcional, puntito azul) */
.online-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #00d084; /* Verde éxito */
    border: 2px solid #0d0d0d;
    border-radius: 50%;
}

/* Estado Vacío */
.empty-state-following {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    text-align: center;
    color: #555;
    border: 1px dashed #222;
}






















/*
@========================================================================@
@                                                                        @
@   ███████╗██╗   ██╗██████╗ ███████╗ ██████╗██████╗ ██╗██████╗ ████████╗@
@   ██╔════╝██║   ██║██╔══██╗██╔════╝██╔════╝██╔══██╗██║██╔══██╗╚══██╔══╝@
@   ███████╗██║   ██║██████╔╝███████╗██║     ██████╔╝██║██████╔╝   ██║   @
@   ╚════██║██║   ██║██╔══██╗╚════██║██║     ██╔══██╗██║██╔═══╝    ██║   @
@   ███████║╚██████╔╝██████╔╝███████║╚██████╗██║  ██║██║██║        ██║   @
@   ╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝   @
@                                                                        @
@   >> MÓDULO: GESTIÓN DE SUBSCRIPCIONES                                 @
@   >> CLASES EXCLUSIVAS: .sp-* @
@========================================================================@
*/
/*
@========================================================================@
@   PROYECTO: PANEL DE CREADOR - ESTILO DARK INTEGRADO                   @
@========================================================================@
*/
/*
@========================================================================@
@   PROYECTO: SUBSCRIPTION MANAGER - PREMIUM DARK STYLE                  @
@========================================================================@
*/

.sp-manager-container {
    --bg-dark-card: #0a0a0a;
    --bg-dark-form: #000000;
    --bg-dark-input: #121212;
    --border-color: #222222;
    --accent-blue: #0d6efd;
    --accent-warning: #ffc107;
    --text-muted: #71717a;
}

/* Card Principal */
.sp-card-main {
    background-color: var(--bg-dark-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
}

.sp-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Plan Boxes (Azules) */
.sp-plan-box {
    background: transparent;
    border: 2px solid var(--accent-blue);
    border-radius: 18px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.sp-plan-box.is-editing {
    border-color: var(--accent-warning);
    background: rgba(255, 193, 7, 0.05);
}

.sp-plan-label { color: var(--accent-blue); font-weight: 800; text-transform: uppercase; font-size: 0.9rem; }
.sp-plan-info { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }
.sp-price-text { color: #fff; font-size: 1.75rem; font-weight: 900; display: block; line-height: 1; }
.sp-days-tag { font-size: 0.65rem; color: var(--text-muted); font-weight: 800; margin-top: 4px; }

/* Botón Añadir Plan */
.sp-btn-add {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
}

/* Botones de acción (Pencil/Trash) */
.btn-action {
    background: #ffffff;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-left: 6px;
    transition: transform 0.2s;
}
.btn-action.edit { color: var(--accent-blue); }
.btn-action.delete { color: #dc3545; }
.btn-action:hover { transform: scale(1.1); }

/* FORMULARIO DARK */
.sp-dark-form {
    background-color: var(--bg-dark-form);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
}

.sp-dark-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.sp-dark-input {
    background-color: var(--bg-dark-input) !important;
    border: 1px solid var(--border-color) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    height: 48px;
}

.sp-dark-input:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: none;
}

/* Input Group Prefix */
.sp-dark-input-group {
    display: flex;
    align-items: center;
}
.sp-dark-input-group .prefix {
    background: var(--bg-dark-input);
    border: 1px solid var(--border-color);
    border-right: none;
    height: 48px;
    padding: 0 15px;
    color: var(--accent-blue);
    font-weight: 700;
    border-radius: 12px 0 0 12px;
}
.no-left-radius { border-radius: 0 12px 12px 0 !important; }

/* Badge de Precio Mínimo */
.sp-min-price-tag {
    font-size: 0.68rem;
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent-warning);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    font-weight: 600;
}

/* Validaciones y Errores */
.sp-error-text {
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 6px;
}
.is-invalid-dark { border-color: #991b1b !important; }
.border-danger-dark { border: 1px solid #991b1b !important; border-radius: 12px; }

/* Botón Guardar */
.sp-btn-save {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 14px;
    height: 48px;
    font-weight: 700;
    transition: 0.3s;
}
.sp-btn-save.is-update { background: var(--accent-warning); color: #000; }

/* Alerta de Éxito Custom */
.alert-sp-success {
    background: #064e3b;
    color: #34d399;
    border-radius: 14px;
}

.sp-empty-state {
    border: 2px dashed var(--border-color);
    border-radius: 20px;
}














/* Contenedor Base */


/* Variantes de Card */




/* Etiquetas y Textos (Solución a visibilidad) */









/* Base de la Card Lux */
.lux-card {
    background: #0f0f0f; /* Negro profundo */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lux-card-inner {
    padding: 2rem 1.5rem;
    text-align: center;
}

/* Variantes Lux */
.lux-border-gold-soft {
    border: 1px solid rgba(184, 146, 84, 0.4) !important;
    box-shadow: inset 0 0 20px rgba(184, 146, 84, 0.05);
}

.lux-bg-gold {
    background: linear-gradient(145deg, #b89254, #8a6d3d) !important;
    border: none !important;
}

/* Tipografía y Visibilidad */
.lux-label-gold {
    color: #b89254;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.lux-label-dark {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.lux-label-muted {
    color: #666;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.lux-amount-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.lux-amount-value { color: #fff; font-size: 2.2rem; font-weight: 700; }
.lux-amount-value-dark { color: #000; font-size: 2.2rem; font-weight: 700; }
.lux-amount-value-white { color: #e0e0e0; font-size: 2.2rem; font-weight: 700; }

.lux-currency-symbol { color: #b89254; font-size: 1.2rem; }
.lux-currency-code { color: #444; font-size: 0.8rem; font-weight: 600; }
.lux-currency-code-dark { color: rgba(0, 0, 0, 0.4); font-size: 0.8rem; font-weight: 600; }

/* Botones Lux */
.lux-btn-dark {
    background: #000;
    color: #fff;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    width: 100%;
    font-weight: 700;
    border: none;
    font-size: 0.85rem;
}

.lux-btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    width: 100%;
    font-weight: 600;
    font-size: 0.85rem;
}

.lux-badge-outline {
    display: inline-block;
    border: 1px solid rgba(184, 146, 84, 0.3);
    color: #b89254;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Estilos del Modal Lux */
.lux-modal {
    background: #111111 !important;
    border: 1px solid rgba(184, 146, 84, 0.3) !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.lux-modal-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lux-modal-balance-card {
    background: rgba(184, 146, 84, 0.1);
    border: 1px solid rgba(184, 146, 84, 0.2);
    padding: 1.5rem;
    border-radius: 1.2rem;
    text-align: center;
}

.lux-amount-gold {
    color: #b89254;
    font-weight: 800;
}

/* Nav Pills Custom */
.lux-nav-pills {
    background: #000;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.lux-nav-pills .nav-link {
    color: #666;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px;
    transition: all 0.3s;
}

.lux-nav-pills .nav-link.active {
    background: #b89254 !important;
    color: #000 !important;
}

/* Inputs Premium */
.lux-form-label {
    color: #a0a0a0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.lux-input, .lux-input-group .form-control, .lux-input-group .input-group-text {
    background: #0a0a0a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px;
}

.lux-input-group .input-group-text {
    border-right: none !important;
    color: #b89254 !important;
    font-weight: bold;
}

.lux-input:focus {
    border-color: #b89254 !important;
    box-shadow: 0 0 0 0.25rem rgba(184, 146, 84, 0.15);
}

/* Botones */
.lux-btn-gold-solid {
    background: #b89254;
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.lux-btn-gold-solid:hover {
    background: #d4ae6d;
    transform: translateY(-2px);
}

.lux-btn-gold-solid.disabled {
    background: #333;
    color: #666;
}

.lux-text-muted-sm { color: #555; font-size: 0.75rem; }
.text-danger-custom { color: #ff5f5f; font-size: 0.75rem; font-weight: 600; }




/* ==========================================================================
   USER SETTINGS SECTION (setting-user)
   ========================================================================== */

:root {
    --setting-gold: #d4af37;
    --setting-gold-dark: #b8962e;
    --setting-dark: #1a1a1a;
    --setting-gray-light: #f8f9fa;
    --setting-border: #eef0f2;
}

/* Títulos y Contenedores */
.setting-user-title {
    font-weight: 700;
    color: var(--setting-dark);
}

.setting-user-card-images,
.setting-user-card-form {
    border: none !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 1rem !important;
    background-color: #fff;
}

/* Banner y Portada */
.setting-user-banner-bg {
    background-color: #212529;
}

.setting-user-banner-img {
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.setting-user-banner-img:hover {
    opacity: 0.95;
}

.setting-user-btn-banner {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 10;
}

.setting-user-btn-banner:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Avatar / Foto de Perfil */
.setting-user-avatar-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -55px;
    z-index: 20;
}

.setting-user-avatar-img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    background-color: var(--setting-gray-light);
}

.setting-user-btn-avatar-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 38px;
    height: 38px;
    background-color: var(--setting-gold);
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.setting-user-btn-avatar-edit:hover {
    background-color: var(--setting-gold-dark);
    transform: scale(1.1);
}

.setting-user-spacer {
    height: 70px;
}

/* Encabezados de Sección */
.setting-user-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.setting-user-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.setting-user-icon-box i {
    color: #fff;
    font-size: 1.1rem;
}

.setting-user-section-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    margin: 0;
    color: var(--setting-dark);
}

/* Inputs y Formularios */
.setting-user-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.setting-user-input {
    background-color: var(--setting-gray-light) !important;
    border: 1px solid var(--setting-border) !important;
    border-radius: 0.75rem !important;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.setting-user-input:focus {
    background-color: #fff !important;
    border-color: var(--setting-gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15) !important;
}

.setting-user-input.is-verified {
    opacity: 0.75;
}

.setting-user-input.is-readonly {
    cursor: default;
}

.setting-user-input-addon {
    background-color: var(--setting-border);
    border: none;
    color: #adb5bd;
    border-radius: 0.75rem 0 0 0.75rem !important;
}

.setting-user-textarea {
    resize: none;
    line-height: 1.6;
}

/* Badges y Ayudas */
.setting-user-verified-badge {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    color: #198754;
}

.setting-user-verified-badge i {
    font-size: 0.9rem;
    margin-right: 0.3rem;
}

.setting-user-hint {
    font-size: 0.65rem;
    color: #adb5bd;
    display: block;
    margin-top: 0.25rem;
}

.setting-user-bio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.setting-user-counter {
    font-weight: 400 !important;
    font-size: 0.7rem;
}

/* Redes Sociales */
.setting-user-social-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--setting-border);
}

.setting-user-social-group .input-group-text {
    background-color: #fff;
    border: none;
}

.setting-user-social-group input {
    border: none;
    font-size: 0.85rem;
}

/* Botón Principal */
.setting-user-submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--setting-dark) !important;
    color: var(--setting-gold) !important;
    border: none;
    border-radius: 50rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.setting-user-submit-btn:hover {
    background-color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.setting-user-divider {
    margin: 2rem 0;
    opacity: 0.1;
}

/* Alertas */
.setting-user-alert {
    background-color: #e6f4ea;
    border-radius: 1rem;
    color: #1e8e3e;
    padding: 1rem 1.5rem;
    border: none;
}

.setting-user-alert i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.setting-user-alert-title {
    font-weight: 700;
    display: block;
}




/* Específicos para Toggles y Privacidad */

.setting-user-back-link {
    color: var(--setting-dark);
    transition: transform 0.2s ease;
}

.setting-user-back-link:hover {
    transform: translateX(-3px);
    color: var(--setting-gold);
}

.setting-user-section-header-alt {
    background-color: transparent !important;
    border: none !important;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem !important;
}

.setting-user-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Para items con descripción */
.setting-user-toggle-item.align-items-start {
    align-items: start;
}

.setting-user-toggle-label {
    font-weight: 700;
    color: var(--setting-dark);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.setting-user-toggle-label-sm {
    font-weight: 500;
    color: #4b5563; /* Gray-600 */
    font-size: 0.9rem;
}

.setting-user-toggle-desc {
    font-size: 0.8rem;
    color: #6b7280; /* Gray-500 */
    line-height: 1.4;
}

/* Botón Volver (Footer) - Versión Mejorada */
.setting-user-btn-back-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--setting-dark); /* Texto oscuro para que se vea */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50rem;
    border: 1px solid var(--setting-border); /* Un borde sutil */
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.setting-user-btn-back-footer i {
    transition: transform 0.2s ease;
}

.setting-user-btn-back-footer:hover {
    color: var(--setting-gold); /* Cambio a dorado al pasar el mouse */
    background-color: var(--setting-dark); /* Fondo oscuro para contraste */
    border-color: var(--setting-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.setting-user-btn-back-footer:hover i {
    transform: translateX(-4px); /* La flechita se mueve a la izquierda */
}







/* Namespace: ntf-app - Protegiendo contra colisiones */

.ntf-app-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ntf-app-container {
    background-color: #f8fafc;
    min-height: 100vh;
}

.ntf-app-content {
    max-width: 650px;
}

.ntf-app-card {
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 1rem !important;
}

.ntf-app-item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.25rem !important;
    transition: all 0.2s ease;
}

.ntf-app-item:hover {
    background-color: #fafafa !important;
}

.ntf-app-unread {
    background-color: #f0f7ff !important;
}

/* Avatar & Badges */
.ntf-app-avatar-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
}

.ntf-app-avatar, .ntf-app-avatar-system {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.ntf-app-avatar-system {
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.5rem;
}

.ntf-app-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

/* Colores de Badges por tipo */
.ntf-app-type-like { background-color: #ef4444; }
.ntf-app-type-sub { background-color: #3b82f6; }
.ntf-app-type-tip { background-color: #f59e0b; }
.ntf-app-type-sale { background-color: #10b981; }
.ntf-app-type-comment { background-color: #06b6d4; }
.ntf-app-type-default { background-color: #64748b; }

/* Tipografía */
.ntf-app-link {
    text-decoration: none !important;
    color: inherit;
}

.ntf-app-message {
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.3;
}

.ntf-app-description {
    color: #64748b;
    font-size: 0.85rem;
}

.ntf-app-timestamp {
    font-size: 0.75rem;
    color: #94a3b8;
}

.ntf-app-amount {
    background-color: #dcfce7;
    color: #15803d;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

/* Status Dot */
.ntf-app-status-dot {
    width: 10px;
    height: 10px;
    background-color: #3b82f6;
    border-radius: 50%;
}

.ntf-app-empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
}




/* ==========================================================================
   ESPECÍFICO: NOTIFICACIONES PREMIUM
   ========================================================================== */
.notification_card {
    background-color: var(--premium-card);
    border: 1px solid var(--premium-border);
    border-radius: 20px;
}

.notification_item {
    background-color: transparent;
    border-bottom: 1px solid var(--premium-border) !important;
    transition: all 0.3s ease;
}

.notification_item:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.notification_unread {
    background-color: rgba(197, 160, 89, 0.03) !important;
    border-left: 3px solid var(--premium-gold) !important;
}

.notification_icon_badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    border: 2px solid var(--premium-card);
    color: #000;
}

.notification_amount_badge {
    background: rgba(197, 160, 89, 0.1);
    color: var(--premium-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    font-weight: 700;
}

/* Ajuste de contraste para descripciones en fondo oscuro */
.notification_item .text-muted {
    color: #a0a0a0 !important; /* Un gris más claro para que sea legible */
}

.notification_time {
    color: var(--premium-gold);
    opacity: 0.8;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification_title {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

/* El hover ahora será un poco más marcado para dar feedback */
.notification_item:hover {
    background-color: rgba(197, 160, 89, 0.05) !important;
}





/* ==========================================================================
   MENSAJERÍA: ESPECÍFICOS DE VISTA
   ========================================================================== */

.container_messages {
    max-width: 1100px;
}

.chat_main_row {
    min-height: 70vh;
}

/* El área de la derecha cuando no hay chat seleccionado */
.message_placeholder_area {
    min-height: 600px;
    /* Reemplazo del dashed light por uno acorde al tema premium */
    border: 2px dashed var(--premium-border) !important;
}

.max_w_320 {
    max-width: 320px;
}

/* Ajuste para que el card_premium en mensajería no tenga sombras excesivas si van juntos */
.chat_list_container .card_premium {
    border-radius: 24px;
}

/* Si ChatList dentro tiene un list-group, forzamos que sea transparente */
.chat_list_container .list-group {
    background: transparent;
}



/* ==========================================================================
   CHAT LIST: ELEMENTOS INTERNOS
   ========================================================================== */

.chat_list_item {
    background-color: transparent !important;
    border-bottom: 1px solid var(--premium-border) !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent !important;
}

.chat_list_item:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Estado Activo (Conversación seleccionada) */
.chat_list_item_active {
    background-color: rgba(197, 160, 89, 0.05) !important;
    border-left: 3px solid var(--premium-gold) !important;
}

.chat_list_avatar {
    object-fit: cover;
    border: 1px solid var(--premium-border);
}

.chat_badge_unread {
    background-color: var(--premium-gold);
    color: #000;
    font-weight: 800;
    font-size: 0.65rem;
    border: 2px solid var(--premium-card);
}

.chat_text_preview {
    font-size: 0.8rem;
    color: var(--premium-muted);
}

.chat_text_unread {
    color: var(--premium-text) !important;
    font-weight: 600;
}

.grayscale_filter {
    filter: grayscale(1);
    opacity: 0.5;
}

/* Doble check de lectura en dorado */
.read_status_icon {
    color: var(--premium-gold);
    font-size: 0.9rem;
}


/* ==========================================================================
   ESTADOS VACÍOS PREMIUM (Contraste mejorado)
   ========================================================================== */

.empty_state_container {
    padding: 3rem 1rem;
    text-align: center;
}

.empty_state_icon {
    color: var(--premium-gold); /* Cambiamos gris por dorado */
    opacity: 0.4; /* Suficiente para que se vea, pero mantenga elegancia */
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.1));
}

.empty_state_text {
    color: var(--premium-text) !important; /* Blanco suave en lugar de gris */
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Corrección de legibilidad para Chat List */
.chat_list_item .text-muted {
    color: #909090 !important; /* Gris plata mucho más visible */
}

.chat_list_item .chat_list_username {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* El tiempo debe ser pequeño pero legible */
.chat_list_time {
    color: #707070 !important;
    font-size: 0.65rem;
    font-weight: 600;
}

/* El check de enviado/visto */
.read_status_icon {
    color: var(--premium-gold);
    opacity: 0.9;
    font-size: 0.85rem;
}

/* Hover para identificar dónde estamos */
.chat_list_item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   INTERFAZ DE CHAT: BURBUJAS Y CONTENEDORES
   ========================================================================== */

.chat_window_container {
    background-color: var(--premium-card);
    border: 1px solid var(--premium-border);
    height: 600px;
}

.chat_header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--premium-border);
}

.chat_body {
    background-color: var(--premium-bg); /* Fondo más oscuro para los mensajes */
}

/* Burbuja del Emisor (Tú) */
.bubble_sent {
    background: linear-gradient(135deg, var(--premium-gold), #b38f4d) !important;
    color: #000 !important;
    border-radius: 20px 20px 4px 20px !important;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

/* Burbuja del Receptor (Interlocutor) */
.bubble_received {
    background-color: var(--premium-card) !important;
    color: var(--premium-text) !important;
    border: 1px solid var(--premium-border) !important;
    border-radius: 20px 20px 20px 4px !important;
}

.chat_input_area {
    background-color: var(--premium-card);
    border-top: 1px solid var(--premium-border);
}

.chat_input_premium {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--premium-border) !important;
    color: white !important;
    border-radius: 20px !important;
}

.chat_input_premium:focus {
    border-color: var(--premium-gold) !important;
    box-shadow: none;
}

.btn_chat_action {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--premium-gold);
    border: 1px solid var(--premium-border);
    transition: all 0.2s;
}

.btn_chat_action:hover {
    background-color: var(--premium-gold);
    color: black;
}


/* Contenedor de la hora y estado del mensaje */
.message_meta {
    font-size: 0.68rem;
    font-weight: 500;
    color: #909090 !important; /* Gris plata claro para visibilidad */
    margin-top: 4px;
    opacity: 0.8;
    letter-spacing: 0.3px;
}

/* Si el mensaje es mío, podemos darle un toque dorado muy sutil a la hora */
.justify-content-end .message_meta {
    color: rgba(197, 160, 89, 0.7) !important;
}

/* Icono de check (visto) */
.message_meta i {
    font-size: 0.8rem;
    vertical-align: middle;
}
