﻿



/* MODERN TASARIM GELİŞTİRMELERİ */
:root {
    --primary: #4361ee;
    --primary-hover: #3a56d4;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --light: #f8f9fa;
    --light-bg: #f8fafc;
    --dark: #212529;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --gray: #6c757d;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --border: #e2e8f0;
    --border-dark: #cbd5e0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --bg1: #eff6ff; /* seçtiğin 1. renk */
    --bg2: #dbeafe; /* seçtiğin 2. renk */
}

/* Ana Konteyner Stilleri */
.quiz {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8, #d9e6f2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 0px solid black;
    margin: 2px auto;
    overflow: hidden;
    max-width: 900px;
    padding: 20px;
    gap: 10px;
}
.next {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 15px 0;
    border: 0px solid black;
}


.bodalt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0px solid black;
}

.date {
    display: flex;
    justify-content: space-between;
    padding: 2px;
    background: #f8f9fa;
    border-radius: 8px;
    width: 380px;
}
.anasoru{
    width:100%;

}
/* Soru Alanı Stilleri */
.sorum {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0px solid black;
    padding: 0px;
    gap: 0px;
    flex-direction: row;
    background: linear-gradient(135deg, #ffffff, #f4f8fb);
    border-radius: 10px;
}

.sorusol {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
    border: 0px solid black;
}

.sorusag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    display: flex;
    flex-direction: column;
    border:0px solid black;
    height:100%;
    
}

/* Üst Yazı Alanı (Anket Başlığı ve Giriş Formu) */
.ustyazi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
}

.Label2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.sc {
    width: 100%;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}

.sct {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

.sci {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: var(--primary);
    font-weight: bold;
}

.unique {
    width: 100%;
    max-width: 400px;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

    .unique:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    }

.startquiz {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    width: auto;
    min-width: 180px;
    margin-top: 0.5rem;
}

    .startquiz:hover {
        background-color: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .startquiz:active {
        transform: translateY(0);
    }

/* Bilgi Giriş Formu */
.akt {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #f0f7ff, #ebf5ff);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #bee3f8;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

    .akt input[type="text"] {
        width: 100%;
        padding: 0.85rem 1.25rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 1rem;
        background-color: white;
        transition: all 0.3s ease;
    }

        .akt input[type="text"]:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
        }

        .akt input[type="text"]::placeholder {
            color: var(--gray);
            font-weight: 400;
            opacity: 1;
        }

/* Cevap Seçenekleri */
.cvpconi {
   border:0px solid black;
  
}

.cvp {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: left;
    margin: 5px;
    padding: 10px;
}

    .cvp:hover {
        background: var(--light-bg);
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: var(--shadow-sm);
    }

    .cvp:active {
        transform: translateY(0);
    }

/* Diğer Elementler */
.sco {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.lime {
    background: #e9ecef;
    border-radius: 20px;
    height: 20px;
    margin: 8px 0;
}

.lime1 {
    background: linear-gradient(90deg, rgba(0, 200, 83, 0.2), /* çok açık yeşil */
    rgba(0, 200, 83, 0.6), /* orta yeşil */
    rgba(0, 200, 83, 1) /* koyu yeşil */
    );
    border-radius: 20px;
    height: 100%;
    transition: width 0.6s ease;
    /* animasyon için */
    background-size: 200% 100%;
    animation: limeFlow 4s ease-in-out infinite;
}

@keyframes limeFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===================== SORU NUMARALARI ===================== */
.ent {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.sira {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 2px solid blue;
}

    .sira a {
        color: #495057;
        text-decoration: none;
        font-weight: bold;
        display: block;
        width: 100%;
        text-align: center;
    }

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sc, .akt, .sorum {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.sc {
    animation-delay: 0.1s;
}

.akt {
    animation-delay: 0.2s;
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.startquiz {
    animation: subtlePulse 3s infinite ease-in-out;
}

/* Boş Alan Kontrolü */
.sorusol:empty, .altses:empty {
    display: none;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .sorum {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .sorusol {
        min-height: 200px;
        width: 100%;
    }

    .ustyazi {
        padding: 1rem;
    }

    .sc, .akt {
        padding: 1.25rem;
    }

        .unique, .akt input[type="text"] {
            padding: 0.75rem 1rem;
        }

    .cvp {
        padding: 12px 16px;
    }

    .Label2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .sorum {
        padding: 10px;
    }

    .ustyazi {
        gap: 1rem;
    }

    .sc, .akt {
        padding: 1rem;
    }

    .startquiz {
        padding: 0.75rem 1.5rem;
        min-width: 160px;
    }
}
