/* УЛУЧШЕННЫЙ ПРОФИЛЬ - ПРОСТЫЕ ДОПОЛНЕНИЯ */

/* ПРОСТОЙ ЗАГОЛОВОК БЕЗ СТРЕЛКИ */
.simple-header {
  padding: 20px 16px 16px;
  text-align: center;
  background: transparent;
}

.simple-header .profile-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

/* ОПИСАНИЕ СТАТУСА */
.level-description {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 8px;
  font-style: italic;
}

/* КНОПКА ПОДРОБНЕЕ О ПРОГРАММЕ */
.btn-loyalty-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  margin-top: 16px;
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.3);
  border-radius: 8px;
  color: #007bff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-loyalty-details:hover {
  background: rgba(0, 123, 255, 0.15);
  transform: translateY(-1px);
}

.btn-loyalty-details .btn-icon {
  font-size: 16px;
}

.btn-loyalty-details .btn-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-loyalty-details:hover .btn-arrow {
  transform: translateX(3px);
}

/* СТИЛИ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ КАРТЫ КЛИЕНТА */

/* БОЛЬШАЯ ПРЕМИУМ КАРТА */
.premium-card-large {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.large-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.large-card-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.card-chip {
  font-size: 24px;
}

.large-card-status {
  text-align: center;
  margin-bottom: 24px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.status-icon {
  font-size: 20px;
}

.status-name {
  font-size: 18px;
  font-weight: 600;
}

.status-benefit {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.benefit-number {
  font-size: 36px;
  font-weight: 800;
}

.benefit-desc {
  font-size: 16px;
  opacity: 0.9;
}

.large-card-stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.large-stat {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 8px;
  border-radius: 12px;
}

.large-stat .stat-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.large-stat .stat-value {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.large-stat .stat-label {
  font-size: 11px;
  opacity: 0.8;
}

/* СЕКЦИЯ ПРОГРЕССА */
.level-progress-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.level-progress-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.level-progress-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.progress-visual {
  display: flex;
  align-items: center;
  gap: 20px;
}

.progress-circle {
  position: relative;
  flex-shrink: 0;
}

.progress-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
  color: #007bff;
}

.progress-info {
  flex: 1;
}

.progress-remaining {
  font-size: 24px;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 4px;
}

.progress-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.progress-benefit {
  font-size: 16px;
  font-weight: 600;
  color: #28a745;
}

/* СЕКЦИЯ ВСЕХ УРОВНЕЙ */
.all-levels-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
}

.all-levels-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.levels-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.level-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.level-card.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

.level-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.level-emoji {
  font-size: 24px;
}

.level-title {
  font-size: 18px;
  font-weight: 600;
}

.level-benefit {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.level-requirement {
  font-size: 14px;
  opacity: 0.7;
}

.current-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

/* ПРЕМИУМ КАРТА КЛИЕНТА 2025 - БАНКОВСКИЙ СТИЛЬ */
.premium-loyalty-card {
  margin: 20px 0;
  padding: 0;
}

.bank-card {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

.bank-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    #667eea 0%, 
    #764ba2 50%, 
    #f093fb 100%);
  opacity: 0.9;
}

.card-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-level {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.card-level .level-icon {
  font-size: 16px;
}

.card-level .level-name {
  font-size: 14px;
  font-weight: 600;
}

.card-middle {
  text-align: center;
  margin: 10px 0;
}

.card-status-text {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-main-benefit {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.benefit-percent {
  font-size: 32px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.benefit-text {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
}

.card-stats {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

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

.card-stat .stat-value {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.card-stat .stat-label {
  font-size: 10px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-hologram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 70%);
  animation: hologramShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hologramShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ПРОГРЕСС ДО СЛЕДУЮЩЕГО УРОВНЯ */
.next-level-progress {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-text {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.progress-amount {
  font-size: 16px;
  font-weight: 700;
  color: #007bff;
}

.modern-progress-bar {
  position: relative;
  height: 8px;
  margin-bottom: 8px;
}

.progress-track {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.progress-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #007bff, #00d4ff);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-glow {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.3), transparent);
  border-radius: 6px;
  opacity: 0;
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.progress-benefits {
  text-align: center;
}

.next-level-text {
  font-size: 12px;
  color: #007bff;
  font-weight: 500;
}

/* КНОПКА ПОДРОБНЕЕ */
.btn-card-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 212, 255, 0.1));
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 12px;
  color: #007bff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-card-details:hover {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 212, 255, 0.15));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.2);
}

.btn-card-details .btn-icon {
  font-size: 18px;
}

.btn-card-details .btn-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-card-details:hover .btn-arrow {
  transform: translateX(4px);
}
