
:root {
    --brand: #FE8594; 
    --brand-dark: #F15B29; 
    --accent: #198754;
    --bg-deep: #1a252f;
    --form-bg: #3D4E77; 
    --input-focus: #ffffff; 
    --txt-light: #ffffff;
    --txt-dark: #2c3e50; 
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top right, #3d4e77, #1a252f);
    min-height: 100vh;
    color: var(--txt-light);
    display: flex;
    justify-content: center;
    align-items: center;
    display:block;
    padding: 20px;
}

.adkd-form-wrapper {
    background: rgba(61, 78, 119, 0.85);
    backdrop-filter: blur(12px); 
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 100%;
    animation: slideUpFade 0.8s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

fieldset {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

    fieldset:hover {
        border-color: var(--brand);
        background: rgba(255, 255, 255, 0.05);
    }

legend {
    padding: 0 15px;
    font-weight: 700;
    color: var(--brand);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    legend::after {
        content: "";
        display: block;
        width: 30%;
        height: 3px;
        background: var(--brand);
        margin-top: 5px;
        border-radius: 10px;
        transition: width 0.5s ease;
    }

fieldset:hover legend::after {
    width: 100%;
}
.form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07) !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
    outline: none;
    backdrop-filter: blur(5px); 
}


.custom-ddl option {
    background-color: #020617; 
    color: #e5e7eb;
}

    .custom-ddl option:hover {
        color: #020617;
    }

    .custom-ddl option:checked {
        color: #ffffff;
    }



    .form-control:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .form-control:focus {
        background: rgba(255, 255, 255, 0.2) !important; 
        color: #ffffff;
        border-color: var(--brand) !important; 
        box-shadow: 0 0 0 4px rgba(254, 133, 148, 0.15), 0 12px 25px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px); 
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-weight: 400;
        transition: all 0.3s ease;
    }

    .form-control:focus::placeholder {
        opacity: 0.3;
        transform: translateX(10px);
    }

    .form-control:-webkit-autofill,
    .form-control:-webkit-autofill:hover,
    .form-control:-webkit-autofill:focus {
        -webkit-text-fill-color: #fff;
        -webkit-box-shadow: 0 0 0px 1000px rgba(61, 78, 119, 1) inset;
        transition: background-color 5000s ease-in-out 0s;
    }


.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

    .AlseinTable td {
        padding: 12px;
        vertical-align: middle;
    }

        .AlseinTable td:first-child {
            width: 40px;
            text-align: center;
            font-weight: 800;
            color: var(--brand-dark);
        }


.btn, .my-btn, .btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 15px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: 0 8px 20px rgba(241, 91, 41, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

    .btn:hover, .my-btn:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 30px rgba(241, 91, 41, 0.5);
    }

    .btn::after {
        content: "";
        position: absolute;
        top: -50%;
        left: -60%;
        width: 20%;
        height: 200%;
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(30deg);
        transition: 0.6s;
    }

    .btn:hover::after {
        left: 120%;
    }


#rptKursListesi img {
    width: 28px;
    height: 28px;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

    #rptKursListesi img.checked,
    #rptKursListesi img:hover {
        filter: grayscale(0%) drop-shadow(0 0 8px var(--brand));
        transform: scale(1.3) rotate(10deg);
    }

@media (max-width: 768px) {
    .adkd-form-wrapper {
        padding: 20px;
        margin: 10px;
    }

    .AlseinTable td {
        display: block;
        width: 100%;
        text-align: center;
    }

    .form-control {
        text-align: center;
    }
}
