﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --secondary: #06b6d4;
    --accent: #facc15;
    --danger: #ef4444;
    --bg: #0f172a;
    --card: rgba(255,255,255,0.92);
    --glass: rgba(255,255,255,0.75);
    --border: rgba(255,255,255,0.35);
}

body {
    font-family: 'Quicksand', sans-serif;
    background: radial-gradient(circle at 15% 20%, rgba(37,99,235,.35), transparent 45%), radial-gradient(circle at 85% 10%, rgba(6,182,212,.35), transparent 40%), radial-gradient(circle at 50% 90%, rgba(250,204,21,.25), transparent 45%), url("../Gorseller/bg.png");
    background-size: cover;
    background-attachment: fixed;
    color: #1f2937;
}

.container {
    animation: pageReveal 1s cubic-bezier(.22,1,.36,1) both;
}

.info-notice {
    background: var(--glass);
    border: 1px solid var(--border);
    border-left: 6px solid var(--accent);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(10px);
}

    .info-notice h4 {
        margin: 0 0 12px 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--bg);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .info-notice h4 i {
            color: var(--accent);
        }

    .info-notice p {
        font-size: 0.92rem;
        color: #1e293b;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .info-notice ul {
        margin: 10px 0 12px 18px;
        padding: 0;
        list-style: square;
        font-size: 0.9rem;
        color: #1e293b;
    }

        .info-notice ul li {
            margin-bottom: 6px;
        }

    .info-notice .highlight {
        color: var(--primary);
        font-weight: 700;
    }

    .info-notice .note {
        font-size: 0.85rem;
        color: #334155;
    }


fieldset {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 60px 45px 40px;
    margin-bottom: 60px;
    position: relative;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08), 0 10px 30px rgba(15, 23, 42, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    fieldset:hover {
        transform: translateY(-8px);
        box-shadow: 0 50px 120px rgba(15, 23, 42, 0.12);
        border-color: var(--secondary);
    }

legend {
    position: absolute;
    top: -22px;
    left: 45px;
    float: none; /* ASP.NET bazen sola yaslar, bunu sıfırlıyoruz */
    width: auto;
    padding: 10px 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    /* Arka plan gradyanı */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
    z-index: 10;
    animation: floating 3s ease-in-out infinite;
}

    /* Legend'ın arkasına eklenen soft parıltı */
    legend::before {
        content: "";
        position: absolute;
        inset: 0;
        background: inherit;
        filter: blur(12px);
        opacity: 0.4;
        z-index: -1;
        border-radius: inherit;
    }

/* KÜÇÜK ANİMASYON: Hafif yüzer efekt */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* TABLO İÇİ SATIR DÜZENİ */
.AlseinTable tr {
    transition: all 0.2s ease;
}

    .AlseinTable tr:hover td:nth-child(2) {
        color: var(--primary); /* Üzerine gelince etiket rengi değişsin */
        transform: translateX(5px);
    }

.AlseinTable td:nth-child(2) {
    transition: all 0.3s ease;
}



.AlseinTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px; /* Satırlar arası boşluk */
    table-layout: auto; /* İçeriğe göre esnemesi için */
}

    /* SOL SÜTUN (LABEL - ETİKET KISMI) */
    .AlseinTable td:nth-child(2) {
        width: 280px; /* Genişliği artırdık: 'Email Adresi' rahatça sığar */
        min-width: 280px; /* Daralmasını kesin olarak engelledik */
        white-space: nowrap; /* Metnin asla alt satıra geçmemesini sağlar */
        font-weight: 600;
        color: #334155;
        padding-right: 20px;
        vertical-align: middle;
    }

    /* SAĞ SÜTUN (INPUT KISMI) */
    .AlseinTable td:last-child {
        width: 100%; /* Kalan tüm boşluğu inputlara verir */
        vertical-align: middle;
    }


        /* REQUIRED */
        .mandatory-star,
        .AlseinTable td:first-child {
            color: var(--danger);
            font-weight: 700;
        }

        /* LABEL */
        .AlseinTable td:nth-child(2) {
            width: 230px;
            font-weight: 600;
            color: #334155;
        }

/* FORM ELEMANLARI KONTEYNER AYARI */
.AlseinTable td:last-child {
    width: 100%; /* Giriş alanlarının olduğu sütunu genişletir */
}

/* INPUT & SELECT – MODERN & WIDE */
.form-control {
    width: 100%;
    min-width: 350px; /* Çok daralmasını engeller */
    max-width: 600px; /* Çok fazla yayılmasını engeller (isteğe bağlı) */
    height: 52px;
    border-radius: 16px;
    border: 2px solid #e2e8f0; /* Daha belirgin bir sınır */
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

    /* ODAKLANMA EFEKTİ (FOCUS) */
    .form-control:focus {
        border-color: var(--primary);
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12), 0 0 0 4px rgba(37, 99, 235, 0.1);
    }

/* DROPDOWN (SELECT) ÖZEL STİL */
select.form-control {
    appearance: none; /* Varsayılan ok simgesini kaldırır */
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 25px) calc(1em + 10px), calc(100% - 20px) calc(1em + 10px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* HOVER DURUMU */
.form-control:hover {
    border-color: #cbd5e1;
    background: #fff;
}

/* PLACEHOLDER RENGİ */
.form-control::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

/* FILE */
input[type="file"].form-control {
    height: auto;
    padding: 14px;
}

/* BUTTON – HERO CTA */
.btn-success {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 18px 84px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 25px 50px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.4);
    transition: all .35s cubic-bezier(.175,.885,.32,1.275);
}

    .btn-success:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 35px 70px rgba(37,99,235,.6);
    }

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageReveal {
    from {
        opacity: 0;
        filter: blur(6px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}




/* LOADER */
.loader {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 5px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}























@media (max-width: 992px) {

    .AlseinTable {
        border-spacing: 0;
    }

        .AlseinTable tr {
            display: block;
            background: #fff;
            border-radius: 18px;
            margin-bottom: 20px;
            padding: 18px;
            box-shadow: 0 15px 35px rgba(15,23,42,.08);
        }

        .AlseinTable td {
            display: block;
            width: 100% !important;
            padding: 0;
        }

            /* ZORUNLU YILDIZ */
            .AlseinTable td:first-child {
                margin-bottom: 6px;
            }

            /* LABEL */
            .AlseinTable td:nth-child(2) {
                font-size: 14px;
                font-weight: 700;
                color: #334155;
                margin-bottom: 8px;
                white-space: normal;
                transform: none !important;
            }

            /* INPUT ALANI */
            .AlseinTable td:last-child {
                margin-bottom: 4px;
            }
}

@media (max-width: 768px) {

    .form-control {
        min-width: 100%;
        max-width: 100%;
        height: 50px;
        font-size: 14px;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {

    fieldset {
        padding: 50px 20px 30px;
        border-radius: 22px;
        margin-bottom: 40px;
    }

    legend {
        left: 20px;
        font-size: 11px;
        padding: 8px 18px;
        letter-spacing: 1px;
    }
}



@media (max-width: 576px) {

    .info-notice {
        padding: 16px;
        border-radius: 16px;
    }

        .info-notice h4 {
            font-size: 0.95rem;
        }

        .info-notice p,
        .info-notice ul {
            font-size: 0.85rem;
        }
}
