@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(103,158,41,0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(103,158,41,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(103,158,41,0);
    }
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(-45deg,#eef5e9,#dcead5,#f9fdf7,#e8f0e3);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #2c3e50;
    padding: 40px 20px;
    min-height: 100vh;
}

fieldset {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(27,59,9,0.08);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease backwards;
    transition: all .4s ease;
    border-left: 6px solid #679E29;
}

    fieldset:nth-of-type(1) {
        animation-delay: .1s
    }

    fieldset:nth-of-type(2) {
        animation-delay: .3s
    }

    fieldset:nth-of-type(3) {
        animation-delay: .5s
    }

    fieldset:nth-of-type(4) {
        animation-delay: .7s
    }

    fieldset:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 60px rgba(0,0,0,0.1);
    }

legend {
    background: #1B3B09;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(27,59,9,0.3);
}

.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

    .AlseinTable td:nth-child(1) {
        color: #F37021;
        width: 12px;
        font-weight: 900;
        text-align: left;
    }

    .AlseinTable td:nth-child(2) {
        background: #e9f2e6;
        color: #1B3B09;
        padding: 15px 20px;
        border-radius: 12px 0 0 12px;
        font-weight: 700;
        min-width: 220px;
        border-left: 4px solid #1B3B09;
        transition: all .3s ease;
    }

    .AlseinTable td:nth-child(3) {
        width: 100%;
    }

    .AlseinTable tr:hover td:nth-child(2) {
        background: #679E29;
        color: #fff;
        padding-left: 30px;
    }

.form-control {
    border: 2px solid #e0e6e3 !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 15px !important;
    background: #fdfdfd !important;
    transition: all .3s ease;
}

    .form-control:focus {
        border-color: #F37021 !important;
        background: #fff !important;
        box-shadow: 10px 0 20px rgba(103,158,41,0.1) !important;
        transform: scale(1.02);
    }

.btn-success, .btn-x {
    background: linear-gradient(to right,#679E29,#F37021);
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all .4s ease;
    animation: pulseBtn 3s infinite;
}

    .btn-success:hover, .btn-x:hover {
        transform: translateY(-5px);
        background: linear-gradient(to right,#1B3B09,#d35400);
    }

.warning-banner, #tr_konaklamaUyari {
    background: #fff3cd;
    color: #856404;
    border-left: 8px solid #F37021;
    padding: 25px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width:1200px) {
    .AlseinTable td:nth-child(2) {
        width: 190px;
        font-size: .95rem;
    }
}

@media(max-width:992px) {
    fieldset {
        padding: 26px;
    }

    legend {
        font-size: 1rem;
        padding: 8px 22px;
    }

    .AlseinTable td:nth-child(2) {
        width: 150px;
    }

    .btn-success {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.05rem;
    }
}
@media(max-width:768px) {

    .AlseinTable {
        display: table;
        width: 100%;
        border-spacing: 0 10px;
    }

        .AlseinTable tr {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f7faf5;
            padding: 10px;
            border-radius: 10px;
        }

        .AlseinTable td:nth-child(1) {
            display: none; /* yıldız işareti istersen gösteririz */
        }

        .AlseinTable td:nth-child(2) {
            flex: 0 0 35%;
            min-width: 120px;
            border-left: none;
            margin: 0;
            padding: 8px 10px;
            background: transparent;
            font-weight: 600;
            color: #1B3B09;
        }

        .AlseinTable td:nth-child(3) {
            flex: 1;
            width: 100%;
        }

    .form-control {
        width: 100% !important;
        min-width: 100% !important;
        border-radius: 8px !important;
    }
}


/* 576px */
@media(max-width:576px) {
    legend {
        font-size: .85rem;
        padding: 6px 14px;
    }

    fieldset {
        padding: 18px;
    }

    body {
        padding: 10px;
    }

    .btn-success {
        padding: 15px 22px;
        font-size: 1rem;
        border-radius: 40px;
    }
}

/* 400px */
@media(max-width:400px) {

    .AlseinTable tr {
        padding: 10px;
    }

    .form-control {
        font-size: .9rem !important;
        padding: 12px !important;
    }

    legend {
        font-size: .78rem;
    }
}
