@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #ffffff; 
    color: #2d3436;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

fieldset {
    width: 100%;
    max-width: 800px;
    margin-bottom: 25px;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    padding: 25px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

    fieldset:hover {
        box-shadow: 0 15px 35px rgba(57, 193, 241, 0.15);
        transform: translateY(-3px);
    }

legend, .legend {
    text-align: center;
    border-bottom: 3px solid #39C1F1; 
    color: #333;
    font-weight: 700;
    padding: 0 20px;
    border-radius: 5px;
    text-transform: uppercase;
}

textarea {
    width: 100%;
    height: 80px;
    resize: none;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    padding: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

    textarea:focus {
        border-color: #39C1F1;
        box-shadow: 0 0 10px rgba(57, 193, 241, 0.2);
    }

.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
}

    .AlseinTable td:nth-child(3n+2) {
        padding: 12px;
        color: #ffffff;
        border-radius: 12px;
        width: 150px;
        text-align: center;
        font-weight: 600;
        background-color: #39C1F1; 
        box-shadow: 0 4px 6px rgba(57, 193, 241, 0.2);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

        .AlseinTable td:nth-child(3n+2):hover {
            background-color: #29abe2; 
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(57, 193, 241, 0.4);
        }

    .AlseinTable td:nth-child(3n+1) {
        color: #39C1F1; 
        font-weight: bold;
        font-size: 1.1em;
        width: 30px;
        text-align: center;
    }

input[type=radio]:checked, input[type=checkbox]:checked {
    accent-color: #39C1F1;
}

.LoadingIcon {
    display: none;
    width: 47px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}





@media (max-width: 768px) {
    body {
        padding: 10px; 
    }

    fieldset {
        padding: 15px; 
        width: 100%;
    }

    .AlseinTable,
    .AlseinTable tbody,
    .AlseinTable tr,
    .AlseinTable td {
        display: block; 
        width: 100% !important; 
        text-align: left !important;
    }

        .AlseinTable td {
            border: none;
            padding: 5px 0;
            box-shadow: none !important;
            transform: none !important; 
        }

            /* Yıldız (*) işaretinin olduğu ilk sütun */
            .AlseinTable td:nth-child(3n+1) {
                display: inline; /* Yıldızı etiketin yanında tut */
                padding-right: 5px;
            }

            .AlseinTable td:nth-child(3n+2) {
                background: transparent; 
                color: #333; 
                font-weight: 700;
                margin-top: 10px;
                padding-bottom: 0;
            }

    .input-group, .form-control {
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 1.1em;
    }
}