.file-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  overflow: hidden;
}
.file-content *{
  width: auto !important;
}
iframe{
  min-width: 100% !important;
  min-height: 80vh !important;
}
table{
  border: 1px solid black;
  padding: 1rem;
  border-collapse: collapse;
}
table th,
table td {
    border: 1px solid black;
    padding: 6px 10px;
}

.file-container2{
  width: 800px !important;
  margin-inline:auto;
  max-width: 100%;
}
/* Sidebar */
.file-sidebar {
    width: 300px;
    max-width: 100%;
    background: var(--nav-color);
    color: white;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-sizing: border-box;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Kapalı hali */
.file-sidebar.closed {
  width: 0;
  padding: 0;
}

/* Content */
.file-content {
  flex: 1;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.file-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}
.gecmis-container{
  display: flex;
  flex-direction: column;
  gap: 1rem;

}
/* Mobil uyum */
@media (max-width: 768px) {
  .file-container {
    flex-direction: column;
    height: auto;
  }

  .file-sidebar {
    width: 100%;
  }

  .file-sidebar.closed {
    width: 0;
    height: 0;
    padding: 0;
  }

  .file-content {
    width: 100%;
  }
}


#toggleBtn {
    padding: 10px 20px;
    border: none;
    background: var(--nay);
    color: white;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

#toggleBtn:hover {
    background: var(--nay-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.gecmis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gecmis:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}