/* profile.css */

.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 12px;
    padding:、"25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    margin-bottom: 15px;
}

.avatar-actions {
    margin-top: 10px;
}

.profile-info h2 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 24px;
}

.profile-email {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.profile-bio,
.profile-website {
    margin-bottom: 20px;
}

.profile-bio h4,
.profile-website h4 {
    margin: 0 0 8px 0;
    color: #555;
    font-size: 16px;
}

.profile-bio p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
}

.profile-website a {
    color: #1db954;
    text-decoration: none;
    font-size: 14px;
}

.profile-website a:hover {
    text-decoration: underline;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #1db954;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-meta {
    font-size: 13px;
    color: #777;
}

.profile-meta p {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.profile-meta i {
    margin-right: 8px;
    width: 16px;
    color: #999;
}

.profile-content {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #1db954;
    border-bottom-color: #1db954;
    font-weight: 600;
}

.tab-content {
    display: none;
}

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

.profile-form {
    max-width: 500px;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: #1db954;
}

.profile-form textarea {
    resize: vertical;
    min-height: 100px;
}

.profile-form small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.security-options {
    max-width: 500px;
}

.security-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.security-item:last-child {
    border-bottom: none;
}

.security-item h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.password-form {
    margin-top: 15px;
}

.activity-feed h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f9f9f9;
    transition: background 0.3s;
}

.activity-item:hover {
    background: #f0f0f0;
}

.activity-item i {
    color: #1db954;
    margin-right: 15px;
    font-size:辖18px;
}

.activity-item span {
    flex: 1;
    color: #555;
}

.activity-date {
    color: #888;
    font-size: 13px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
        text-align: left;
    }
    
    .tab-btn.active {
        border-right-color: #1db954;
        border-bottom-color: transparent;
    }
}