/* ============= MODERN PROFILE SYSTEM ================ */

/* CSS Variables */
:root {
  --profile-primary: #45B8AC;
  --profile-primary-dark: #3a9b8f;
  --profile-secondary: #667eea;
  --profile-success: #28a745;
  --profile-danger: #dc3545;
  --profile-warning: #ffc107;
  --profile-info: #17a2b8;
  --profile-light: #f8f9fa;
  --profile-dark: #333;
  --profile-text: #555;
  --profile-text-light: #999;
  --profile-border: #e9ecef;
  --profile-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --profile-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
  --profile-shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* Body Background */
body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.section {
  margin-top: 85px;
  padding: 2rem 0;
}

/* ============= MODERN PROFILE SIDEBAR ================ */

.profile-sidebar {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: var(--profile-shadow);
  margin-bottom: 2rem;
  position: sticky;
  top: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-sidebar:hover {
  box-shadow: var(--profile-shadow-hover);
  transform: translateY(-2px);
}

/* ============= PROFILE PICTURE ================ */

.profilePic {
  overflow: visible;
  width: 120px;
  height: 120px;
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.3);
  margin: -80px auto 0;
  border-radius: 50%;
  position: relative;
  border: 4px solid #fff;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profilePic:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(69, 184, 172, 0.4);
}

.profilePic:hover .profilePreviewEdit:not([hidden]),
.profilePic:hover .profilePreviewErase:not([hidden]),
.profilePic:hover .profilePreviewCancel:not([hidden]) {
  opacity: 0.9;
  visibility: visible;
}

.profilePic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profilePreviewEdit,
.profilePreviewCancel,
.profilePreviewErase {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  padding: 0.5rem;
  font-size: 1rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.profilePreviewEdit {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8) translateX(-30px);
}

.profilePreviewErase {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8) translateX(30px);
}

.profilePreviewCancel {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Hidden state */
.profilePreviewEdit[hidden],
.profilePreviewCancel[hidden],
.profilePreviewErase[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Visible state */
.profilePreviewEdit:not([hidden]),
.profilePreviewCancel:not([hidden]),
.profilePreviewErase:not([hidden]) {
  opacity: 0.9;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.profilePreviewEdit:not([hidden]) {
  transform: translate(-50%, -50%) scale(1) translateX(-30px);
}

.profilePreviewErase:not([hidden]) {
  transform: translate(-50%, -50%) scale(1) translateX(30px);
}

.profilePreviewCancel:hover,
.profilePreviewErase:hover,
.profilePreviewEdit:hover {
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profilePreviewEdit:hover {
  transform: translate(-50%, -50%) scale(1.15) translateX(-30px);
}

.profilePreviewErase:hover {
  transform: translate(-50%, -50%) scale(1.15) translateX(30px);
}

#submitProfilePic {
  border-radius: 8px;
  width: auto;
  min-width: 100px;
  text-align: center;
  cursor: pointer;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  display: block;
  position: absolute;
  align-self: center;
  font-size: 0.875rem;
  top: 8.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(69, 184, 172, 0.3);
  z-index: 20;
}

#submitProfilePic:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.4);
  color: white;
}

/* ============= PROFILE NAME & INFO ================ */

.profileName {
  text-align: center;
  color: var(--profile-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.profileInfo {
  text-align: center;
  color: var(--profile-text);
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profileInfo:last-of-type {
  margin-bottom: 1rem;
}

/* ============= MODERN PROFILE BUTTONS ================ */

.profileButtons {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.profileButtons a {
  display: inline-block;
  text-decoration: none;
  max-width: 200px;
  width: 100%;
}

.profileButtons .btn {
  width: 100%;
  max-width: 200px;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, filter 0.3s ease;
  border: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
}

.profileButtons .btn-info {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
}

.profileButtons a:hover .btn-info,
.profileButtons a:focus-visible .btn-info,
.profileButtons .btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.3);
  color: #fff;
  filter: brightness(1.05);
}

.profileButtons .btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #fff;
}

.profileButtons a:hover .btn-danger,
.profileButtons a:focus-visible .btn-danger,
.profileButtons .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
  background: linear-gradient(135deg, #e04b59 0%, #dc3545 100%);
  color: #fff;
  filter: brightness(1.06);
}

.core-profile-nav-add-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #c82333;
  font-size: 0.72rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.profileButtons a:hover .core-profile-nav-add-badge,
.profileButtons a:focus-visible .core-profile-nav-add-badge {
  transform: scale(1.1);
}

.profileButtons .btn.core-profile-nav-add {
  gap: 0.4rem;
}

.profileButtons .btn.core-profile-nav-active .core-profile-nav-add-badge,
.profileButtons .btn-info .core-profile-nav-add-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--profile-primary-dark);
}

.profileButtons .btn.core-profile-nav-active,
.profileButtons .btn.core-profile-nav-active:hover,
.profileButtons a:hover .btn.core-profile-nav-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(69, 184, 172, 0.35);
  transform: none;
  filter: none;
}

.profileButtons .btn-danger.core-profile-nav-active,
.profileButtons .btn-danger.core-profile-nav-active:hover,
.profileButtons a:hover .btn-danger.core-profile-nav-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(220, 53, 69, 0.35);
}

.core-profile-nav-group-label {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c757d;
}

.core-module-hub-tabs .nav-link {
  border-radius: 999px;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

.core-profile-nav-badge,
.core-module-hub-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.core-module-onboarding ol {
  list-style: none;
  padding-left: 0;
}

.profileButtons .btn:last-child {
  margin-bottom: 0;
}

/* ============= MODERN PROFILE DASHBOARD ================ */

.profile-dashboard {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--profile-shadow);
  min-height: 500px;
}

.dashoardTitle {
  color: var(--profile-dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  padding-bottom: 0.75rem;
}

.dashoardTitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  border-radius: 2px;
}

/* ============= MODERN TABLES ================ */

.table {
  border-radius: 12px;
  overflow: hidden;
}

.table thead {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
}

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  font-size: 0.9rem;
  padding: 1rem;
  vertical-align: middle;
  border-color: var(--profile-border);
}

.table tbody tr {
  transition: background 0.2s ease;
}

.table tbody tr:hover {
  background: var(--profile-light);
}

.ptab-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.ptab-image img:hover {
  transform: scale(1.1);
}

.subtitletab h4 {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
  margin: 0;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ============= MODERN FORMS ================ */

.x_title {
  margin: 0 0 2rem 0;
  text-align: center;
}

.x_title h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  padding-bottom: 1rem;
}

.x_title h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  border-radius: 2px;
}

.submitbutonlar {
  margin-top: 2rem;
  text-align: center;
}

.submitbutonlar .btn {
  min-width: 150px;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.submitbutonlar .btn-dark {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
}

.submitbutonlar .btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.3);
  color: #fff;
}

.submitbutonlar .btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #fff;
}

.submitbutonlar .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  color: #fff;
}

/* ============= SCROLL Y ================ */

.scroll-y {
  overflow-y: auto;
  height: 350px;
  padding-right: 0.5rem;
}

.scroll-y::-webkit-scrollbar {
  width: 6px;
}

.scroll-y::-webkit-scrollbar-track {
  background: var(--profile-light);
  border-radius: 10px;
}

.scroll-y::-webkit-scrollbar-thumb {
  background: var(--profile-primary);
  border-radius: 10px;
}

.scroll-y::-webkit-scrollbar-thumb:hover {
  background: var(--profile-primary-dark);
}

/* ============= RESPONSIVE DESIGN ================ */

@media (max-width: 991.98px) {
  /* Mobilde navigasyon üst header dropdown'dan yönetilir */
  .profile-sidebar-nav {
    display: none !important;
  }

  .core-profile-main-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .core-profile-row--listing > .core-profile-sidebar-col {
    display: none;
  }

  .profile-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .profile-sidebar:hover {
    transform: none;
  }

  .profile-sidebar-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .profile-sidebar-identity > #profilePicForm,
  .profile-sidebar-identity > .profilePic {
    flex-shrink: 0;
  }

  .profile-sidebar-meta {
    flex: 1;
    min-width: 0;
  }

  .profilePic {
    margin: 0;
    width: 72px;
    height: 72px;
  }

  .profileName {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    text-align: left;
  }

  .profileInfo {
    text-align: left;
    font-size: 0.8125rem;
    margin-top: 0.15rem;
    line-height: 1.35;
  }

  .profileInfo:last-of-type {
    margin-bottom: 0;
  }

  .profile-sidebar-meta .profileInfo:not(:last-of-type) {
    display: none;
  }

  .profile-dashboard {
    padding: 1.25rem;
  }

  .dashoardTitle,
  .core-profile-dashboard-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    margin-top: 70px;
    padding: 1rem 0;
  }
  
  .profile-sidebar {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .profilePic {
    width: 64px;
    height: 64px;
  }
  
  .profileName {
    font-size: 1rem;
  }
  
  .profile-dashboard {
    padding: 1rem;
  }
  
  .table {
    font-size: 0.85rem;
  }
  
  .table thead th,
  .table td {
    padding: 0.75rem 0.5rem;
  }
  
  .submitbutonlar .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* ============= MODERN CARD STYLES ================ */

.modern-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--profile-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.modern-card:hover {
  box-shadow: var(--profile-shadow-hover);
  transform: translateY(-2px);
}

.modern-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--profile-border);
}

.modern-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0;
}

.modern-card-body {
  color: var(--profile-text);
  line-height: 1.7;
}

/* ============= MODERN BADGES ================ */

.modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.modern-badge-primary {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
}

.modern-badge-success {
  background: linear-gradient(135deg, var(--profile-success) 0%, #218838 100%);
  color: #fff;
}

.modern-badge-danger {
  background: linear-gradient(135deg, var(--profile-danger) 0%, #c82333 100%);
  color: #fff;
}

.modern-badge-warning {
  background: linear-gradient(135deg, var(--profile-warning) 0%, #e0a800 100%);
  color: #333;
}

.modern-badge-info {
  background: linear-gradient(135deg, var(--profile-info) 0%, #138496 100%);
  color: #fff;
}

.modern-badge-secondary {
  background: #e9ecef;
  color: #495057;
}

/* ============= MODERN BUTTONS ================ */

.btn-modern {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-modern-primary {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.3);
  color: #fff;
}

.btn-modern-secondary {
  background: #fff;
  color: var(--profile-primary);
  border: 2px solid var(--profile-primary);
}

.btn-modern-secondary:hover {
  background: var(--profile-primary);
  color: #fff;
}

.btn-modern-danger {
  background: linear-gradient(135deg, var(--profile-danger) 0%, #c82333 100%);
  color: #fff;
}

.btn-modern-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
  color: #fff;
}

/* ============= MODERN PAGE HEADER ================ */

.modern-page-header {
  margin-bottom: 2rem;
}

.modern-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.modern-page-title i {
  color: var(--profile-primary);
  font-size: 1.5rem;
}

.modern-page-subtitle {
  font-size: 0.95rem;
  color: var(--profile-text-light);
  margin: 0;
}

/* ============= MODERN EMPTY STATE ================ */

.modern-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--profile-shadow);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--profile-text-light);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin-bottom: 0.75rem;
}

.empty-state-text {
  font-size: 1rem;
  color: var(--profile-text);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============= MODERN FAVORITES PAGE ================ */

.modern-favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.modern-favorite-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--profile-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-favorite-card:hover {
  box-shadow: var(--profile-shadow-hover);
  transform: translateY(-4px);
}

.favorite-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--profile-light);
}

.favorite-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-favorite-card:hover .favorite-card-image img {
  transform: scale(1.1);
}

.favorite-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(69, 184, 172, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  gap: 0.5rem;
}

.modern-favorite-card:hover .favorite-overlay {
  opacity: 1;
}

.favorite-remove-form {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.favorite-remove-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--profile-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.favorite-remove-btn:hover {
  background: var(--profile-danger);
  color: #fff;
  transform: scale(1.1);
}

.favorite-card-body {
  padding: 1.25rem;
}

.favorite-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--profile-text-light);
  margin-bottom: 0.75rem;
}

.favorite-category i {
  color: var(--profile-primary);
}

.favorite-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--profile-dark);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.favorite-card-title a {
  color: var(--profile-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.favorite-card-title a:hover {
  color: var(--profile-primary);
}

.favorite-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.favorite-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.favorite-price .price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--profile-primary);
}

.favorite-price .price-currency {
  font-size: 0.9rem;
  color: var(--profile-text);
}

.favorite-time-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: var(--profile-light);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--profile-text);
}

.favorite-time-badge i {
  font-size: 0.7rem;
}

/* ============= MODERN SELLER DASHBOARD ================ */

.modern-stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--profile-shadow);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--profile-shadow-hover);
  transform: translateY(-2px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.stat-icon-primary {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
}

.stat-icon-info {
  background: linear-gradient(135deg, var(--profile-info) 0%, #138496 100%);
}

.stat-icon-success {
  background: linear-gradient(135deg, var(--profile-success) 0%, #218838 100%);
}

.stat-icon-warning {
  background: linear-gradient(135deg, var(--profile-warning) 0%, #e0a800 100%);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--profile-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--profile-text-light);
  font-weight: 500;
}

.modern-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.modern-product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--profile-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-product-card:hover {
  box-shadow: var(--profile-shadow-hover);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--profile-light);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-product-card:hover .product-card-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(69, 184, 172, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  gap: 0.5rem;
}

.modern-product-card:hover .product-overlay {
  opacity: 1;
}

.product-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--profile-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--profile-dark);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.product-card-title a {
  color: var(--profile-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-card-title a:hover {
  color: var(--profile-primary);
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.product-price .price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--profile-primary);
}

.product-price .price-currency {
  font-size: 0.9rem;
  color: var(--profile-text);
}

.product-time-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-card-actions {
  padding: 1rem 1.25rem;
  background: var(--profile-light);
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--profile-border);
}

.product-card-actions .btn-modern {
  flex: 1;
  justify-content: center;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

/* ============= RESPONSIVE FAVORITES & PRODUCTS ================ */

@media (max-width: 768px) {
  .modern-favorites-grid,
  .modern-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .modern-stats-cards {
    grid-template-columns: 1fr;
  }
  
  .product-card-actions {
    flex-direction: column;
  }
  
  .product-card-actions .btn-modern {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .modern-favorites-grid,
  .modern-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============= MODERN SETTINGS PAGE ================ */

.modern-settings-page {
  padding: 0;
  min-width: 0;
  overflow-x: clip;
}

.modern-settings-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--profile-shadow);
  padding: 2rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.modern-form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--profile-border);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.modern-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section-header {
  margin-bottom: 1.5rem;
}

.form-section-header--toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.form-section-header__main {
  flex: 1 1 16rem;
  min-width: 0;
}

.form-section-header__action {
  flex-shrink: 0;
  align-self: flex-start;
}

.form-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.form-section-title i {
  color: var(--profile-primary);
  font-size: 1.5rem;
}

.form-section-description {
  font-size: 0.9rem;
  color: var(--profile-text-light);
  margin: 0;
}

.modern-form-group {
  margin-bottom: 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.modern-form-label {
  display: block;
  font-weight: 600;
  color: var(--profile-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.required {
  color: var(--profile-danger);
}

.modern-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--profile-text-light);
  font-size: 1.1rem;
  z-index: 1;
}

.modern-form-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  min-height: 48px;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid var(--profile-border);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.modern-form-input:focus {
  outline: none;
  border-color: var(--profile-primary);
  box-shadow: 0 0 0 3px rgba(69, 184, 172, 0.1);
}

/* Bootstrap'in sabit .form-control yuksekligi input/select alanlarini dikeyde
   sikistiriyordu; yukarida height:auto + min-height ile cozuldu.
   Select'lerde ikon olmadigi icin sol bosluk normale cekiliyor. */
select.modern-form-input {
  padding-left: 1rem;
}

/* Dukkan entegrasyonu - odeme bilgileri bolumu ile alttaki ayirici cizgi
   arasindaki fazla dikey boslugu azalt. */
.core-payment-section {
  padding-bottom: 1rem;
}

#getPaymentBetaForms .form-group {
  margin-bottom: 0.75rem;
}

#getPaymentBetaForms > .form-group:last-child {
  margin-bottom: 0;
}

#getPaymentBetaForms .alert {
  margin-bottom: 0;
}

/* Banka / IBAN öncesi satıcı bilgilendirme paneli */
.core-bank-guide-wrap {
  margin-top: 0.25rem;
  margin-bottom: 1rem !important;
}

.core-bank-guide-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--profile-border) 12%,
    var(--profile-border) 88%,
    transparent
  );
  margin: 0.35rem 0 0.85rem;
}

.core-bank-guide-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid #fde68a;
  border-radius: 10px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.core-bank-guide-toggle:hover,
.core-bank-guide-toggle:focus {
  background: #fef3c7;
  border-color: #fbbf24;
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

.core-bank-guide-toggle__chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.core-bank-guide-toggle[aria-expanded="true"] .core-bank-guide-toggle__chevron {
  transform: rotate(180deg);
}

.core-bank-guide-panel {
  margin-top: 0.65rem;
}

.core-bank-guide-panel__inner {
  padding: 1rem 1.1rem;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #f8fafc;
  color: #1e3a5f;
  font-size: 0.88rem;
  line-height: 1.55;
}

.core-bank-guide-panel__lead {
  margin: 0 0 0.85rem;
}

.core-bank-guide-panel__list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.core-bank-guide-panel__list li + li {
  margin-top: 0.55rem;
}

.core-bank-guide-panel__note {
  font-size: 0.82rem;
  color: #475569;
}

.form-help-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--profile-text-light);
}

.modern-address-card {
  background: var(--profile-light);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid var(--profile-border);
  transition: all 0.3s ease;
  min-height: 200px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.modern-address-card:hover {
  border-color: var(--profile-primary);
  box-shadow: 0 2px 8px rgba(69, 184, 172, 0.1);
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--profile-border);
}

.address-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--profile-dark);
  font-size: 1rem;
}

.address-card-title i {
  color: var(--profile-primary);
  font-size: 1.25rem;
}

.address-card-body {
  flex: 1 1 auto;
  min-height: 0;
}

.address-card-body:has(.address-empty) {
  min-height: 100px;
}

.address-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--profile-text-light);
}

.address-empty i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
  display: block;
}

.address-empty p {
  margin: 0;
  font-size: 0.9rem;
}

.address-selected {
  padding: 0.85rem 1rem;
  background: rgba(69, 184, 172, 0.07);
  border: 2px solid var(--profile-primary);
  border-radius: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.address-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--profile-primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.address-title i {
  font-size: 1.1rem;
}

.address-details {
  color: var(--profile-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.address-details p {
  margin: 0.25rem 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.address-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--profile-border);
}

.address-card-actions .btn-modern {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.modern-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: none;
}

.modern-close-account-section {
  text-align: right;
}

.close-account-link {
  color: var(--profile-danger);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.close-account-link:hover {
  color: #c82333;
  text-decoration: underline;
}

.close-account-link i {
  margin-right: 0.25rem;
}

/* ============= RESPONSIVE SETTINGS ================ */

/* ============= MODERN RADIO GROUP ================ */

.modern-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.modern-radio-item {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 100%;
}

.modern-radio-item input[type="radio"] {
  display: none;
}

.modern-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--profile-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  font-weight: 500;
  color: var(--profile-text);
}

.modern-radio-label i {
  color: transparent;
  transition: color 0.3s ease;
}

.modern-radio-item input[type="radio"]:checked + .modern-radio-label {
  border-color: var(--profile-primary);
  background: rgba(69, 184, 172, 0.1);
  color: var(--profile-primary);
}

.modern-radio-item input[type="radio"]:checked + .modern-radio-label i {
  color: var(--profile-primary);
}

.modern-radio-label:hover {
  border-color: var(--profile-primary);
  background: rgba(69, 184, 172, 0.05);
}

/* ============= MODERN SOCIAL LINKS ================ */

.core-seller-social-links {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.modern-social-link-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--profile-border);
  border-left: 4px solid var(--profile-primary);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 0;
  overflow: hidden;
}

.modern-social-link-item:last-child {
  margin-bottom: 0;
}

.modern-social-link-item:hover {
  transform: translateY(-2px);
  border-left-color: var(--profile-primary-dark);
  box-shadow: 0 8px 22px rgba(69, 184, 172, 0.15);
}

.core-social-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.core-social-head__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--profile-dark);
  font-family: 'Montserrat', sans-serif;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.core-social-head__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.core-social-head__remove {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.08);
  color: var(--profile-danger);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.core-social-head__remove:hover {
  background: var(--profile-danger);
  color: #fff;
  transform: rotate(90deg);
}

.core-social-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.core-social-body .modern-form-group {
  margin-bottom: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.modern-social-link-item .modern-input-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.modern-social-link-item .modern-input-wrapper .modern-form-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.modern-social-link-item .modern-form-input,
.modern-social-link-item select.modern-form-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.modern-social-link-item select.modern-form-input {
  padding-left: 1rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

@media (min-width: 992px) {
  .core-social-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 1rem;
    align-items: start;
  }
}

@media (max-width: 991.98px) {
  .modern-social-link-item {
    padding: 1rem 0.85rem;
    margin-bottom: 0.85rem;
  }

  .modern-social-link-item:hover {
    transform: none;
  }

  .core-social-head {
    gap: 0.5rem;
  }

  .core-social-head__title {
    font-size: 0.8125rem;
  }

  .core-social-body {
    gap: 1.15rem;
  }

  .modern-social-link-item .modern-form-input {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .modern-settings-form {
    padding: 1.25rem 1rem;
  }

  .modern-settings-form .row > [class*="col-"] {
    min-width: 0;
  }

  .modern-form-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .modern-form-actions {
    flex-direction: column;
  }

  .modern-form-actions .btn-modern {
    width: 100%;
    justify-content: center;
  }

  .form-section-header--toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .form-section-header__action {
    width: 100%;
    justify-content: center;
  }

  .address-card-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .address-card-header .dropdown {
    width: 100%;
    max-width: 100%;
  }

  .address-card-header .dropdown .btn-modern {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    min-width: 0;
  }

  .address-card-header .dropdown .btn-modern span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
  }

  .modern-address-card {
    padding: 1rem;
    min-height: 0;
  }

  .modern-radio-group {
    flex-direction: column;
    gap: 0.65rem;
  }

  .modern-radio-item {
    width: 100%;
    flex: 1 1 auto;
  }

  .modern-radio-label {
    width: 100%;
    min-height: 44px;
  }

  .modern-radio-label span {
    line-height: 1.35;
  }

  .modern-page-title {
    font-size: 1.35rem;
    flex-wrap: wrap;
  }

  .modern-page-subtitle {
    font-size: 0.875rem;
  }

  .core-profile-side-panel.modern-settings-form,
  .core-account-security-panel.modern-settings-form {
    margin-top: 1.25rem;
    padding: 1.25rem 1rem;
  }

  .modern-close-account-section {
    text-align: center;
  }

  .modern-close-account-section p {
    text-align: center !important;
  }
}

/* ============= MODERN ORDERS PAGE ================ */

.modern-orders-page {
  padding: 0;
}

.modern-order-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--profile-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-order-card:hover {
  box-shadow: var(--profile-shadow-hover);
}

.order-card-header {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.order-seller-info,
.order-number,
.order-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.order-seller-info i,
.order-number i,
.order-date i {
  font-size: 1rem;
}

.seller-name {
  font-weight: 600;
}

.order-status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.order-card-body {
  padding: 1.5rem;
}

.order-product-info {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--profile-border);
  flex-wrap: wrap;
}

.order-product-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.order-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-product-details {
  flex: 1;
  min-width: 200px;
}

.order-product-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--profile-dark);
  margin: 0 0 1rem 0;
}

.order-product-title a {
  color: var(--profile-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.order-product-title a:hover {
  color: var(--profile-primary);
}

.order-product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--profile-text);
}

.order-meta-item i {
  color: var(--profile-primary);
  font-size: 1rem;
}

.order-total {
  text-align: right;
  flex-shrink: 0;
}

.total-label {
  font-size: 0.875rem;
  color: var(--profile-text-light);
  margin-bottom: 0.5rem;
}

.total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--profile-primary);
}

.order-address-info {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--profile-light);
  border-radius: 12px;
}

.address-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--profile-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-section h5 i {
  color: var(--profile-primary);
}

.address-section p {
  margin: 0.25rem 0;
  color: var(--profile-text);
  font-size: 0.9rem;
}

.tracking-number {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--profile-primary);
}

.tracking-number strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--profile-dark);
  font-size: 0.9rem;
}

.tracking-code {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--profile-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.order-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.order-actions .btn-modern {
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.order-card-footer {
  padding: 1.5rem;
  background: var(--profile-light);
  border-top: 2px solid var(--profile-border);
}

.order-status-section h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--profile-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-status-section h5 i {
  color: var(--profile-primary);
}

.order-cancelled-message {
  text-align: center;
  padding: 2rem;
}

.cancelled-icon {
  font-size: 3rem;
  color: var(--profile-danger);
  margin-bottom: 1rem;
}

.order-cancelled-message h6 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--profile-danger);
  margin-bottom: 1rem;
}

.order-cancelled-message p {
  color: var(--profile-text);
  margin-bottom: 1.5rem;
}

.cancelled-reasons {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
}

.cancelled-reasons ul {
  margin: 0.75rem 0 0 1.5rem;
  padding: 0;
  color: var(--profile-text);
}

.cancelled-reasons li {
  margin-bottom: 0.5rem;
}

/* ============= MODERN ORDER TIMELINE ================ */

.modern-order-timeline-container {
  padding: 1rem 0;
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--profile-border);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  min-width: 120px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--profile-light);
  border: 3px solid var(--profile-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline-step-icon i {
  font-size: 1.5rem;
  color: var(--profile-text-light);
  transition: color 0.3s ease;
}

.timeline-step.active .timeline-step-icon {
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  border-color: var(--profile-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(69, 184, 172, 0.3);
}

.timeline-step.active .timeline-step-icon i {
  color: #fff;
}

.timeline-step.completed .timeline-step-icon {
  background: linear-gradient(135deg, var(--profile-success) 0%, #218838 100%);
  border-color: var(--profile-success);
}

.timeline-step.completed .timeline-step-icon i {
  color: #fff;
}

.timeline-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--profile-text);
  transition: color 0.3s ease;
}

.timeline-step.active .timeline-step-label {
  color: var(--profile-primary);
}

.timeline-step.completed .timeline-step-label {
  color: var(--profile-success);
}

.timeline-connector {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--profile-success);
  z-index: 1;
  transform: translateX(50%);
}

/* ============= ORDERS TOOLBAR & CHIPS ================ */

.modern-orders-toolbar {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modern-orders-search__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--profile-text-light);
  margin-bottom: 0.35rem;
}

.modern-orders-search__row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modern-orders-search__icon {
  display: none;
}

.modern-orders-search__input {
  flex: 1 1 220px;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--profile-border);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

.modern-orders-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.modern-orders-chips__item {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--profile-text);
  background: #fff;
  border: 1px solid var(--profile-border);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.modern-orders-chips__item:hover {
  border-color: var(--profile-primary);
  color: var(--profile-primary-dark);
  text-decoration: none;
}

.modern-orders-chips__item.active {
  background: var(--profile-primary);
  border-color: var(--profile-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(69, 184, 172, 0.35);
}

.modern-orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}

.modern-orders-pagination__info {
  font-size: 0.9rem;
  color: var(--profile-text-light);
  font-weight: 500;
}

.order-request-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  color: #6d4c00;
  font-size: 0.875rem;
  font-weight: 500;
}

.order-request-banner i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.order-multiseller-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #e8f4fd;
  border-bottom: 1px solid #bcdffb;
  color: #0b4a78;
  font-size: 0.85rem;
  font-weight: 500;
}

.order-multiseller-banner i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.order-product-info--stack {
  align-items: flex-start;
}

.order-items-stack {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.order-item-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.order-product-image--sm {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.order-product-image--sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-row__body {
  flex: 1;
  min-width: 0;
}

.order-item-row .order-product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  display: block;
  color: var(--profile-dark);
}

.order-items-more {
  margin: 0;
  font-size: 0.85rem;
  color: var(--profile-text-light);
  font-weight: 500;
}

.order-meta-item--cargo {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--profile-text-light);
}

/* ============= KARGO / DEPO ADRESİ ================ */

.core-warehouse-card {
  border-radius: 12px;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible;
}

.core-warehouse-result {
  min-height: 0;
}

.core-warehouse-form .form-group {
  margin-bottom: 1rem;
}

.core-warehouse-view strong {
  color: var(--profile-dark);
}

/* ============= SELLER ORDERS (rose accent) ================ */

.modern-order-card--seller .order-card-header {
  background: linear-gradient(135deg, #c2a09f 0%, #997271 100%);
}

.modern-order-card--seller .order-buyer-info,
.modern-order-card--seller .order-number,
.modern-order-card--seller .order-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.modern-order-card--seller .buyer-name {
  font-weight: 600;
}

.modern-order-card--seller .order-status-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--profile-dark);
}

.order-address-info--seller {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.order-actions--seller {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.order-actions--seller .order-actions__hint {
  width: 100%;
}

.order-status-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.order-status-section__head h5 {
  margin-bottom: 0;
}

.modern-order-card--seller .btn-orders,
.btn-orders {
  color: #fff;
  background-color: #997271;
  border-color: #997271;
}

.modern-order-card--seller .btn-orders:hover,
.btn-orders:hover {
  color: #fff;
  background-color: #7d5c5b;
  border-color: #7d5c5b;
}

.btn-modern-success {
  background: linear-gradient(135deg, var(--profile-success) 0%, #218838 100%);
  color: #fff;
  border: none;
}

.btn-modern-success:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-modern-success:disabled {
  opacity: 1;
  cursor: default;
}

/* ============= RESPONSIVE ORDERS ================ */

@media (max-width: 768px) {
  .modern-orders-search__row .btn-modern {
    width: 100%;
  }

  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-product-info {
    flex-direction: column;
  }
  
  .order-product-image {
    width: 100%;
    height: 200px;
  }
  
  .order-total {
    text-align: left;
    width: 100%;
  }
  
  .order-actions {
    flex-direction: column;
  }
  
  .order-actions .btn-modern {
    width: 100%;
  }
  
  .timeline-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .timeline-wrapper::before {
    display: none;
  }
  
  .timeline-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    min-width: auto;
  }
  
  .timeline-step-icon {
    margin: 0;
    flex-shrink: 0;
  }
  
  .timeline-connector {
    display: none;
  }
}

/* ============= İlanlarım — durum bildirimi ================ */

.core-listings-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.core-listings-chips__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--profile-text);
  background: #fff;
  border: 1px solid var(--profile-border);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.core-listings-chips__item:hover {
  border-color: var(--profile-primary);
  color: var(--profile-primary-dark);
  text-decoration: none;
}

.core-listings-chips__item.active {
  background: var(--profile-primary);
  border-color: var(--profile-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(69, 184, 172, 0.35);
}

.core-listings-chips__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(0, 0, 0, 0.08);
}

.core-listings-chips__item.active .core-listings-chips__count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.core-listings-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: var(--profile-shadow);
  animation: core-listings-flash-in 0.35s ease;
}

.core-listings-flash.is-hiding {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.core-listings-flash--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.core-listings-flash--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.core-listings-flash--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.core-listings-flash__icon {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.core-listings-flash__text {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.core-listings-flash__text strong {
  font-weight: 600;
}

.core-listings-flash__close {
  flex-shrink: 0;
  margin: -0.15rem -0.25rem 0 0;
  padding: 0.2rem 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.55;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.core-listings-flash__close:hover {
  opacity: 1;
}

@keyframes core-listings-flash-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= Dükkan özeti & empty state ================ */

.core-shop-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--profile-shadow);
}

.core-shop-subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--profile-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.core-shop-subnav__link:hover {
  background: var(--profile-light);
  color: var(--profile-primary);
  text-decoration: none;
}

.core-shop-subnav__link.is-active {
  background: var(--profile-primary);
  color: #fff;
}

.core-shop-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.core-shop-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--profile-shadow);
}

.core-shop-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.core-shop-stat-card__icon--primary { background: rgba(142, 79, 79, 0.12); color: var(--profile-primary); }
.core-shop-stat-card__icon--info { background: rgba(23, 162, 184, 0.12); color: #17a2b8; }
.core-shop-stat-card__icon--success { background: rgba(40, 167, 69, 0.12); color: #28a745; }
.core-shop-stat-card__icon--warning { background: rgba(255, 193, 7, 0.15); color: #d39e00; }

.core-shop-stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--profile-dark);
}

.core-shop-stat-card__label {
  font-size: 0.85rem;
  color: var(--profile-text-light);
}

.core-shop-dl dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--profile-text-light);
  margin-bottom: 0.15rem;
}

.core-shop-dl dd {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.core-empty-state-visual {
  position: relative;
  margin-bottom: 1rem;
}

.core-empty-illus {
  width: 120px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
  opacity: 0.9;
}

.core-empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.core-payments-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.core-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.core-campaign-value-input .form-control {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.core-campaign-value-input .input-group-text {
  min-width: 2.75rem;
  justify-content: center;
  font-weight: 600;
  background: #f6f8fa;
  color: #4a5560;
  border-color: #ced4da;
}

.core-campaign-discount-field {
  margin-bottom: 0;
}

/* Hit nav — geçici devre dışı, görünüm korunur */
.core-hit-nav--disabled .core-hit-nav__item {
  cursor: default;
  pointer-events: none;
  opacity: 1;
  color: inherit;
}

.core-hit-nav--disabled .nav-link {
  cursor: default;
}

/* Ödeme şartları modal */
.core-payment-terms-modal {
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.core-payment-terms-modal__header {
  background: #f8f6f3;
  border-bottom: 1px solid #e8e4df;
}

.core-payment-terms-modal__header .modal-title {
  font-weight: 700;
  color: var(--profile-dark, #2c2c2c);
}

.core-payment-terms-modal__body {
  padding: 1.5rem;
}

.core-payment-terms-modal__illus {
  max-width: 200px;
}

.core-payment-terms-list__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.core-payment-terms-list__item:last-child {
  margin-bottom: 0;
}

.core-payment-terms-list__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--profile-primary, #8e4f4f);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.core-payment-terms-list__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--profile-dark, #2c2c2c);
}

.core-payment-terms-list__text {
  margin-bottom: 0.35rem;
  color: var(--profile-text, #555);
  font-size: 0.95rem;
}

.core-payment-terms-list__note {
  font-size: 0.8rem;
  color: var(--profile-text-light, #888);
  font-style: italic;
  margin-bottom: 0;
}

/* İlan listesi — kompakt kart ızgarası */
.modern-products-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.modern-product-card--compact .product-card-image {
  height: 140px;
}

.modern-product-card--compact .product-card-body {
  padding: 0.75rem 1rem;
}

.modern-product-card--compact .product-card-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-product-card--compact .product-card-meta {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.modern-product-card--compact .product-card-actions {
  padding: 0.5rem 0.75rem 0.75rem;
  gap: 0.35rem;
}

.modern-product-card--compact .product-card-actions .btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
}

.modern-product-card--compact:hover {
  transform: translateY(-2px);
}

.core-listing-tenure {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--profile-primary, #8e4f4f);
  background: rgba(142, 79, 79, 0.08);
  border: 1px solid rgba(142, 79, 79, 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.core-listing-tenure i {
  font-size: 0.85em;
  opacity: 0.85;
}

.core-listing-renew-btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

/* İlan silme modalı */
.core-listing-delete-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.core-listing-delete-modal__header {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-bottom: 1px solid #fde8e8;
  padding: 1rem 1.25rem;
}

.core-listing-delete-modal__header .modal-title {
  font-weight: 700;
  color: var(--profile-dark, #2c2c2c);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.core-listing-delete-modal__header .modal-title i {
  color: #c62828;
}

.core-listing-delete-modal__body {
  padding: 1.25rem 1.5rem;
}

.core-listing-delete-modal__product {
  font-weight: 600;
  color: var(--profile-dark, #2c2c2c);
  line-height: 1.45;
}

.core-listing-delete-modal__footer {
  border-top: 1px solid #f0f4f7;
  padding: 0.85rem 1.25rem;
  background: #fafafa;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

#coreListingDeleteModal .modal-backdrop {
  z-index: 1040;
}

/* Hesap kapatma modalı */
.core-close-account-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.core-close-account-modal__header {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  border-bottom: 1px solid #f0e6dc;
  padding: 1rem 1.25rem;
}

.core-close-account-modal__header .modal-title {
  font-weight: 700;
  color: var(--profile-dark, #2c2c2c);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.core-close-account-modal__header .modal-title i {
  color: #c45c26;
}

.core-close-account-modal__body {
  padding: 1.25rem 1.5rem;
}

.core-close-account-modal__footer {
  border-top: 1px solid #f0f4f7;
  padding: 0.85rem 1.25rem;
  background: #fafafa;
}

.close-account-link {
  color: var(--profile-primary, #8e4f4f);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.close-account-link:hover {
  color: var(--profile-primary-dark, #6d3d3d);
}

/* Profil ayarları — yan panel (ana formun dışındaki kartlar) */
.core-profile-side-panel.modern-settings-form {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
}

/* Hesap güvenliği */
.core-account-security-panel {
  margin-top: 2rem;
  margin-bottom: 0;
}

.core-account-security-panel.modern-settings-form {
  padding: 1.75rem 2rem;
}

.core-profile-side-panel .modern-form-section,
.core-account-security-panel .modern-form-section,
.core-profile-side-panel .core-writer-apps-section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.core-account-security-section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.core-account-security-card {
  background: #fafbfc;
  border: 1px solid var(--profile-border, #e9ecef);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.core-account-security-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.core-account-security-row__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--profile-text-light, #999);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.core-account-security-row__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--profile-dark, #333);
  word-break: break-all;
}

.core-account-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.core-account-security-badge--warning {
  background: #fff8e6;
  color: #856404;
  border: 1px solid #ffeeba;
}

.core-account-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.core-account-security-modal {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.core-account-security-modal__header {
  background: linear-gradient(135deg, #f0f9f8 0%, #fff 100%);
  border-bottom: 1px solid #e8f0ef;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.core-account-security-modal__header .modal-title {
  font-weight: 700;
  color: var(--profile-dark, #2c2c2c);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.core-account-security-modal__header .modal-title i {
  color: var(--profile-primary, #45B8AC);
}

.core-account-security-modal__subtitle {
  font-size: 0.875rem;
  color: var(--profile-text, #555);
  margin-top: 0.35rem;
}

.core-account-security-modal__body {
  padding: 1.25rem 1.5rem;
}

.core-account-security-modal__footer {
  border-top: 1px solid #f0f4f7;
  padding: 0.85rem 1.25rem;
  background: #fafafa;
}

.core-account-security-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.core-account-security-result:empty {
  display: none;
}

.core-account-security-result .core-security-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.core-account-security-result .core-security-msg--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.core-account-security-result .core-security-msg--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Arama sonuçları */
.core-search-results-page .modern-empty-state {
  margin: 2rem auto;
  max-width: 420px;
}

.core-search-results-page .core-list-page-header h1 {
  font-weight: 700;
  color: var(--profile-dark, #2c2c2c);
}

/* ============= MAĞAZA VİTRİNİ (seller-showroom) ================ */

.core-store-visit {
  margin-top: 0;
  padding-top: 1rem; /* ~py-3 — sticky header + hit kategori şeridi sonrası sıkı boşluk */
  padding-bottom: 3rem;
  background: #f0f2f5;
  min-height: calc(100vh - 85px);
}

.core-store-visit__shell {
  max-width: 100%;
}

.core-store-visit__hero {
  background: #fff;
  box-shadow: var(--profile-shadow);
  margin-bottom: 1.5rem;
}

.core-store-visit__cover {
  height: 200px;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-secondary) 55%, #5b8def 100%);
  position: relative;
}

@media (min-width: 768px) {
  .core-store-visit__cover {
    height: 240px;
  }
}

.core-store-visit__profile {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}

.core-store-visit__own-banner {
  background: linear-gradient(90deg, rgba(69, 184, 172, 0.16) 0%, rgba(102, 126, 234, 0.1) 100%);
  border-bottom: 1px solid rgba(69, 184, 172, 0.28);
  position: relative;
  z-index: 2;
}

.core-store-visit__own-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.core-store-visit__own-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(69, 184, 172, 0.2);
  color: var(--profile-primary-dark);
  flex-shrink: 0;
}

.core-store-visit__own-banner-icon .bi {
  font-size: 1rem;
}

.core-store-visit__own-banner-text {
  flex: 1 1 12rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--profile-dark);
}

.core-store-visit__own-banner-text strong {
  font-weight: 600;
}

.core-store-visit__own-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--profile-primary-dark);
  background: #fff;
  border: 1px solid rgba(69, 184, 172, 0.35);
  text-decoration: none;
  white-space: nowrap;
}

.core-store-visit__own-link:hover {
  text-decoration: none;
  color: #fff;
  background: var(--profile-primary);
  border-color: var(--profile-primary);
}

@media (max-width: 575.98px) {
  .core-store-visit__own-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .core-store-visit__own-banner-icon {
    margin: 0 auto;
  }

  .core-store-visit__own-link {
    justify-content: center;
    width: 100%;
  }
}

.core-store-visit__profile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem 1.5rem;
  margin-top: -56px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .core-store-visit__profile-row {
    margin-top: -72px;
    flex-wrap: nowrap;
  }
}

.core-store-visit__avatar-wrap {
  flex-shrink: 0;
}

.core-store-visit__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: #fff;
}

@media (min-width: 768px) {
  .core-store-visit__avatar {
    width: 168px;
    height: 168px;
  }
}

.core-store-visit__meta {
  flex: 1;
  min-width: 0;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .core-store-visit__meta {
    padding-top: 2.5rem;
  }
}

.core-store-visit__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .core-store-visit__name {
    font-size: 1.75rem;
  }
}

.core-store-visit__subline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--profile-text);
  margin-bottom: 0.5rem;
}

.core-store-visit__subline .bi {
  margin-right: 0.2rem;
  color: var(--profile-primary);
}

.core-store-visit__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.core-store-visit__rating-num {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--profile-dark);
}

.core-store-visit__stars {
  color: #ffc107;
}

.core-store-visit__rating-count {
  color: var(--profile-text-light);
}

.core-store-visit__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.core-store-visit__stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: var(--profile-light);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--profile-text);
}

.core-store-visit__stat-pill strong {
  margin-right: 0.25rem;
  color: var(--profile-dark);
}

.core-store-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .core-store-visit__actions {
    width: auto;
    margin-left: auto;
    align-self: flex-end;
    padding-bottom: 0.25rem;
  }
}

.core-store-visit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.core-store-visit__btn--primary {
  background: var(--profile-primary);
  color: #fff;
}

.core-store-visit__btn--primary:hover {
  background: var(--profile-primary-dark);
  color: #fff;
}

.core-store-visit__btn--secondary {
  background: #e4e6eb;
  color: var(--profile-dark);
}

.core-store-visit__btn--secondary:hover {
  background: #d8dadf;
}

.core-store-visit__body {
  max-width: 1140px;
  padding-bottom: 2rem;
}

.core-store-visit__section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--profile-dark);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.core-store-visit__section-title .bi {
  color: var(--profile-primary);
}

.core-store-visit__section-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--profile-text-light);
  background: var(--profile-light);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.core-store-visit .modern-products-grid {
  margin-top: 0;
}

.core-store-visit .modern-empty-state {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--profile-shadow);
}

/* ============= İlham köşesi başvuru kartları ================ */

.core-writer-apps-section {
  background: linear-gradient(135deg, rgba(69, 184, 172, 0.06) 0%, rgba(102, 126, 234, 0.04) 100%);
  border-radius: 12px;
  padding: 1.5rem !important;
  margin-top: 0.5rem;
}

.core-writer-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.core-writer-app-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--profile-border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.core-writer-app-card:hover {
  border-color: rgba(69, 184, 172, 0.45);
  box-shadow: var(--profile-shadow);
}

.core-writer-app-card--pending {
  border-color: rgba(255, 193, 7, 0.5);
}

.core-writer-app-card--granted,
.core-writer-app-card--approved {
  border-color: rgba(40, 167, 69, 0.35);
}

.core-writer-app-card--rejected {
  border-color: rgba(220, 53, 69, 0.25);
}

.core-writer-app-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--profile-primary) 0%, var(--profile-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.core-writer-app-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--profile-dark);
}

.core-writer-app-card__desc {
  font-size: 0.85rem;
  color: var(--profile-text);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.core-writer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}

.core-writer-app-badge--granted {
  background: rgba(40, 167, 69, 0.12);
  color: #1e7e34;
}

.core-writer-app-badge--pending {
  background: rgba(255, 193, 7, 0.15);
  color: #856404;
}

.core-writer-app-badge--rejected {
  background: rgba(220, 53, 69, 0.1);
  color: #bd2130;
}

.core-writer-apps-hint {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Kargo sayfası — pasif platform seçeneği (opacity yerine hedefli stil) */
.core-shipping-mode-option--disabled .form-check-input:disabled {
  cursor: not-allowed;
}

.core-shipping-mode-option--disabled .form-check-label > strong {
  color: #5b6470;
  font-weight: 600;
}

.core-shipping-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  vertical-align: middle;
  background: #fff4e0;
  color: #9a5b00;
  border: 1px solid #f0c875;
}

.core-shipping-mode-option--disabled .core-shipping-soon-badge {
  opacity: 1;
}
