: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 ==== */
body {
    margin: 0;
    font-family: var(--font-sans);
    background: white;
    color: var(--txt);
    animation: bodyFade 1.5s ease-in-out;
}

@keyframes bodyFade {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 100%;
    }
}

/* ==== Form Wrapper ==== */
.adkd-form-wrapper {
    background: linear-gradient(180deg, var(--bg), #ffffff);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== Fieldset ==== */
fieldset {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    fieldset:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

/* ==== Legend ==== */
legend {
    padding: 0 10px;
    font-weight: 700;
    color: #F47C12;
    font-size: 1.1rem;
    position: relative;
}

    legend::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 2px;
        width: 120px;
        height: 4px;
        background: #F47C12;
        border-radius: 2px;
    }

/* ==== Table ==== */
.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 0.95rem;
}

    .AlseinTable td {
        background-color: #FFF;
        padding: 12px 14px;
        vertical-align: middle;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

        .AlseinTable td:first-child {
            width: 28px;
            text-align: center;
            font-weight: 700;
            color: #F47C12;
        }



        .AlseinTable td:nth-child(2) {
            background: #F47C12 !important;
            font-weight: 600;
            width: 275px;
            font-size: 0.95rem;
            text-align: center;
            border-radius: 12px;
            box-shadow: 0 4px 12px #B7632D;
            transition: all 0.3s ease;
            color: white;
        }

            .AlseinTable td:nth-child(2):hover {
                transform: translateY(-2px) scale(1.03);
                background: #B7632D;
                box-shadow: 0 8px 20px rgba(253,185,86,0.45);
            }




        .AlseinTable td:nth-child(3n+2) {
            background: linear-gradient(135deg, #FDB956, #FFD48F);
            font-weight: 600;
            font-size: 0.95rem;
            text-align: center;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(253,185,86,0.35);
            transition: all 0.3s ease;
        }

            .AlseinTable td:nth-child(3n+2):hover {
                transform: translateY(-2px) scale(1.03);
                background: linear-gradient(135deg, #FFD48F, #FDB956);
                box-shadow: 0 8px 20px rgba(253,185,86,0.45);
            }

/* ==== Inputs ==== */
.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--txt);
    background-color: var(--card-bg);
    border: 1px solid rgba(34,40,49,0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

    .form-control:focus {
        background-color: #fffaf3;
        border-color: #F15B2A;
        box-shadow: 0 6px 20px rgba(241,91,42,0.25);
        transform: translateY(-1px);
        outline: none;
    }

/* ==== Buttons ==== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(241,91,42,0.35);
}

    .btn:hover {
        background: linear-gradient(90deg, #FFD48F, #FDB956);
        box-shadow: 0 8px 22px rgba(241,91,42,0.5);
        transform: translateY(-2px) scale(1.02);
    }

.btn-success {
    background: linear-gradient(180deg, var(--accent), #0f7b49);
    box-shadow: 0 6px 18px rgba(25,135,84,0.25);
}

    .btn-success:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 10px 24px rgba(25,135,84,0.35);
    }

/* ==== Loading Icon ==== */
.LoadingIcon {
    display: none;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ==== Kurs Listesi Image Hover ==== */
#rptKursListesi img,
#rptEtkinlikListesi img {
    vertical-align: middle;
    width: 22px;
    height: 22px;
    cursor: pointer;
    filter: grayscale(100%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

    #rptKursListesi img.checked,
    #rptEtkinlikListesi img.checked {
        filter: none;
        transform: rotate(10deg) scale(1.2);
    }

/* ==== Responsive ==== */
@media (max-width: 768px) {
    .AlseinTable td {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    fieldset {
        padding: 18px;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    fieldset {
        padding: 14px;
    }

    .form-control {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}
