body {
    font-size: x-small;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 1px;
    padding: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /*min-width: 100;*/
}

.container {
    background-color: #fff;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    /* Set a max width for large screens */
    box-sizing: border-box;
}

.center {
    text-align: center;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Make the logo and heading stack on smaller screens */
}

.header-logo {
    width: 50px;
    height: 50px;
}

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

.form-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow form fields to stack on small screens */
    gap: 10px;
    margin-bottom: 10px;
}

.form-field {
    
    font-size: small;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.label {
    display: flex;
    align-items: center;
    margin: 5px 0;
        font-weight: bold;

}

.onay-field {
    padding: 10px;
    margin: 10px 0px 0px 0px;
    border: 2px solid green;
    border-radius: 5px;
}




.contract-text {
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
}

.text-collapsed {
    max-height: 100px; /* Daraltılmış yükseklik */
    overflow: hidden;
}

.text-expanded {
    max-height: 1000px; /* Genişletilmiş yükseklik */
}

.toggle-text-link {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
    /*margin-top: 5px;*/
}





.contract-text div {
    margin: 5px 0;
}

.contract-text h3{
     margin:  4px 0;
}
.data-table {
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

/* Small screens (mobiles, 480px or smaller) */
@media screen and (min-width: 10px) {
    .contract-text div {
        font-size: 4px;
    }
     .data-table table {
        font-size: xx-small;
    }

    .submit-button {
        font-size: xx-small;
        padding: 8px 12px;
    }
    .contract-text h3 {
        font-size: 0.5rem;
    }
    .contract-text span {
        font-size: 0.4rem;
    }
}

/* Large screens (larger than 1000px) */
@media screen and (min-width: 1000px) {
    
    .contract-text div {
        font-size: 10px;
    }
    .contract-text h3 {
        font-size: 0.8rem;
    }
    .contract-text span {
        font-size: 0.7rem;
    }
}

.data-table table th,
.data-table table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.data-table table th {
    background-color: #f2f2f2;
}

.submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: small;
    border-radius: 5px;
}

.submit-button:disabled {
    background-color: #cccccc;
}

button {
    font-size: x-small;
    border-radius: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 8px;
    text-align: center;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}