:root {
    --brand: #F15B2A;
    --accent: #198754; 
    --muted: #6c757d; 
    --bg: #f7f9fb; 
    --card-bg: #fffdf9; 
    --border-color: #e6dccd; 
    --txt: #222;
    --font-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: linear-gradient(135deg, rgba(253, 185, 86, 1) 0%, rgba(255, 226, 184, 1) 100%);
    color: var(--txt);
}


.adkd-form-wrapper {
    background: linear-gradient(180deg, var(--bg), #ffffff);
    padding: 18px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

fieldset {
    background: #FFECCF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    fieldset:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

/* ==== Legend ==== */
legend {
    padding: 0 10px;
    font-weight: 600;
    color: var(--brand);
    font-size: 1.05rem;
    position: relative;
}


    legend::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 50px;
        height: 3px;
        background: #F15B29;
        border-radius: 2px;
    }

.AlseinTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

    .AlseinTable td {
        background-color: #FFECCF;
        padding: 8px 10px;
        vertical-align: middle;
        border-radius: 4px;
    }

        .AlseinTable td:first-child {
            width: 28px;
            text-align: center;
            color: #F15B2A;
            font-weight: 700;
        }

.form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--txt);
    background-color: var(--card-bg);
    border: 1px solid rgba(34,40,49,0.12);
    border-radius: 8px;
    transition: all 0.25s ease;
}

    .form-control:focus {
        background-color: #fffaf3;
        border-color: rgba(13,110,253,0.65);
        box-shadow: 0 6px 18px rgba(13,110,253,0.15);
        transform: translateY(-2px);
        outline: none;
    }

/* ==== Butonlar ==== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #F15B29;
}


.my-btn {
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(253, 185, 86, 0.4);
    transition: all 0.3s ease;
}

    .my-btn:hover {
        background: linear-gradient(90deg, #FFD48F, #FDB956);
        box-shadow: 0 6px 15px rgba(253, 185, 86, 0.6);
        transform: translateY(-2px);
    }

    .my-btn:active {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(253, 185, 86, 0.5);
    }


.btn-success {
    background: linear-gradient(180deg, var(--accent), #0f7b49);
    color: #fff;
    box-shadow: 0 6px 16px rgba(25,135,84,0.18);
}

    .btn-success:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 20px rgba(25,135,84,0.25);
    }

#rptKursListesi img {
    vertical-align: middle;
    width: 22px;
    height: 22px;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter .25s ease, transform .25s ease;
}

    #rptKursListesi img.checked {
        filter: none;
        transform: rotate(8deg) scale(1.1);
    }

.table-striped tr {
    transition: background-color 0.3s ease;
}

    .table-striped tr:hover {
        background-color: rgba(13,110,253,0.05);
    }

@media (max-width: 760px) {
    .AlseinTable td {
        display: block;
        width: 100%;
    }

    fieldset {
        padding: 14px;
    }
}

:focus {
    outline: 3px solid rgba(13,110,253,0.12);
    outline-offset: 2px;
}
