/* Упрощенный профиль клиента */

.profile-simple-page {
    min-height: 100vh;
    padding: 20px;
}

.profile-simple-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок профиля */
.profile-simple-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 24px;
}

.profile-simple-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-simple-avatar {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.profile-simple-avatar svg {
    width: 32px;
    height: 32px;
}

.profile-simple-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-simple-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.profile-simple-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Табы */
.profile-simple-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.profile-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.profile-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary);
}

.profile-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.profile-tab.active .profile-tab-count {
    background: var(--primary);
    color: white;
}

/* Контент табов */
.profile-simple-content {
    position: relative;
}

.profile-tab-content {
    display: none;
}

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

/* Сетка лотов */
.profile-lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.profile-lot-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-lot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.profile-lot-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tertiary);
}

.profile-lot-body {
    padding: 16px;
}

.profile-lot-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.profile-lot-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.profile-lot-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.profile-lot-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-lot-region {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-lot-footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
}

.profile-lot-footer .btn-primary,
.profile-lot-footer .btn-secondary {
    border-radius: 8px;
}
    border-top: 1px solid var(--border);
}

.profile-lot-footer .btn-small {
    flex: 1;
}

/* Список заявок */
.profile-requests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-request-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.profile-request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.profile-request-lot {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-request-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

.profile-request-status.status-new {
    background: var(--info);
    color: white;
}

.profile-request-status.status-progress {
    background: var(--warning);
    color: black;
}

.profile-request-status.status-completed {
    background: var(--success);
    color: white;
}

.profile-request-status.status-cancelled {
    background: var(--error);
    color: white;
}

.profile-request-body {
    padding: 16px;
}

.profile-request-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-request-info strong {
    color: var(--text-primary);
}

.profile-request-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

/* Empty state */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-simple-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .profile-simple-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .profile-tab {
        white-space: nowrap;
    }

    .profile-lots-grid {
        grid-template-columns: 1fr;
    }
}
