@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #3190C8;
    color: #333;
}

/* --- Fieldset --- */
fieldset {
    margin-bottom: 2%;
    border: 2px solid #1671B6;
    border-radius: 16px;
    padding: 20px;
    background: #3190C8; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

    fieldset:hover {
        transform: scale(1.01);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

legend, .legend {
    text-align: center;
    border-bottom: none;
    color: #FEAC30;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0 10px;
    position: relative;
}

    legend::after {
        content: "";
        display: block;
        height: 3px;
        width: 60px;
        background: #FFAD30;
        margin: 6px auto 0 auto;
        border-radius: 3px;
        animation: underlineSlide 2s infinite alternate;
    }

@keyframes underlineSlide {
    from {
        width: 30px;
    }

    to {
        width: 90px;
    }
}

/* --- Inputlar --- */
input.form-control,
select.form-control,
textarea.form-control {
    border-radius: 10px;
    border: 2px solid #ddd;
    padding: 10px 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fdfdfd;
}

    input.form-control:focus,
    select.form-control:focus,
    textarea.form-control:focus {
        border-color: #1671B6;
        background: #ffffff;
        box-shadow: 0 0 10px rgba(22,113,182,0.25);
        outline: none;
        transform: scale(1.02);
    }

/* Placeholder renklendirme */
input::placeholder, textarea::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Input hover efekti */
input.form-control:hover,
select.form-control:hover,
textarea.form-control:hover {
    border-color: #FFAD30;
}

/* --- Textarea --- */
textarea {
    height: 90px;
    resize: none;
}

/* --- Loading Icon --- */
.LoadingIcon {
    display: none;
    width: 47px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Tablo --- */
.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
}

    .AlseinTable td:nth-child(3n+1) {
        color: #f00;
        width: 12px;
        text-align: center;
        font-weight: bold;
    }

    .AlseinTable td:nth-child(3n+2) {
        padding: 10px;
        border-radius: 8px;
        width: 160px;
        text-align: center;
        font-weight: bold;
        background: #FEAC30;
        color: #fff;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        transition: all 0.3s ease-in-out;
    }

        .AlseinTable td:nth-child(3n+2):hover {
            background: #FFAD30;
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(0,0,0,0.2);
        }

/* --- Buton --- */
.btn-success.btn-x {
    background: linear-gradient(135deg, #1671B6, #0d5790);
    border: none;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    color: #fff !important;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

    .btn-success.btn-x:hover {
        background: linear-gradient(135deg, #FFAD30, #d68400);
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }
