﻿
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #edf6fc 0%, #f8fbff 55%, #e5f2fb 100%);
    margin: 0;
    padding: 0;
    color: #26364b;
    line-height: 1.7;
    min-height: 100vh;
}

::selection {
    background: #c9e7f8;
    color: #123d69;
}

/* Formun genel genişliği */
#ContentPlaceHolder1_UPnlGenel {
    padding: 25px 15px;
}

/* ==============================
   KONGRE BANNER
============================== */

.toplanti-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 15px 0 35px;
    padding: 25px 24px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.6;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient( 115deg, #102d59 0%, #155b91 45%, #238cc2 75%, #155b91 100% );
    background-size: 200% 200%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 28px rgba(20, 72, 119, 0.16), 0 3px 8px rgba(20, 72, 119, 0.08);
    animation: bannerGradient 10s ease infinite;
}

    /* Banner üzerindeki hafif ışık efekti */
    .toplanti-banner::before {
        content: "";
        position: absolute;
        top: -80%;
        left: -30%;
        width: 45%;
        height: 260%;
        background: rgba(255, 255, 255, 0.09);
        transform: rotate(25deg);
        pointer-events: none;
    }

@keyframes bannerGradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ==============================
   FORM BÖLÜMLERİ
============================== */

fieldset {
    position: relative;
    min-width: 0;
    padding: 32px 35px;
    margin: 0 0 30px;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 24px rgba(35, 74, 110, 0.055);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

    fieldset:hover {
        border-color: #bfd9ed;
        box-shadow: 0 10px 30px rgba(35, 74, 110, 0.09);
    }

/* Bölüm başlıkları */
legend {
    float: none;
    width: auto;
    max-width: 100%;
    padding: 0 14px;
    margin: 0 auto 20px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #164c7d;
    background: transparent;
}

/* ==============================
   TABLO VE SATIRLAR
============================== */

.AlseinTable {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: fixed;
}

    .AlseinTable tr {
        transition: background-color 0.2s ease;
    }

    .AlseinTable td {
        padding: 14px 16px;
        vertical-align: top;
        color: #34465a;
        background: #f9fbfe;
        border-top: 1px solid #e8eef5;
        border-bottom: 1px solid #e8eef5;
        overflow-wrap: anywhere;
    }

        .AlseinTable td:first-child {
            width: 35px;
            color: #d14f59;
            font-weight: 700;
            text-align: center;
            border-left: 1px solid #e8eef5;
            border-radius: 9px 0 0 9px;
        }

        .AlseinTable td:nth-child(2) {
            width: 31%;
            font-weight: 700;
            color: #29445f;
        }

        .AlseinTable td:last-child {
            border-right: 1px solid #e8eef5;
            border-radius: 0 9px 9px 0;
        }

    /* Hover sırasında okunabilirliği koru */
    .AlseinTable tr:hover td {
        background-color: #f2f8fd;
    }

    /* ==============================
   LABEL VE AÇIKLAMALAR
============================== */

    .AlseinTable label {
        display: block;
        margin: 0 0 7px;
        padding: 0;
        font-size: 0.91rem;
        font-weight: 700;
        line-height: 1.5;
        color: #294d70;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transition: color 0.2s ease;
    }

        .AlseinTable label:hover {
            background: transparent;
            border-color: transparent;
            color: #147db4;
            transform: none;
            box-shadow: none;
        }

    .AlseinTable small,
    .AlseinTable .text-muted {
        display: block;
        margin-top: 7px;
        color: #718196 !important;
        font-size: 0.82rem;
        line-height: 1.6;
    }

/* ==============================
   INPUT, SELECT, TEXTAREA
============================== */

.form-control {
    display: block;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 11px 14px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: #263b50;
    background-color: #ffffff;
    border: 1px solid #cfdeeb;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgba(25, 65, 100, 0.025);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .form-control::placeholder {
        color: #94a5b6;
        opacity: 1;
    }

    .form-control:hover {
        border-color: #9bbfda;
    }

    .form-control:focus {
        color: #263b50;
        background-color: #ffffff;
        border-color: #2789bd;
        outline: none;
        box-shadow: 0 0 0 3px rgba(39, 137, 189, 0.13);
    }

/* Tablo içindeki alanlarda eski margin kurallarını kaldır */
.AlseinTable .form-control {
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 11px 13px;
    border: 1px solid #cfdeeb !important;
    background: #ffffff !important;
}

/* Çok satırlı alanlar */
textarea.form-control,
.AlseinTable textarea {
    min-height: 120px;
    height: auto;
    resize: vertical;
    line-height: 1.7;
}

/* ==============================
   RADIO BUTTON
============================== */

.AlseinTable input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0 9px 0 0;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
    background: #ffffff;
    border: 2px solid #a9bfd1;
    border-radius: 50%;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .AlseinTable input[type="radio"]:checked {
        background: #237db0;
        border-color: #237db0;
        box-shadow: inset 0 0 0 4px #ffffff;
    }

    .AlseinTable input[type="radio"]:focus-visible {
        outline: 3px solid rgba(35, 125, 176, 0.22);
        outline-offset: 3px;
    }

/* ASP.NET RadioButtonList elemanları */
.AlseinTable table {
    width: 100%;
}

    .AlseinTable table td {
        padding: 7px 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        vertical-align: middle;
    }

    .AlseinTable table tr:hover td {
        background: transparent;
    }

/* Radio seçeneklerinin metinleri */
.AlseinTable input[type="radio"] + label {
    display: inline;
    margin: 0 16px 0 0;
    color: #344d65;
    font-size: 0.91rem;
    font-weight: 600;
    cursor: pointer;
}

/* ==============================
   SUBMIT BUTTON
============================== */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-success {
    color: #ffffff;
    background: linear-gradient(110deg, #174c7c, #2387b8);
    border: 1px solid transparent;
    box-shadow: 0 5px 14px rgba(23, 76, 124, 0.17);
}

    .btn-success:hover {
        color: #ffffff;
        background: linear-gradient(110deg, #123e68, #176e9f);
        box-shadow: 0 8px 20px rgba(23, 76, 124, 0.22);
        transform: translateY(-2px);
    }

    .btn-success:focus-visible {
        outline: 3px solid rgba(35, 135, 184, 0.3);
        outline-offset: 3px;
    }

    .btn-success:active {
        transform: translateY(0);
    }

/* ==============================
   LOADING
============================== */

.LoadingIcon {
    display: none;
    width: 35px;
    height: auto;
    margin: 12px auto 0;
}

/* ==============================
   UPDATE PANEL
============================== */

.UpdatePanel {
    padding: 25px;
    margin-bottom: 35px;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
}

/* ==============================
   MOBİL UYUMLULUK
============================== */

@media (max-width: 768px) {

    #ContentPlaceHolder1_UPnlGenel {
        padding: 12px 8px;
    }

    .toplanti-banner {
        margin: 10px 0 25px;
        padding: 19px 14px;
        font-size: 1.05rem;
        letter-spacing: 0.7px;
        border-radius: 11px;
    }

    fieldset {
        padding: 23px 14px;
        margin-bottom: 22px;
        border-radius: 13px;
    }

    legend {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
        padding: 0 8px;
    }

    .AlseinTable,
    .AlseinTable tbody,
    .AlseinTable tr,
    .AlseinTable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .AlseinTable {
        border-spacing: 0;
    }

        .AlseinTable tr {
            margin-bottom: 15px;
            border: 1px solid #e3ebf3;
            border-radius: 10px;
            overflow: hidden;
            background: #f9fbfe;
        }

        .AlseinTable td,
        .AlseinTable td:first-child,
        .AlseinTable td:nth-child(2),
        .AlseinTable td:last-child {
            width: 100%;
            padding: 10px 12px;
            border: 0;
            border-radius: 0;
            background: transparent;
            text-align: left;
        }

            .AlseinTable td:first-child {
                display: none;
            }

            .AlseinTable td:nth-child(2) {
                padding-bottom: 3px;
                color: #24496c;
                font-size: 0.91rem;
            }

            .AlseinTable td:last-child {
                padding-top: 7px;
            }

        .AlseinTable .form-control {
            margin-bottom: 8px;
        }

        .AlseinTable table td {
            display: table-cell;
            width: auto;
            padding: 7px 4px;
        }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 13px 16px;
        font-size: 0.93rem;
    }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


