/* Дополнительные стили для профиля */
.profile-header {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    border-radius: 25px;
    padding: 40px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 77, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.profile-info {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details {
    flex: 1;
}

.profile-details h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
}

.profile-details p {
    margin: 5px 0;
    font-size: 18px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-details i {
    font-style: normal;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 100px;
    font-size: 14px;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    flex: 1;
    min-width: 120px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #ff4d4f;
    background: rgba(255, 77, 79, 0.1);
}

.tab-btn.active {
    color: #ff4d4f;
    background: rgba(255, 77, 79, 0.15);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #ff4d4f;
    border-radius: 3px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.section-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.section-filters {
    display: flex;
    gap: 10px;
}

.section-filters input {
    padding: 10px 20px;
    border: 2px solid #eee;
    border-radius: 100px;
    font-size: 14px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.section-filters input:focus {
    outline: none;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

.section-filters button {
    padding: 10px 25px;
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-filters button:hover {
    background: #e63e40;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-items {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 25px;
    color: #999;
    font-size: 18px;
}

.no-items i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    color: #ddd;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-header {
        padding: 30px 20px;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
    }

    .profile-details p {
        justify-content: center;
    }

    .profile-stats {
        flex-direction: column;
        gap: 10px;
    }

    .profile-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
    }

    .section-filters {
        width: 100%;
    }

    .section-filters input {
        flex: 1;
    }
}