/* 
 * BiciHamster — Social Styles
 * @author Lucas Nieto (lucasnieto@gmail.com)
 */
/* ═══════ SOCIAL TABS ═══════ */
.social-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
}

.social-tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.social-tab.active {
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
}

.social-tab:hover {
    color: #fff;
}

.tab-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: #ff5252;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Paneles sociales */
.social-panel {
    display: none;
}

.social-panel.active {
    display: block;
}

/* ═══════ LISTA DE AMIGOS ═══════ */
.friends-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.3s;
}

.friend-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
}

.friend-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00, #ff5252);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.friend-info {
    flex: 1;
}

.friend-name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.friend-username {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.friend-actions {
    display: flex;
    gap: 8px;
}

/* ═══════ BÚSQUEDA ═══════ */
.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #ff8c00;
}

/* ═══════ SOLICITUDES ═══════ */
.request-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 140, 0, 0.05);
    border: 1px solid rgba(255, 140, 0, 0.15);
    border-radius: 12px;
    margin-bottom: 8px;
}

.request-actions {
    display: flex;
    gap: 8px;
}

.btn-accept {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-reject {
    background: rgba(255, 82, 82, 0.2);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ═══════ FEED DE AMIGOS ═══════ */
.friends-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feed-user-name {
    font-weight: 600;
    color: #fff;
}

.feed-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin-left: auto;
}

.feed-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.feed-metric {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.feed-metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff8c00;
}

.feed-metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.empty-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 40px;
    font-style: italic;
}

/* Badge de notificaciones en navbar */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff5252;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: 700;
}