﻿body { background-color: #eee; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.result-card { border-top: 5px solid #27ae60; }
.input-group-text { width: 45px; justify-content: center; background-color: #e9ecef; }
.form-label { font-size: 0.9rem; font-weight: 500; color: #555; margin-bottom: 0.3rem; }
.split-box { background-color: #fff3cd; border: 1px solid #ffeeba; }
/* CSS Kodları */
.ios-btn-primary {
    background-color: #007AFF; /* Apple Sistem Mavisi */
    color: white;
    border: none;
    padding: 14px 24px; /* Mobilde parmak için geniş alan */
    font-size: 17px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-radius: 50px; /* Tam yuvarlak (Hap Şekli) */
    width: 100%; /* Mobilde tam genişlik */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3); /* Hafif mavi gölge */
    transition: all 0.2s ease; /* Yumuşak geçiş */
    /* Mobilde yazı seçilmesin diye */
    user-select: none; 
    -webkit-user-select: none;
  }
  
  /* Tıklanma Efekti (Dokunma Hissi) */
  .ios-btn-primary:active {
    transform: scale(0.96); /* Hafifçe küçülerek basılma hissi verir */
    opacity: 0.8;
  }
  /* Anahtarı sarmalayan alan */
.toggle-container {
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee; /* İnce ayraç çizgi */
  }
  
  .toggle-label {
    font-size: 14px;
    color: #333;
    display: flex;
  }
  
  /* Switch Gövdesi */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
  }
  
  /* Varsayılan çirkin checkbox'ı gizle */
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* Kaydıraç (Slider) Tasarımı */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9e9ea; /* Pasif Gri */
    transition: .4s;
    border-radius: 34px;
  }
  
  /* Yuvarlak Topuz */
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  /* Aktif Olduğunda (Checked) */
  input:checked + .slider {
    background-color: #34C759; /* Apple Yeşili */
  }
  
  input:checked + .slider:before {
    transform: translateX(20px); /* Topuzu sağa kaydır */
  }
 .ios-card {
    background: #fff;
    border-radius: 16px!important; /* İdeal köşe yuvarlaklığı */
    padding:0;
    margin-bottom: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); /* Çok hafif, zarif gölge */
    border: 1px solid rgba(0,0,0,0.03);
}
.card-header-custom { 
   background-color:#27ae60;
   color: white; 
   border-radius: 16px 16px 0px 0px!important  ;
   padding: 0px 20px;
   margin-bottom: 0px;
   font-weight: 700;
   font-size: 18px;
}
.sidebar { 
  width: 260px; 
  height: 100vh; 
  position: fixed; 
  top: 0; 
  left: 0; 
  background: #1e293b;
  color: #94a3b8; 
  z-index: 1000; 
  display: flex; 
  flex-direction: column; 
}
.nav-link { 
  color: #94a3b8; 
  padding: 12px 20px; 
  border-radius: 0; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.nav-link:hover { 
  background-color: #3b82f6;
  color: white; 
}
.nav-link.active { 
  background-color: #0d6efd; 
  color: white; 
  border-right: 4px solid #fff; 
}
.main-content { 
    margin-left: 260px; 
    padding: 30px;
  }
.tab-pane {
  display: none; 
}
.tab-pane.active { 
  display: block; 
  animation: fadeIn 0.3s; 
}
@keyframes fadeIn { 
  from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } 
}