body.friends-page {
    background: #000435;
    color: #e8e8e8;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.friends-header {
    background: linear-gradient(to right, #002244, #69be28);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.friends-header h1 {
    margin: 0;
    font-size: 1.6rem;
}
.back-home {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.back-home:hover {
    text-decoration: underline;
}
.friends-search-bar {
    padding: 20px;
    display: flex;
    justify-content: center;
}
.friends-search-bar input {
    width: 300px;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #9c9c9c;
    font-size: 14px;
}
.friends-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 40px;
    justify-content: center;
}
.friend-card {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(127,127,127,0.75), rgba(74,74,74,0.75), rgba(45,45,45,0.75));
    border: 1px solid #9c9c9c;
    box-shadow:
        inset 4px 4px 8px rgba(255, 255, 255, 0.5),
        inset -4px -4px 8px rgba(0, 0, 0, 0.7),
        10px 10px 20px rgba(0, 0, 0, 0.65);
}
.friend-avatar {
    position: relative;
}
.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #7d7d7d, #505050);
    border: 1px solid #9d9d9d;
}
.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #000435;
}
.status-dot.online {
    background: #2ecc71;
    animation: pulse-green 1.5s infinite;
}
.status-dot.away {
    background: #f39c12;
    animation: pulse-orange 1.5s infinite;
}
.status-dot.offline {
    background: #7f8c8d;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(243, 156, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

.birthday-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd76b, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 0 8px rgba(255, 183, 71, 0.7);
    animation: birthday-bounce 1.6s ease-in-out infinite;
}

@keyframes birthday-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.friend-birthday-note {
    font-size: 10px;
    color: #ffb347;
    font-weight: bold;
    text-align: center;
}

.friend-name {
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}
.friend-status {
    font-size: 11px;
    color: #bbb;
}
