/* ============================================================
   ESTILOS GENERALES Y SISTEMA DE DISEÑO YOINVITO
   ============================================================ */

:root {
    --bg-primary: #0b0f19;
    --bg-card: rgba(22, 28, 45, 0.85);
    --bg-card-hover: rgba(30, 38, 60, 0.95);
    --bg-input: #171e30;
    
    --accent-primary: #ff477e;
    --accent-gradient: linear-gradient(135deg, #ff477e 0%, #ff70a6 100%);
    --accent-gradient-hover: linear-gradient(135deg, #e6396e 0%, #ff5c97 100%);
    --accent-purple: #7000ff;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 71, 126, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(255, 71, 126, 0.3);
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    background-image: url('/images/fondo1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 480px; /* Tamaño móvil / contenedor responsivo centrado */
    min-height: 100vh;
    background-color: #0d121f;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
}

/* Header */
.app-header {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 18, 31, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
}

.header-logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(255, 71, 126, 0.4);
    display: inline-block;
    vertical-align: middle;
}

.logo-badge {
    font-size: 1.2rem;
}

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

/* Badges Beta */
.badge-beta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 71, 126, 0.25) 0%, rgba(112, 0, 255, 0.25) 100%);
    border: 1px solid rgba(255, 71, 126, 0.45);
    color: #ff70a6;
    vertical-align: middle;
    box-shadow: 0 0 12px rgba(255, 71, 126, 0.3);
    line-height: 1.2;
}

.badge-beta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #ffffff;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 0 14px rgba(255, 71, 126, 0.45);
    line-height: 1.2;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.user-pill:hover {
    border-color: var(--accent-primary);
}

.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-md {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-lg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 20px;
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); /* Espacio para la barra de navegación inferior fija */
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tarjetas */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

/* Formularios y Botones */
.auth-card {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-header {
    text-align: center;
}

.auth-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.auth-logo-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 22px rgba(255, 71, 126, 0.45), 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.auth-logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 71, 126, 0.65), 0 6px 20px rgba(0, 0, 0, 0.6);
}

.auth-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
}

.auth-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-control, .form-control-sm {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.form-control:focus, .form-control-sm:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 71, 126, 0.15);
}

.btn {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    color: var(--text-main);
    border-color: var(--text-main);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

/* Alertas */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Grid de Perfiles */
.profiles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.profile-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.card-image-wrapper {
    width: 100%;
    height: 280px;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-header-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-tag {
    font-size: 0.85rem;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.card-actions {
    margin-top: 8px;
}

/* Filtros */
.filter-card {
    background: var(--bg-card);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.filter-inputs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.input-with-icon {
    position: relative;
    flex: 1;
    min-width: 120px;
}

.input-with-icon i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.8rem;
}

.input-with-icon input {
    padding-left: 28px;
}

/* Pestañas y Estados */
.tabs-header {
    display: flex;
    background: var(--bg-input);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--accent-gradient);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-info {
    flex: 1;
}

.action-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.action-place {
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.action-msg {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.action-time {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.status-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.status-option input {
    display: none;
}

.status-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.status-option input:checked + .pill-invito {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.status-option input:checked + .pill-buscando {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-color: transparent;
    color: #fff;
}

/* Listado de Chats */
.chat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.chat-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
}

.avatar-wrapper {
    position: relative;
}

.unread-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(255, 71, 126, 0.8);
}

.chat-details {
    flex: 1;
    overflow: hidden;
}

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

.chat-title h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.chat-time {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.chat-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-preview.unread {
    color: #fff;
    font-weight: 700;
}

/* Ventana de Chat */
.chat-room-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 150px);
}

.chat-room-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.btn-back {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
}

.chat-user-meta {
    flex: 1;
}

.chat-user-meta h3 {
    font-size: 1rem;
    font-weight: 700;
}

.user-status-text {
    font-size: 0.75rem;
    color: #86efac;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-online {
    font-size: 0.5rem;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.btn-delete-chat {
    color: var(--text-muted);
}

.btn-delete-chat:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.chat-messages-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 6px;
}

.message-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    position: relative;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.message-sender-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    color: #f472b6;
    background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message-sent .message-sender-name {
    color: rgba(255, 255, 255, 0.85);
    background: none;
    -webkit-text-fill-color: initial;
}

.message-text-content {
    font-size: 0.88rem;
    line-height: 1.45;
    color: inherit;
    word-break: break-word;
}

.message-sent {
    align-self: flex-end;
    background: var(--accent-gradient);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.message-received {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-bottom-left-radius: 2px;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.7;
    display: block;
    text-align: right;
    margin-top: 4px;
}

.message-image-attachment img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

/* Tarjeta de Ubicación GPS en Chat */
.message-location-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #38bdf8;
}

.location-icon {
    font-size: 1rem;
    color: #ef4444;
}

.location-actions {
    display: flex;
    gap: 6px;
}

.btn-map-app {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-google-maps {
    background: #ea4335;
    color: #ffffff;
}

.btn-google-maps:hover {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(234, 67, 53, 0.5);
}

.btn-waze {
    background: #33ccff;
    color: #0f172a;
}

.btn-waze:hover {
    background: #00bfff;
    color: #0f172a;
    box-shadow: 0 0 10px rgba(51, 204, 255, 0.5);
}

.btn-location {
    background: transparent;
    border: none;
    outline: none;
}

.btn-location:hover {
    color: #ef4444;
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.btn-attach {
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

.btn-attach:hover {
    color: var(--accent-primary);
}

.form-control-chat {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    color: var(--text-main);
    outline: none;
    font-size: 0.9rem;
}

.btn-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.preview-chip {
    position: absolute;
    top: -46px;
    left: 14px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-primary);
    padding: 3px 10px 3px 4px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.preview-thumb-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.preview-chip-label {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.78rem;
}

.btn-remove-preview {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #f43f5e;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.btn-remove-preview:hover {
    background: #f43f5e;
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background: rgba(13, 18, 31, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: linear-gradient(135deg, #ff477e 0%, #ff5252 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 71, 126, 0.9);
    border: 2px solid #0d121f;
    line-height: 1;
    z-index: 10;
}

.pulse-badge {
    animation: badgePulse 0.4s ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent-primary);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.settings-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar-edit-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blocked-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blocked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
}

/* Botón Danger */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    transition: var(--transition);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

/* Modal de Confirmación */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 380px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.15);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-dialog {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 14px;
}

.modal-icon-danger {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.modal-body {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 22px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
}
