/* ========================================= */
/* СТРАНИЦЫ ПРОФИЛЕЙ */
/* Чистый дизайн для личных кабинетов */
/* ========================================= */

.profile-container {
  background: #f8fafc;
  min-height: 100vh;
  padding: 2rem 0;
}

.page-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md) 0;
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.page-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0;
}

.page-subtitle {
  color: var(--color-text-light);
  margin: 0.5rem 0 0;
  font-size: var(--text-sm);
}

/* === СЕТКИ ЭЛЕМЕНТОВ === */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

/* === СТАТИСТИЧЕСКИЕ КАРТОЧКИ === */
.stats-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.stats-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.stats-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.stats-header i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.stats-header h5 {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

.stats-content {
  padding: 0;
}

.stats-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  display: block;
}

.stats-label {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* === ЦЕНЫ === */
.price-amount {
  color: var(--color-success);
  font-weight: 700;
  font-size: var(--text-lg);
}

.price-negotiable {
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-base);
}

/* === КАРТОЧКА ПРОФИЛЯ === */
.profile-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.profile-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* === УЛУЧШЕННЫЕ КАРТОЧКИ КОНТЕНТА === */
.profile-content-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.profile-content-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.profile-content-card .card-body {
  padding: 2rem;
}

.profile-content-card h5 {
  font-weight: 800;
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 0.75rem;
}

.profile-content-card h6 {
  font-weight: 700;
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.profile-content-card p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* === КНОПКИ ПРОФИЛЯ === */
.profile-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid;
  transition: all 0.2s ease;
  text-decoration: none;
}

.profile-btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.profile-btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
}

.profile-btn-outline {
  background: transparent;
  border-color: #d1d5db;
  color: #6b7280;
}

.profile-btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* === СОВРЕМЕННЫЕ СТАТУСЫ === */
.modern-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid;
  width: 100%;
  justify-content: flex-start;
}

.modern-status:hover {
  transform: translateY(-1px);
}

.modern-status-connected {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.modern-status-connected i {
  color: #10b981;
  font-size: 1rem;
}

.modern-status-disconnected {
  background: #fafafa;
  border-color: #e5e7eb;
  color: #6b7280;
}

.modern-status-disconnected i {
  color: #9ca3af;
  font-size: 1rem;
}

.modern-status-verified {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

.modern-status-verified i {
  color: #3b82f6;
  font-size: 1rem;
}

.modern-status-role {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  border-color: var(--color-primary);
  color: white;
}

.modern-status-role i {
  color: white;
  font-size: 1rem;
}

/* === ЧЕК-ЛИСТ ЗАДАЧ === */
.profile-tasks {
  margin-top: 1.5rem;
}

.task-item {
  border: 2px solid #f1f5f9 !important;
  border-radius: 12px !important;
  background: #fafbfc;
  transition: all 0.3s ease;
  padding: 1.25rem !important;
  margin-bottom: 0.75rem !important;
}

.task-item:hover {
  border-color: #e2e8f0 !important;
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.task-clickable:hover {
  border-color: var(--color-primary) !important;
  background: #f8faff;
  cursor: pointer;
}

.task-item h6 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 0.25rem !important;
}

.task-item p {
  font-size: 0.9rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.task-item .fas.fa-check-circle {
  color: #10b981 !important;
  font-size: 1.25rem !important;
}

.task-item .far.fa-circle {
  color: #cbd5e1 !important;
  font-size: 1.25rem !important;
}

/* === ПРОГРЕСС ПРОФИЛЯ === */
.profile-progress {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
}

.progress {
  border-radius: 8px !important;
  background-color: #f1f5f9 !important;
  height: 8px !important;
}

.progress-bar {
  border-radius: 8px !important;
  background: var(--color-primary) !important;
}

/* === ОТЗЫВЫ === */
.review-item {
  background: #fafbfc;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.review-item:hover {
  background: white;
  border-color: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.review-rating {
  color: #fbbf24;
  margin-bottom: 0.75rem;
}

.review-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: #111827;
  font-size: 0.9rem;
}

.review-date {
  color: #9ca3af;
  font-size: 0.85rem;
}

/* === БЕЙДЖИ СТАТУСА === */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
}

.bg-success {
  background-color: #10b981 !important;
  color: white !important;
}

.bg-info {
  background-color: #3b82f6 !important;
  color: white !important;
}

.bg-secondary {
  background-color: #6b7280 !important;
  color: white !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
  color: white !important;
}

/* === БЛОК "О СЕБЕ" === */
.about-me-block h6 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 0.75rem !important;
}

.about-me-block p {
  color: #6b7280 !important;
  line-height: 1.6 !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

.about-me-block i {
  color: #9ca3af !important;
  font-size: 0.9rem !important;
}

/* === КНОПКИ ВНУТРИ КАРТОЧЕК === */
.btn-outline-primary {
  border: 2px solid #e5e7eb !important;
  color: #374151 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 0.625rem 1.25rem !important;
  transition: all 0.2s ease !important;
}

.btn-outline-primary:hover {
  border-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === ФИЛЬТРЫ === */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--spacing-lg);
  padding: 0.5rem;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.filter-tab {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-text-light);
  background: transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}

.filter-tab:hover {
  color: var(--color-primary);
  background: var(--color-bg);
  text-decoration: none;
}

.filter-tab--active {
  color: var(--color-primary);
  background: var(--color-bg);
  border-color: var(--color-border);
  font-weight: 600;
}

.filter-count {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}
