/* ============================================
   ESTILOS PARA DASHBOARD DE USUARIO
   ============================================ */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.cyberpunk-user-dashboard {
    background-color: #050505;
    padding: 2rem 0;
}

/* ============================================
   ENCABEZADO DEL DASHBOARD
   ============================================ */

.dashboard-header {
    background-color: #0a0a0a;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.dashboard-user-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.user-details {
    flex: 1;
}

.user-name {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-email {
    color: #9d00ff;
    text-shadow: 0 0 5px #9d00ff;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.dashboard-actions {
    flex-shrink: 0;
}

/* ============================================
   CONTENIDO DEL DASHBOARD
   ============================================ */

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.dashboard-section {
    background-color: #0a0a0a;
    border: 1px solid #9d00ff;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.1);
    padding: 2rem;
    border-radius: 2px;
}

.section-title {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #ff00ff;
    padding-bottom: 1rem;
}

/* ============================================
   LISTA DE SUSCRIPCIONES
   ============================================ */

.subscriptions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.subscription-item {
    background-color: #050505;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.subscription-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.3);
}

.subscription-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #9d00ff;
}

.subscription-item-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.subscription-item-details {
    margin-bottom: 1rem;
    flex: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.detail-label {
    color: #9d00ff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.detail-value {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.detail-value a {
    color: #00ffff;
    text-decoration: none;
}

.detail-value a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.subscription-item-actions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #9d00ff;
}

/* ============================================
   SIN SUSCRIPCIONES
   ============================================ */

.no-subscriptions {
    text-align: center;
    padding: 2rem;
}

.no-subscriptions p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ============================================
   CONTENIDO FAVORITO
   ============================================ */

.user-posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.user-post-item {
    background-color: #050505;
    border: 1px solid #9d00ff;
    padding: 1.5rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.user-post-item:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.user-post-item h4 {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-post-item h4 a {
    color: #00ffff;
    text-decoration: none;
}

.user-post-item h4 a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.post-date {
    color: #9d00ff;
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECCIÓN DE SUSCRIPCIÓN DE AUTOR
   ============================================ */

.author-subscription-section {
    background-color: #0a0a0a;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.author-subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* ============================================
   RESPONSIVE DASHBOARD
   ============================================ */

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-user-info {
        width: 100%;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions .btn-cyberpunk {
        width: 100%;
    }

    .dashboard-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .subscriptions-list {
        grid-template-columns: 1fr;
    }

    .user-posts-list {
        grid-template-columns: 1fr;
    }

    .author-subscriptions-grid {
        grid-template-columns: 1fr;
    }

    .subscription-item-header {
        flex-direction: column;
    }

    .subscription-item-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 1.5rem;
    }

    .user-avatar img {
        width: 80px;
        height: 80px;
    }

    .user-name {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }

    .user-email {
        font-size: 0.8rem;
    }

    .dashboard-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .subscription-item {
        padding: 1rem;
    }

    .subscription-item-title {
        font-size: 0.95rem;
    }

    .detail-item {
        font-size: 0.8rem;
    }

    .user-post-item {
        padding: 1rem;
    }

    .user-post-item h4 {
        font-size: 0.95rem;
    }

    .author-subscription-section {
        padding: 1.5rem;
    }
}
