* { box-sizing: border-box; }
/* Google Fonts: Inter */
body, 
.qr-profile-container, 
.qr-profile-container input, 
.qr-profile-container textarea, 
.qr-profile-container button {
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}
.qr-btn, .qr-add-btn, .qr-btn-outline {
  font-weight: 500; /* normalden biraz kalın */
  letter-spacing: 0.2px;
}


/* Genel Container */
.qr-profile-container {
  max-width: 800px;
  margin: 70px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Üst Profil Header */
.qr-profile-header {
  text-align: center;
  padding: 40px 20px 30px;
  background: linear-gradient(135deg, #00bd62, #00964f);
  color: #fff;
}

.qr-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 15px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.qr-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.qr-username {
  font-size: 15px;
  opacity: 0.9;
}

/* Tab Menüleri */
.qr-tabs {
  display: flex;
  /*  justify-content: center;     3 eleman sığarsa ortalı */
  gap: 15px;
  margin: 20px 0;
  list-style: none;
  border-bottom: 1px solid #eee;

  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;

  overflow-x: auto;            /* sığmazsa scroll olur */
  -webkit-overflow-scrolling: touch;
}

.qr-tabs li {
  flex: 0 0 auto;              /* scroll için elemanlar küçülmesin */
}

.qr-tabs.sticky-shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
  .qr-tabs {
    justify-content: flex-start;   /* önce ortala */
    overflow-x: auto;          /* ama gerekirse scroll */
    padding-left: 10px;
    padding-right: 10px;
  }
}
.qr-tabs::-webkit-scrollbar {
  display: none;
}
.qr-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


.qr-tabs li {
  cursor: pointer;
  padding: 10px 20px;
  font-weight: 500;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}


.qr-tabs li:hover {
  color: #00bd62;
}

.qr-tabs li.active {
  border-bottom: 3px solid #00bd62;
  color: #00bd62;
}

/* Tab İçerik */
.qr-tab-content {
  display: none;
  padding: 20px 30px 30px;
}

.qr-tab-content.active {
  display: block;
}

/* Profil Info */
.qr-profile-info p {
  margin: 10px 0;
  font-size: 15px;
  color: #333;
}

/* Formlar */
.qr-profile-edit-form {
  margin-top: 25px;
}

.qr-profile-edit-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.qr-profile-edit-form input,
.qr-profile-edit-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  transition: all 0.2s;
}

.qr-profile-edit-form input:focus,
.qr-profile-edit-form textarea:focus {
  border-color: #00bd62;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,189,98,0.15);
}

.qr-btn, .qr-add-btn {
  background: #00bd62;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.qr-btn:hover, .qr-add-btn:hover {
  background: #00964f;
  transform: translateY(-1px);
}

.qr-btn:active, .qr-add-btn:active {
  transform: translateY(0);
}

/* Liste Görünümleri */
.qr-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.qr-list li {
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 10px;
  user-select: none;
  transition: all 0.2s ease;
}

.qr-list li:hover {
  background: #f9f9f9;
  border-color: #00bd62;
}


.qr-profile-edit-form input[type="file"] {
  padding: 6px;
  border: none;
}




/* işletme list */
.qr-business-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.qr-business-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qr-business-thumb img,
.qr-no-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #9ca3af;
}

.qr-business-info {
  flex: 1;
}

.qr-business-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.qr-business-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.qr-business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  cursor: pointer;
  text-decoration: none;
  color: #374151;
  transition: background 0.2s, transform 0.1s;
}
.qr-action-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.qr-action-btn .dashicons {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 640px) {
  .qr-business-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .qr-business-actions {
    margin-top: 8px;
  }
}



/* Ürün listesi */
.qr-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.qr-product-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qr-product-thumb img,
.qr-product-item .qr-no-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #9ca3af;
}

.qr-product-info {
  flex: 1;
}

.qr-product-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.qr-product-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 6px;
}

.qr-product-price {
  font-size: 14px;
  font-weight: 600;
  color: #00bd62;
}

.qr-product-actions {
  display: flex;
  gap: 8px;
}

.qr-product-actions .qr-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  cursor: pointer;
  text-decoration: none;
  color: #374151;
  transition: background 0.2s, transform 0.1s;
}

.qr-product-actions .qr-action-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.qr-product-actions .dashicons {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 640px) {
  .qr-product-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .qr-product-actions {
    margin-top: 8px;
  }
}



.qr-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  appearance: none;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
}

.qr-select:focus {
  border-color: #00bd62;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,189,98,0.15);
}



a.btn-quit {
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 8px;
    text-decoration: none;
    transition: all 300ms
}

a.btn-quit:hover {
    background: #fff;
    color: #222;
}

.business-form input[type="radio"] {
    width: auto;
}