body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: sans-serif;
    background: #1d1e22;
    color: #9598a7;
    margin: 0;
    padding-top: 5em;
    --fontSize: 14px;
}

@media (max-width: 600px) {
    body { --fontSize: 10px; }
}

.buttons {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    margin-bottom: 2em;
}

.button {
    font-size: var(--fontSize);
    position: relative;
    z-index: 1;
    margin: 0 calc(var(--fontSize) * .25);
    background: transparent;
    display: inline-block;
    border-radius: 20px;
    color: inherit;
    border: 1px solid #2a2d32;
    padding: calc(var(--fontSize) * .8) calc(var(--fontSize) * 1.6);
    cursor: pointer;
    transition: all .2s ease-out;
}

.button:before {
    content: '';
    position: absolute;
    height: 100%;
    left: calc(var(--fontSize) * .7);
    top: 0;
    width: 1px;
    background: #6a6d72;
    transform: scaleY(0);
    transition: transform .2s ease-in-out;
}

.button:hover {
    border: 1px solid #3a3d42;
}

.button.active {
    background: #3a3d42;
    border: 1px solid #6a6d72;
    color: #fff;
}

/* MIKNATIS BİRLEŞME */
.button.active + .button.active {
    border-radius: 0 20px 20px 0;
    margin-left: calc(var(--fontSize) * -2);
    padding-left: 1.6em;
    border-left: none;
}

.button.active + .button.active:before {
    transform: scaleY(1);
}

/* TABLO */
.table-container { 
  width: 90%;
   max-width: 1000px; 
   display: none; /* Başlangıçta gizli */
    opacity: 0;    /* Animasyon için şeffaf */
    transition: opacity 0.4s ease-in-out; /* Yumuşak açılış efekti */
}
.table-container.active {
    display: block; /* Veya flex, senin tasarımına göre */
    opacity: 1;
}
table { width: 100%; border-collapse: collapse; background: #25262b; border-radius: 12px; overflow: hidden; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #1d1e22; }
th { background: #2a2d32; color: #fff; font-size: 13px; text-transform: uppercase; }
.status { background: #4a4d52; padding: 4px 10px; border-radius: 10px; font-size: 11px; color: #fff; }

/* From Uiverse.io by vinodjangid07 */ 
.button1 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1d1e22;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 2px rgba(237, 237, 238, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  top: 4em;
  left: 5em;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button1:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: white;
  align-items: center;
}

.button1:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.button1::before {
  position: absolute;
  bottom: -20px;
  content: "Veri Gir";
  color: black;
  /* transition-duration: .3s; */
  font-size: 0px;
}

.button1:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #1d1e22;
    color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-content input, .modal-content select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #444;
    background: #2a2b2f;
    color: white;
}

.save-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}
