body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    margin-top: auto;
} 

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}

.menu-button {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
    padding: 20px;
}

.menu-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.menu-button svg {
    width: 40%;
    height: auto;
    margin-bottom: 15px;
    fill: #4CAF50;
    transition: fill 0.3s;
}

.menu-button:hover svg {
    fill: #388E3C;
}

.menu-button span {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    text-align: center;
    color: #4CAF50;
    transition: color 0.3s;
}

.menu-button:hover span {
    color: #388E3C;
}

/* Tablet için medya sorgusu */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        gap: 15px;
    }

    .menu-button {
        min-width: 220px;
        max-width: 280px;
    }
}

/* Mobil için medya sorgusu */
@media (max-width: 480px) {
    .container {
        padding: 10px;
        gap: 10px;
    }

    .menu-button {
        min-width: 160px;
        max-width: 100%;
        aspect-ratio: 1;
    }

    .menu-button svg {
        width: 35%;
    }

    .menu-button span {
        font-size: 14px;
    }
}

      .top-bar {
          background-color: #0d6efd;
          padding: 10px 0;
          color: white;
      }

      .content-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 20px;
      }

      .search-section {
          display: flex;
          gap: 10px;
          margin-bottom: 20px;
      }

      .search-input {
          flex-grow: 1;
          position: relative;
      }

      .search-input input {
          padding-left: 35px;
      }

      .search-input .search-icon {
          position: absolute;
          left: 10px;
          top: 50%;
          transform: translateY(-50%);
          color: #666;
      }

      .questions-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .questions-table th {
        padding: 12px;
        border-bottom: 2px solid #dee2e6;
    }

    .questions-table td {
        padding: 12px;
        border-bottom: 1px solid #dee2e6;
    }
    
    .badge-box {
        background-color: #e3f2fd;
        color: #0d6efd;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    .badge-kategori {
        background-color: #e3f2fd;
        color: #0d6efd;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    .badge-zorluk {
        background-color: #fff0f3;
        color: #d63384;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    .action-buttons {
        display: flex;
        gap: 5px;
    }

    .btn-edit,
    .btn-delete {
        padding: 4px 8px;
        border-radius: 4px;
    }

    .questions-table th:first-child,
    .questions-table td:first-child {
        width: 60%;
    }

    .questions-table th:nth-child(2),
    .questions-table td:nth-child(2),
    .questions-table th:nth-child(3),
    .questions-table td:nth-child(3) {
        width: 12%;
        white-space: nowrap;
    }

    .questions-table th:nth-child(4),
    .questions-table td:nth-child(4) {
        width: 8%;
        text-align: center;
    }

    .questions-table th:last-child,
    .questions-table td:last-child {
        width: 8%;
        text-align: center;
    }

    .expand-btn {
        background: none;
        border: none;
        color: #0d6efd;
        cursor: pointer;
        padding: 5px;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .expand-btn:hover {
        color: #0a58ca;
    }

    .answers-box {
        display: none;
        gap: 20px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        margin-top: 10px;
        padding: 15px;
        width: 100%;
    }

    .answers-box-inner {
        width: 70%;
    }

    .answer-info {
        width: 30%;
        display: flex;
        align-items: flex-start;
        padding-left: 20px;
        border-left: 1px solid #dee2e6;
    }

    .correct-answer-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .info-label {
        font-size: 0.875rem;
        color: #6c757d;
    }

    .info-value {
        font-size: 1.25rem;
        font-weight: bold;
        color: #198754;
    }

    .soru-container {
        width: 100%;
    }

    .badge-kategori,
    .badge-zorluk {
        display: inline-block;
        min-width: 100px;
        text-align: center;
    }

    .search-section {
        margin-bottom: 20px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .mui-textfield {
        position: relative;
        width: 100%;
    }

    .mui-textfield input {
        width: 100%;
        padding: 16.5px 14px 16.5px 40px;
        border: none;
        outline: none;
        font-size: 1rem;
        font-family: inherit;
    }

    .mui-textfield fieldset {
        position: absolute;
        inset: -5px 0 0 0;
        margin: 0;
        padding: 0 8px;
        pointer-events: none;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.23);
    }

    .mui-textfield:hover fieldset {
        border-color: rgba(0, 0, 0, 0.87);
    }

    .mui-textfield input:focus+fieldset {
        border: 2px solid #1976d2;
    }

    .mui-textfield legend {
        float: unset;
        width: auto;
        overflow: hidden;
        display: block;
        padding: 0;
        height: 11px;
        font-size: 0.75em;
        visibility: hidden;
        max-width: 0.01px;
        transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;
        white-space: nowrap;
    }

    
    .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        fill: rgba(0, 0, 0, 0.54);
        z-index: 1;
    }

    .mui-select {
        position: relative;
        min-width: 200px;
    }

    .mui-select select {
        width: 100%;
        padding: 16.5px 14px;
        border: none;
        outline: none;
        font-size: 1rem;
        font-family: inherit;
        appearance: none;
        background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.54)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center;
    }

    .mui-select fieldset {
        position: absolute;
        inset: -5px 0 0 0;
        margin: 0;
        padding: 0 8px;
        pointer-events: none;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.23);
    }

    .mui-select:hover fieldset {
        border-color: rgba(0, 0, 0, 0.87);
    }

    .mui-select select:focus+fieldset {
        border: 2px solid #1976d2;
    }

    .mui-select legend {
        float: unset;
        width: auto;
        overflow: hidden;
        display: block;
        padding: 0 5px;
        height: 11px;
        font-size: 0.75em;
        visibility: visible;
        max-width: 100%;
        transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;
        white-space: nowrap;
    }

    .mui-form-control {
        position: relative;
        min-width: 200px;
        margin: 0 8px;
    }

    .mui-input-label {
        position: absolute;
        top: -6px;
        left: 10px;
        background: white;
        padding: 0 5px;
        font-size: 0.75rem;
        color: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

    .mui-select-wrapper {
        position: relative;
    }

    .mui-select {
        width: 100%;
        padding: 16.5px 14px;
        appearance: none;
        border: none;
        outline: none;
        font-size: 1rem;
        font-family: inherit;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .mui-select-bottom {
        width: 100%;
        padding: 5px 15px;
        appearance: none;
        border: none;
        outline: none;
        font-size: 1rem;
        font-family: inherit;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .mui-select-icon {
        position: absolute;
        right: 7px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        width: 24px;
        height: 24px;
        fill: rgba(0, 0, 0, 0.54);
    }

    
    .mui-outlined-border {
        position: absolute;
        inset: -5px 0 0 0;
        margin: 0;
        padding: 0 8px;
        pointer-events: none;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.23);
        transition: border-color 0.2s ease;
    }

    .mui-select-wrapper:hover .mui-outlined-border {
        border-color: rgba(0, 0, 0, 0.87);
    }

    .mui-select:focus+.mui-select-icon+.mui-outlined-border {
        border: 2px solid #1976d2;
    }

    .mui-outlined-border legend {
        float: unset;
        width: auto;
        overflow: hidden;
        display: none;
        padding: 0 5px;
        height: 11px;
        font-size: 0.75em;
        max-width: 100%;
        white-space: nowrap;
        color: rgba(0, 0, 0, 0.6);
    }

    .mui-select-value {
        display: block;
        padding: 0;
        min-height: 1.4375em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mui-native-input {
        cursor: pointer;
        min-width: 16px;
        background: none;
        box-sizing: content-box;
        padding: 0;
        margin: 0;
        border: 0;
        -webkit-tap-highlight-color: transparent;
    }

    /* Form içindeki elementlerin varsayılan stillerini sıfırla */
    form[style*="display: contents;"] {
        margin: 0;
        padding: 0;
    }

    .pagination-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 16px;
        
    }

    .pagination-info {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .page-info {
        color: rgba(0, 0, 0, 0.87);
    }

    .pagination-controls {
        display: flex;
        gap: 8px;
    }

    .pagination-btn {
        border: none;
        background: none;
        padding: 8px;
        cursor: pointer;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pagination-btn:disabled {
        opacity: 0.3;
        cursor: default;
    }

    .pagination-btn svg {
        fill: currentColor;
    }

    .pagination-btn:hover:not(:disabled) {
        background-color: rgba(0, 0, 0, 0.04);
    }

    