
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap');

:root { 
    --bg: #fffff; 
    --card: #111827; 
    --muted: #94a3b8; 
    --text: black; 
    --brand: #3E8B69; 
    --brand2: #3E8B69; 
    --danger: #ef4444; 
    --orange: #EE6930;
    --white: #ffffff;
    --shadow: 0 6px 18px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.2s ease;
  }
  
  * { 
    box-sizing: border-box; 
  }

  a{
    text-decoration: none;
  }
  
  body { 
    margin: 0;  
    font-family: 'Poppins', sans-serif; 
    color: var(--text); 
    background: var(--bg);
  }
  
  .container { 
    max-width: 920px; 
    margin: 10px auto; 
    padding: 16px; 
  }
  
  .header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 12px; 
    margin-bottom: 1px; 
  }
  
  .brand { 
    font-weight: 700; 
    letter-spacing: 0.3px; 
  }
  
  .card { 
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); 
    border: 1px solid rgba(255,255,255,0.08); 
    border-radius: 16px; 
    padding: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); 
  }
  
  .row { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
  }
  
  .col { 
    flex: 1 1 300px; 
  }
  
  .input { 
    width: 100%; 
    background: var(--white); 
    border: 1px solid rgba(255,255,255,0.12); 
    border-color: var(--brand2); 
    box-shadow: 0 0 0 4px rgba(6,182,212,0.15); 
    color: var(--text); 
    padding: 12px 14px; 
    border-radius: var(--border-radius); 
    outline: none; 
    transition: var(--transition); 
  }
  
  .input:focus { 
    border-color: var(--brand2); 
    box-shadow: 0 0 0 4px rgba(6,182,212,0.15); 
  }
  
  .label { 
    display: block; 
    margin: 8px 0 6px; 
    color: var(--muted); 
    font-size: 14px; 
  }
  
  .btn { 
    appearance: none; 
    border: 0; 
    padding: 12px 16px; 
    border-radius: var(--border-radius); 
    cursor: pointer; 
    color: var(--white); 
    background: linear-gradient(180deg, var(--brand), var(--brand)); 
    font-weight: 600; 
    box-shadow: var(--shadow) rgba(62,139,105,0.35); 
    transition: transform 0.06s ease; 
  }
  
  .btn:active { 
    transform: translateY(1px); 
  }
  
  .btn.secondary { 
    background: linear-gradient(180deg, var(--orange), var(--orange)); 
    color: white; 
    box-shadow: var(--shadow) rgba(238,105,48,0.35); 
  }
  
  .btn.ghost { 
    background: transparent; 
    color: var(--text); 
    border: 1px solid rgba(255,255,255,0.15); 
    box-shadow: none; 
  }
  
  .btn.danger { 
    background: linear-gradient(180deg, #ef4444, #dc2626); 
    color: var(--white); 
    box-shadow: var(--shadow) rgba(239,68,68,0.35); 
  }
  
  .helper { 
    color: var(--muted); 
    font-size: 13px; 
    margin-top: 6px; 
  }
  
  .section-title { 
    font-size: 16px; 
    font-weight: 600; 
    margin: 0 0 10px; 
    color: #111827; 
  }
  
  .badge { 
    display: inline-block; 
    padding: 4px 8px; 
    border-radius: 999px; 
    background: rgba(238,105,48,0.12); 
    color: var(--orange); 
    font-size: 12px; 
    border: 1px solid rgba(238,105,48,0.25); 
  }
  
  .result { 
    margin-top: 12px; 
  }
  
  .item { 
    border: 1px solid #3E8B69; 
    border-radius: var(--border-radius); 
    padding: 12px; 
    margin: 10px 0; 
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); 
  }
  
  .item-head { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 8px; 
    cursor: pointer; 
  }
  
  .item-title { 
    font-weight: 700; 
    font-size: 16px;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .parcel-code {
    background: var(--brand);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .item-sub { 
    color: var(--muted); 
    font-size: 13px; 
  }
  
  .item-body { 
    display: none; 
    padding-top: 10px; 
    border-top: 1px dashed rgba(255,255,255,0.1); 
    margin-top: 10px; 
  }
  
  .kv { 
    display: grid; 
    grid-template-columns: 160px 1fr; 
    gap: 8px 12px; 
  }
  
  .linkbar { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
    margin-top: 10px; 
  }
  
  .notice { 
    background: #f8d7da; 
    border: 1px dashed rgba(148,163,184,0.35); 
    padding: 10px; 
    border-radius: 10px; 
    color: #842029; 
    font-size: 14px; 
  }
  
  .tabs { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 12px; 
  }
  
  .tab { 
    padding: 10px 14px; 
    border-radius: 10px; 
    border: 1px solid rgba(255,255,255,0.1); 
    color: var(--text); 
    cursor: pointer; 
    transition: var(--transition);
  }
  
  .tab.active { 
    background: rgba(238,105,48,0.12); 
    border-color: rgba(238,105,48,0.35); 
    color: var(--orange); 
  }
  
  .hidden { 
    display: none; 
  }
  
  .small { 
    font-size: 12px; 
    color: var(--muted); 
  }
  
  /* Mobile Responsive */
  @media (max-width: 640px) { 
    .container { 
      margin: 12px auto; 
      padding: 12px; 
    }
    
    .header { 
      flex-direction: column; 
      align-items: flex-start; 
      gap: 8px; 
    }
    
    .brand { 
      font-size: 18px; 
    }
    
    .card { 
      padding: 12px; 
      border-radius: var(--border-radius); 
    }
    
    .row { 
      gap: 12px; 
    }
    
    .col { 
      flex: 1 1 100%; 
    }
    
    .input { 
      padding: 14px 16px; 
      font-size: 16px; 
      border-radius: 10px; 
    }
    
    .label { 
      font-size: 15px; 
      margin: 10px 0 8px; 
    }
    
    .btn { 
      padding: 16px 20px; 
      font-size: 16px; 
      min-height: 48px; 
      border-radius: 10px; 
      flex: 1; 
    }
    
    .btn.ghost { 
      padding: 16px 20px; 
      font-size: 16px; 
      min-height: 48px; 
      border-radius: 10px; 
      flex: 1; 
    }
    
    .kv { 
      grid-template-columns: 1fr; 
      gap: 6px 0; 
    }
    
    .kv > div:first-child { 
      font-weight: 600; 
      color: var(--muted); 
      font-size: 13px; 
      margin-bottom: 4px; 
    }
    
    .tabs { 
      gap: 6px; 
      margin-bottom: 16px; 
    }
    
    .tab { 
      padding: 12px 16px; 
      font-size: 14px; 
      border-radius: var(--border-radius-sm); 
      flex: 1; 
      text-align: center; 
    }
    
    .item { 
      padding: 10px; 
      margin: 8px 0; 
      border-radius: 10px; 
    }
    
    .item-head { 
      flex-direction: column; 
      align-items: flex-start; 
      gap: 6px; 
    }
    
    .item-title { 
      font-size: 16px; 
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }
    
    .parcel-code {
      font-size: 11px;
      padding: 3px 6px;
    }
    
    .item-sub { 
      font-size: 12px; 
    }
    
    .badge { 
      font-size: 11px; 
      padding: 3px 6px; 
    }
    
    .section-title { 
      font-size: 15px; 
      margin: 0 0 8px; 
    }
    
    .notice { 
      font-size: 13px; 
      padding: 8px; 
      border-radius: var(--border-radius-sm); 
    }
    
    .helper { 
      font-size: 12px; 
    }
    
    .small { 
      font-size: 11px; 
    }
    
    .linkbar { 
      gap: 6px; 
      margin-top: 8px; 
    }
    
    .linkbar .btn { 
      padding: 12px 16px; 
      font-size: 14px; 
      min-height: 44px; 
    }
  }
  
  @media (max-width: 480px) {
    .container { 
      margin: 2px auto; 
      padding: 15px; 
    }
    
    .card { 
      padding: 10px; 
    }
    
    .btn { 
      padding: 14px 16px; 
      font-size: 15px; 
      min-height: 44px; 
    }
    
    .btn.ghost { 
      padding: 14px 16px; 
      font-size: 15px; 
      min-height: 44px; 
    }
    
    .input { 
      padding: 12px 14px; 
      font-size: 15px; 
    }
    
    .tab { 
      padding: 10px 12px; 
      font-size: 13px; 
    }
  }

/* WhatsApp İletişim Bölümü Stilleri */
.whatsapp-section {
  margin-top: 24px;
}

.whatsapp-card {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 16px;
  padding: 20px;
  color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.whatsapp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  fill: white;
}

.whatsapp-text h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}

.whatsapp-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.whatsapp-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.whatsapp-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.whatsapp-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.phone-info {
  text-align: right;
}

.phone-number {
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

/* WhatsApp Responsive Stilleri */
@media (max-width: 640px) {
  .whatsapp-section {
    margin-top: 20px;
  }
  
  .whatsapp-card {
    padding: 16px;
    border-radius: 12px;
  }
  
  .whatsapp-header {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .whatsapp-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .whatsapp-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .whatsapp-text h3 {
    font-size: 16px;
  }
  
  .whatsapp-text p {
    font-size: 13px;
  }
  
  .whatsapp-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .whatsapp-btn {
    padding: 14px 18px;
    font-size: 15px;
    justify-content: center;
    border-radius: 8px;
  }
  
  .whatsapp-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .phone-info {
    text-align: center;
  }
  
  .phone-number {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .whatsapp-card {
    padding: 14px;
    border-radius: 10px;
  }
  
  .whatsapp-header {
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .whatsapp-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  
  .whatsapp-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .whatsapp-text h3 {
    font-size: 15px;
  }
  
  .whatsapp-text p {
    font-size: 12px;
  }
  
  .whatsapp-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .whatsapp-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .phone-number {
    font-size: 14px;
  }
}
