* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
  padding-left: 80px;
  padding-right: 80px;
  gap: 10px;
}
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  gap: 32px;
}

.header-left .logo img {
  height: 36px;
  gap: 10px;
}

.header-center {
  flex: 1;
  text-align: center;
}

.search-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  width: 50%;
  background-color: #fff;
  gap: 16px;
  max-height: 48px;
}

.search-container input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  padding: 5px;
  background: transparent;
}

.search-icon {
  margin-right: 10px;
}

.header-right .language-switch select {
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  height: 30px;
  width: 100px;
  gap: 8px;
}

.header-right .language-switch select option {
  padding-left: 10px;
}

.hamburger {
  display: none; 
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 225px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: 0.4s;
}


.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #00c27b;
}

.logo img {
  height: 30px;
  margin-right: 0.5rem;
}
.container {
  display: flex;
  min-height: 100vh;
  padding-bottom: 16px;
  gap: 32px;
}

.sidebar {
 min-width: 250px;
 max-width: 250px;
  height: 668px;
  background-color: #fff;
  border-right: 1px solid #eee;
  padding: 20px;
  transition: transform 0.3s ease;
  gap: 32px;
}


.menu-group {
  margin-bottom: 20px;
}

.menu-group h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #09090B;
  margin-bottom: 15px;
  line-height: 18px;
}

.menu-group ul {
  margin-left: 20px;
}

.menu-group ul li {
  list-style-type: none;
  margin-bottom: 10px;
  gap: 12px;
}


.menu-group ul li a {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #71717A;
  transition: color 0.1s ease;
  gap: 16px;
  line-height: 21px;
}

.menu-group ul li a:hover {
  color: #22B789;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
}

.menu-group ul li a arrow:hover {
  color: #22B789;
  font-weight: bold;
  font-size: 15px;
  border: 1.25px;
}

.menu-group ul li:hover {
  color: #22B789;
  list-style-type: inherit;
}

.menu-group ul li.active {
  color: #22B789;
  font-weight: 600;
}

.arrow {
  margin-left: 10px;
  color: #aaa;
  font-size: 14px;
}

.menu-group ul li a:hover .arrow {
  color: #00c27b;
}

.content {
  flex: 1;
  padding: 24px 32px 24px 32px;
  background-color: #FFFFFF;
  border: 1px;
  border-color: #F4F4F5;
  border-radius: 12px;
  gap: 24px;
}

.content-header {
  margin-bottom: 1.5rem;
}

.content-header h1 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.content-header .description {
  color: #52525B;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;

}

/* Uyarı Kutusu */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  line-height: 1.4;
}

.alert-warning {
  background-color: #fef2f2;
  color: #ef4444;
}

section h2 {
  color: #00636d;
  font-size: 24px;
  line-height: 36px;
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
}

/* Sub Head */
.sub-head {
  font-size: 18px;
  line-height: 27px;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.code-block {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  overflow-x: auto;
}

.cde-code-container {
  position: relative; 
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 10px;
}


pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 10px;
}

.cde-copy-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #444;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cde-copy-btn:hover {
  background-color: #666;
}


.cde-copy-tooltip {
  display: none;       
  position: absolute;
  top: 20px;
  right: 90px;           
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  pointer-events: none;
  white-space: nowrap;
  z-index: 999;
}


.cde-copy-tooltip.show {
  display: block;
}


@media (max-width: 992px) {
  
  .search-container {
    width: 60%;
  }
}

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

 
  .header-left {
  
  }

 
  .header-center {
    display: none; 
    
  }

 
  .header-right {
    flex: 1;
    justify-content: flex-end;
  }

  
  .sidebar {
    position: fixed;
    left: 0;
    top: 60px; 
    height: calc(100% - 60px);
    transform: translateX(-100%);
    z-index: 999;
    width: 250px;
  }


  .content {
    flex: 1;
    margin-left: 0; 
  }

 
  .sidebar.show {
    transform: translateX(0);
  }
}

/*tablo test ortamı*/
.tbls-container {
  max-width: 900px;
  margin: 20px auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tbls-header {
  text-align: center;
  margin-bottom: 40px;
}

.tbls-header img {
  max-width: 150px;
}

.tbls-header h1 {
  font-size: 1.8em;
  color: #333;
  margin: 15px;
}
.tbls-header p {
  color: #333;
  margin: 15px;
  text-align: left;
}
.tbls-section {
  margin-bottom: 20px;
}

.tbls-section h2 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 2px solid #00aa66;
  display: inline-block;
  padding-bottom: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th {
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
  background: #00aa66;
  color: white;
}

table td {
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
  background: #e8f5e9;
}

a {
  color: #00aa66;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}/* 🎯 HAMBURGER MENÜ */
.hamburger {
  display: none;  /* Büyük ekranda gizli olacak */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* 🎯 SIDEBAR (YAN MENÜ) BÜYÜK EKRANDA GÖRÜNÜR */
.sidebar {
  left: 0; /* Menü büyük ekranda hep açık */
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  border-right: 1px solid #ddd;
  padding: 20px;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

/* 🎯 MOBİL EKRANDA SIDEBAR GİZLİ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;  /* Küçük ekranda hamburger görünsün */
  }

  .sidebar {
    left: -260px;  /* Küçük ekranda sidebar gizli */
  }

  .sidebar.show {
    left: 0;  /* Açıldığında sağdan kayarak gelsin */
  }
}


@media (max-width: 768px) {
  .tbls-container {
      padding: 10px;
      overflow-x: auto; 
      width: 100%; 
  }
  .cde-code-container {
    padding: 10px;
    overflow-x: auto; 
    width: 300px;
}
  table th, table td {
      font-size: 14px;
      padding: 8px;
  }

  .tbls-header h1 {
      font-size: 1.5em;
  }
  .tbls-section{
    width: 300px;
  }
  .tbls-section h2 {
      font-size: 1.2em;
  }
}