:root {
    --primary-blue: #0b76bc;
    --light-bg: #f4f6f9;
    --card-bg: #ffffff;
    --text-dark: #2d3748;
    --text-muted: #8898aa;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    direction: rtl;
    min-height: 100vh;
}

/* Üst Menü (Navbar) */
.navbar {
    background-color: var(--card-bg);
    box-shadow: 0 1px 15px rgba(0,0,0,0.03);
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 35px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding: 0 10px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Ana Konteyner */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.center-logo {
    text-align: center;
    margin-bottom: 50px;
}

.hero-logo {
    height: 110px;
}

/* İstatistik Çubuğu */
.stats-bar {
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-bottom: 35px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* Buton Kartları */
.action-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    border-radius: 16px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.action-card:hover {
    transform: translateY(-4px);
}

.card-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 8px 25px rgba(11, 118, 188, 0.2);
}

.card-primary p {
    color: rgba(255, 255, 255, 0.85);
}

.card-primary .card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.card-secondary {
    background-color: var(--card-bg);
    border: 1.5px solid var(--primary-blue);
}

.card-secondary h3 {
    color: var(--primary-blue);
}

.card-secondary p {
    color: var(--text-muted);
}

.card-secondary .card-icon {
    background-color: #eaf4fc;
    color: var(--primary-blue);
}

.card-text {
    flex: 1;
}

.card-text h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-text p {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.card-icon {
    width: 65px;
    min-width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.card-icon svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px;
    max-height: 32px;
}

/* Son Yarışmalar */
.recent-quizzes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.recent-quizzes-header h2 {
    font-size: 17px;
    color: var(--primary-blue);
    font-weight: 800;
}

.view-all {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.empty-state {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* Profil ve Düzenleme Sayfası Stilleri */
.profile-page, .edit-profile-page { max-width: 800px; }
.profile-header, .text-center { text-align: center; }
.page-title { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 25px; }

.avatar-container, .avatar-circle {
    width: 90px;
    height: 90px;
    background-color: #e6f0f9;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon { width: 45px; height: 45px; fill: #5b748c; }
.inner-circle { width: 20px; height: 20px; background-color: #5b748c; border-radius: 50%; }

.profile-name { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.profile-subtitle { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.profile-stats { margin-bottom: 40px; }

.account-section { margin-bottom: 50px; }
.section-title { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 15px; text-align: right; }
.menu-list { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 15px; }
.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; text-decoration: none; border-bottom: 1px solid var(--border-color); transition: background-color 0.2s; }
.menu-item:hover { background-color: #f8fafc; }
.menu-list .menu-item:last-child { border-bottom: none; }
.menu-item-right { display: flex; align-items: center; gap: 15px; }
.menu-icon { width: 24px; height: 24px; fill: var(--primary-blue); }
.menu-text { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.menu-arrow { width: 20px; height: 20px; fill: #a0aec0; }

.logout-btn { background-color: #fef2f2; border: 1px solid #fee2e2; border-radius: 12px; margin-top: 15px; }
.logout-btn:hover { background-color: #fee2e2; }
.logout-btn .menu-icon, .logout-btn .menu-arrow { fill: #ef4444; }
.logout-btn .menu-text { color: #ef4444; }

.edit-avatar-section { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.change-photo-link { color: var(--primary-blue); font-size: 15px; font-weight: 700; text-decoration: none; }
.form-card { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); padding: 30px 40px; margin-bottom: 50px; }
.form-group { margin-bottom: 20px; text-align: right; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); font-weight: 700; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #d2d6dc; border-radius: 6px; font-size: 15px; outline: none; font-weight: 600; }
.form-control:focus { border-color: var(--primary-blue); }
.input-with-icon { position: relative; display: flex; align-items: center; }
.disabled-input { background-color: #f3f4f6; color: #6b7280; cursor: not-allowed; padding-left: 45px; direction: ltr; text-align: right; }
.lock-icon { position: absolute; left: 15px; width: 18px; height: 18px; fill: #9ca3af; pointer-events: none; }
.btn-save { background-color: var(--primary-blue); color: white; border: none; width: 100%; padding: 15px; font-size: 16px; font-weight: 700; border-radius: 6px; cursor: pointer; margin-top: 15px; }

/* Mobil / Responsive */
@media (max-width: 768px) {
    .action-cards { grid-template-columns: 1fr; }
    .hero-logo { height: 80px; }
    .action-card { padding: 25px 20px; }
    .form-card { padding: 20px; }
}

/* =========================================================
   AYARLAR SAYFASI (الإعدادات)
   ========================================================= */
.settings-page { max-width: 800px; margin-bottom: 60px; }
.settings-section { margin-bottom: 25px; }
.settings-category-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; text-align: right; }
.settings-card { background: var(--card-bg); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; }
.settings-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: inherit; }
.settings-card .settings-row:last-child { border-bottom: none; }
.settings-row.clickable { cursor: pointer; transition: background-color 0.2s; }
.settings-row.clickable:hover { background-color: #f8fafc; }
.settings-label { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.row-left { display: flex; align-items: center; gap: 8px; }
.row-right { display: flex; align-items: center; gap: 8px; }
.row-value { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.nav-arrow { width: 18px; height: 18px; fill: #a0aec0; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .3s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-blue); }
input:checked + .slider:before { transform: translateX(20px); }

.badge-coming-soon { background-color: #fef3c7; color: #d97706; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.gold-lock-icon { width: 16px; height: 16px; fill: #d97706; }
.danger-row:hover { background-color: #fef2f2; }
.red-text { color: #ef4444; }
.red-arrow { fill: #ef4444; }

.btn-save-return-link { text-decoration: none; display: block; margin-top: 25px; }
.btn-save-return { width: 100%; background-color: transparent; border: 1.5px solid var(--primary-blue); color: var(--primary-blue); padding: 14px; font-size: 16px; font-weight: 700; border-radius: 8px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.btn-save-return:hover { background-color: #eaf4fc; }

/* =========================================================
   YARIŞMALAR SAYFASI (المسابقات)
   ========================================================= */
.quizzes-page { max-width: 800px; margin-bottom: 60px; }
.quizzes-header { text-align: right; margin-bottom: 25px; }
.quizzes-title { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.quizzes-subtitle { font-size: 14px; color: var(--text-muted); font-weight: 600; }

.segmented-control { background-color: #ebedf0; border-radius: 12px; padding: 5px; display: flex; gap: 6px; margin-bottom: 25px; }
.segment-btn { flex: 1; border: none; background: transparent; padding: 12px; font-size: 15px; font-weight: 700; color: #64748b; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
.segment-btn.active { background-color: #ffffff; color: var(--primary-blue); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }

.quizzes-empty-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 70px 20px; text-align: center; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01); }
.empty-title { font-size: 15px; font-weight: 700; color: #64748b; margin-bottom: 6px; }
.empty-desc { font-size: 14px; font-weight: 600; color: #64748b; margin-bottom: 25px; }

.btn-create-quiz { background-color: var(--primary-blue); color: #ffffff; border: none; padding: 12px 36px; font-size: 15px; font-weight: 700; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 15px rgba(11, 118, 188, 0.25); transition: transform 0.2s, background-color 0.2s; }
.btn-create-quiz:hover { background-color: #095f96; transform: translateY(-2px); }

.mishkah-tab-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 10px; }
.admin-add-btn { display: flex; align-items: center; gap: 6px; color: var(--primary-blue); font-size: 15px; font-weight: 700; cursor: pointer; }
.blue-lock-icon { width: 16px; height: 16px; fill: var(--primary-blue); }
.mishkah-tab-desc { font-size: 13px; color: #94a3b8; font-weight: 600; }
.mishkah-empty-box { padding: 100px 20px; }
.mb-0 { margin-bottom: 5px !important; }

/* Katılım Geçmişi */
.history-page { max-width: 800px; margin-bottom: 60px; }
.history-header { display: flex; justify-content: flex-start; align-items: center; gap: 15px; margin-bottom: 25px; }
.btn-back-square { width: 40px; height: 40px; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color 0.2s; }
.btn-back-square:hover { background-color: #f1f5f9; }
.back-arrow-icon { width: 20px; height: 20px; fill: var(--primary-blue); transform: rotate(180deg); }
.history-title { font-size: 22px; font-weight: 800; color: var(--text-dark); }
.history-empty-card { background-color: var(--card-bg); border: 1.5px dashed #dbeafe; border-radius: 16px; padding: 90px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.history-icon-circle { margin-bottom: 25px; }
.history-clock-icon { width: 60px; height: 60px; fill: #b3cce2; }
.history-empty-text { font-size: 15px; font-weight: 700; color: #64748b; }

/* Yarışma Oluşturma */
.create-quiz-body { background-color: #ffffff; margin: 0; padding: 0; }
.web-create-container { max-width: 650px; margin: 40px auto 60px auto; padding: 0 20px; }
.top-page-header { text-align: center; font-size: 19px; font-weight: 800; color: #1e293b; margin-bottom: 35px; }
.header-titles { text-align: center; margin-bottom: 45px; }
.main-blue-heading { font-size: 30px; font-weight: 900; color: #1d70b8; margin-bottom: 8px; }
.sub-gray-heading { font-size: 15px; color: #94a3b8; font-weight: 600; margin: 0; }
.form-wrapper { width: 100%; }
.input-group { text-align: right; margin-bottom: 35px; }
.input-label { display: block; font-size: 16px; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.custom-input { width: 100%; padding: 16px 20px; border: 1.5px solid #d1d5db; border-radius: 12px; font-size: 15px; outline: none; box-sizing: border-box; font-family: 'Cairo', sans-serif; font-weight: 600; }
.custom-input::placeholder { color: #cbd5e1; font-weight: 500; }
.custom-input:focus { border-color: #1d70b8; }
.settings-group { text-align: right; margin-bottom: 50px; }
.settings-blue-title { font-size: 18px; font-weight: 800; color: #1d70b8; margin-bottom: 6px; }
.settings-gray-sub { font-size: 14px; color: #475569; font-weight: 600; margin-bottom: 16px; }
.time-selection-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; direction: ltr; }
.time-box { height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 16px; font-weight: 800; cursor: pointer; background-color: #ffffff; border: 1.5px solid #d1d5db; color: #1e293b; transition: all 0.2s; user-select: none; }
.time-box.active { background-color: #1d70b8 !important; border-color: #1d70b8 !important; color: #ffffff !important; }
.time-box.custom-time:not(.active) { background-color: #cbd5e1; border-color: #cbd5e1; color: #334155; }
.action-submit-area { margin-top: 20px; }
.btn-submit-action { width: 100%; height: 52px; background-color: #1d70b8; color: #ffffff; border: none; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; transition: background-color 0.2s; font-family: 'Cairo', sans-serif; }
.btn-submit-action.disabled { background-color: #e2e8f0 !important; color: #94a3b8 !important; cursor: not-allowed; }

/* Özel Süre Diyalog */
.custom-dialog-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.45); display: none; align-items: center; justify-content: center; z-index: 9999; }
.custom-dialog-overlay.open { display: flex; }
.custom-dialog-card { background-color: #ffffff; width: 90%; max-width: 360px; border-radius: 28px; padding: 28px 24px 24px 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); text-align: right; box-sizing: border-box; }
.dialog-heading { font-size: 22px; font-weight: 800; color: #1d70b8; margin-bottom: 8px; }
.dialog-subtext { font-size: 15px; color: #334155; font-weight: 600; margin-bottom: 20px; }
.dialog-input { width: 100%; height: 52px; border: 1.5px solid #cbd5e1; border-radius: 14px; padding: 0 16px; font-size: 16px; font-weight: 700; color: #1e293b; outline: none; box-sizing: border-box; margin-bottom: 25px; font-family: 'Cairo', sans-serif; }
.dialog-input:focus { border-color: #1d70b8; }
.dialog-btn-row { display: flex; gap: 12px; direction: rtl; }
.dialog-btn { flex: 1; height: 48px; border: none; border-radius: 14px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.dialog-btn:hover { opacity: 0.9; }
.btn-confirm { background-color: #1d70b8; color: #ffffff; }
.btn-cancel { background-color: #94a3b8; color: #ffffff; }

.screen-header-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 35px; }
.screen-header-bar .top-page-header { margin-bottom: 0 !important; }
.header-spacer { width: 40px; }

/* Soru Ekleme */
.add-q-top-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.btn-back-plain { display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.btn-back-plain .arrow-icon { width: 24px; height: 24px; fill: #1d70b8; }
.add-q-main-title { font-size: 26px; font-weight: 800; color: #1d70b8; margin: 0; }
.q-control-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.q-counter-text { font-size: 15px; font-weight: 800; color: #1d70b8; }
.btn-delete-q { width: 34px; height: 34px; background-color: #fee2e2; border: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s; }
.btn-delete-q:hover { background-color: #fecaca; }
.trash-icon { width: 18px; height: 18px; fill: #ef4444; }
.form-block { text-align: right; margin-bottom: 22px; }
.block-label { display: block; font-size: 15px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.custom-select-wrapper { position: relative; width: 100%; }
.app-select { width: 100%; height: 52px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 16px; font-size: 15px; font-weight: 700; color: #1e293b; outline: none; font-family: 'Cairo', sans-serif; appearance: none; cursor: pointer; }
.select-arrow-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 11px; color: #94a3b8; pointer-events: none; }
.app-textarea { width: 100%; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; color: #1e293b; outline: none; font-family: 'Cairo', sans-serif; resize: none; box-sizing: border-box; }
.app-textarea:focus, .app-select:focus { border-color: #1d70b8; }
.options-column { display: flex; flex-direction: column; gap: 10px; }
.choice-input-wrapper { display: flex; align-items: center; background-color: #f8fafc; border: 1.5px solid transparent; border-radius: 12px; padding: 0 16px; height: 52px; cursor: pointer; transition: all 0.2s; }
.choice-input-wrapper.active-choice { border-color: #1d70b8; background-color: #ffffff; }
.choice-text { flex: 1; border: none; background: transparent; font-size: 15px; font-weight: 600; color: #1e293b; outline: none; font-family: 'Cairo', sans-serif; }
.radio-indicator { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.choice-input-wrapper.active-choice .radio-indicator { border-color: #1d70b8; }
.choice-input-wrapper.active-choice .radio-indicator::after { content: ""; width: 10px; height: 10px; background-color: #1d70b8; border-radius: 50%; }
.tf-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.tf-card { aspect-ratio: 1 / 1; min-height: 170px; background-color: #f8fafc; border: 2.5px solid #e2e8f0; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s, background-color 0.2s; user-select: none; color: #64748b; box-sizing: border-box; }
.tf-card:hover { transform: translateY(-3px); }
.tf-card:first-child .tf-icon { font-size: 50px; font-weight: 900; line-height: 1; margin-bottom: 10px; color: #94a3b8; }
.tf-card:first-child .tf-text { font-size: 26px; font-weight: 800; }
.tf-card.active-tf:first-child { border: 3.5px solid #10b981; background-color: #d1fae5; color: #10b981; }
.tf-card.active-tf:first-child .tf-icon { color: #10b981; }
.tf-card:last-child .tf-icon { font-size: 44px; font-weight: 900; line-height: 1; margin-bottom: 10px; color: #94a3b8; }
.tf-card:last-child .tf-text { font-size: 26px; font-weight: 800; }
.tf-card.active-tf:last-child { border: 3.5px solid #ef4444; background-color: #fee2e2; color: #ef4444; }
.tf-card.active-tf:last-child .tf-icon { color: #ef4444; }
.short-answer-box { background-color: #eff6ff; border-radius: 12px; padding: 16px; font-size: 14px; color: #1d70b8; font-weight: 600; line-height: 1.6; }
.action-buttons-group { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.row-nav-btns { display: flex; gap: 12px; }
.btn-outline-prev { flex: 1; height: 52px; border: 1.5px solid #1d70b8; background: transparent; color: #1d70b8; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; }
.btn-next-action { flex: 2; height: 52px; background-color: #1d70b8; color: #ffffff; border: none; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; }
.btn-save-quiz-action { width: 100%; height: 52px; background-color: #1d70b8; color: #ffffff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; }
.btn-next-action.disabled, .btn-save-quiz-action.disabled { background-color: #e2e8f0 !important; color: #94a3b8 !important; cursor: not-allowed; }

/* Giriş / Kayıt */
.auth-body { background-color: #ffffff; margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-card-container { width: 100%; max-width: 440px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; }
.auth-logo-box { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.auth-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.auth-head-icon { width: 36px; height: 36px; fill: #ffffff; }
.auth-header-texts { text-align: center; margin-bottom: 28px; }
.auth-main-title { font-size: 26px; font-weight: 900; color: #1e293b; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: #94a3b8; font-weight: 600; margin: 0; }
.auth-segmented-control { width: 100%; background-color: #f1f5f9; border-radius: 12px; padding: 4px; display: flex; gap: 4px; margin-bottom: 24px; }
.auth-segment-btn { flex: 1; border: none; background: transparent; padding: 10px 0; font-size: 14.5px; font-weight: 700; color: #64748b; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: 'Cairo', sans-serif; }
.auth-segment-btn.active { background-color: #ffffff; color: #0b76bc; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.auth-form-wrapper { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.auth-input-group { width: 100%; }
.auth-field { width: 100%; height: 52px; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 0 16px; font-size: 15px; font-weight: 600; color: #1e293b; outline: none; box-sizing: border-box; font-family: 'Cairo', sans-serif; transition: border-color 0.2s; }
.auth-field::placeholder { color: #cbd5e1; font-weight: 500; }
.auth-field:focus { border-color: #0b76bc; }
.password-group { position: relative; display: flex; align-items: center; }
.password-group .auth-field { padding-left: 45px; }
.btn-toggle-eye { position: absolute; left: 14px; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.eye-icon { width: 22px; height: 22px; fill: #94a3b8; }
.btn-auth-primary { width: 100%; height: 52px; background-color: #0b76bc; color: #ffffff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; margin-top: 4px; transition: background-color 0.2s; }
.btn-auth-primary:hover { background-color: #095f96; }
.auth-divider-text { margin: 18px 0; font-size: 14px; color: #94a3b8; font-weight: 700; }
.btn-google-auth { width: 100%; height: 52px; background-color: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 800; color: #1e293b; cursor: pointer; font-family: 'Cairo', sans-serif; margin-bottom: 12px; transition: background-color 0.2s; }
.btn-google-auth:hover { background-color: #f8fafc; }
.google-icon { width: 20px; height: 20px; }
.btn-guest-auth { width: 100%; height: 50px; background-color: #e0f2fe; border: none; border-radius: 12px; color: #0284c7; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; transition: background-color 0.2s; }
.btn-guest-auth:hover { background-color: #bae6fd; }

/* Yarışmalar Yeni Düzen */
.quizzes-web-container { max-width: 650px; margin: 40px auto 60px auto; padding: 0 20px; }
.quizzes-header-block { text-align: right; margin-bottom: 25px; }
.quizzes-main-title { font-size: 26px; font-weight: 900; color: #1e293b; margin-bottom: 4px; }
.quizzes-main-sub { font-size: 14px; color: #94a3b8; font-weight: 600; }
.quizzes-tabs-bar { background-color: #f1f5f9; border-radius: 14px; padding: 4px; display: flex; gap: 4px; margin-bottom: 25px; }
.quiz-tab-item { flex: 1; border: none; background: transparent; padding: 10px 0; font-size: 15px; font-weight: 700; color: #64748b; border-radius: 10px; cursor: pointer; transition: all 0.2s; font-family: 'Cairo', sans-serif; }
.quiz-tab-item.active { background-color: #ffffff; color: #0b76bc; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.quizzes-list-grid { display: flex; flex-direction: column; gap: 14px; }
.quiz-item-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.quiz-item-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03); }
.card-info-content { flex: 1; text-align: right; }
.card-quiz-name { font-size: 17px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.card-badges-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.badge-count { background-color: #eff6ff; color: #0b76bc; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.badge-time { font-size: 12px; color: #94a3b8; font-weight: 600; }
.card-action-btns { display: flex; align-items: center; gap: 6px; }
.btn-start-play { background-color: #0b76bc; color: #ffffff; border: none; border-radius: 10px; padding: 8px 16px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px; cursor: pointer; font-family: 'Cairo', sans-serif; transition: background-color 0.2s; }
.btn-start-play:hover { background-color: #095f96; }
.play-icon { width: 16px; height: 16px; fill: #ffffff; }
.btn-card-del { width: 36px; height: 36px; background-color: #fee2e2; border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-card-del svg { width: 16px; height: 16px; fill: #ef4444; }
.btn-card-edit { width: 36px; height: 36px; background-color: #ecfdf5; border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-card-edit svg { width: 16px; height: 16px; fill: #059669; }
.guest-card-box { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 32px 20px; text-align: center; }
.guest-title { font-size: 18px; font-weight: 800; color: #0b76bc; margin-bottom: 8px; }
.guest-desc { font-size: 14px; color: #94a3b8; margin-bottom: 20px; }
.btn-guest-login { display: inline-block; background-color: #0b76bc; color: #ffffff; text-decoration: none; font-weight: 800; padding: 10px 24px; border-radius: 12px; font-size: 14px; }
.official-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.official-sub-desc { font-size: 13px; color: #94a3b8; font-weight: 600; }
.btn-admin-add { background: transparent; border: none; color: #0b76bc; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 4px; cursor: pointer; font-family: 'Cairo', sans-serif; }
.lock-svg { width: 15px; height: 15px; fill: #0b76bc; }
.preview-q-list { max-height: 280px; overflow-y: auto; text-align: right; display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.preview-q-row { padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; font-size: 14.5px; color: #334155; }
.loading-box { display: flex; justify-content: center; padding: 40px 0; }
.spinner { width: 32px; height: 32px; border: 3px solid #e2e8f0; border-top-color: #0b76bc; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 60px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); margin-top: 10px; }
.empty-state-card .empty-text { font-size: 16px; font-weight: 700; color: #64748b; line-height: 1.6; margin: 0 0 20px 0; }
.btn-create-quiz-action { display: inline-flex; align-items: center; justify-content: center; background-color: #0b76bc; color: #ffffff !important; text-decoration: none; font-size: 15px; font-weight: 800; padding: 12px 28px; border-radius: 12px; box-shadow: 0 4px 14px rgba(11, 118, 188, 0.25); transition: all 0.2s ease; font-family: 'Cairo', sans-serif; }
.btn-create-quiz-action:hover { background-color: #095f96; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(11, 118, 188, 0.35); }

/* Profil Düzenleme */
.edit-profile-web-container { max-width: 550px; margin: 30px auto 60px auto; padding: 0 20px; }
.edit-profile-header-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.edit-profile-title { font-size: 22px; font-weight: 800; color: #1e293b; margin: 0; }
.edit-avatar-container { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.avatar-preview-box { width: 100px; height: 100px; border-radius: 50%; background-color: #e2e8f0; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; margin-bottom: 12px; border: 2px solid #e2e8f0; transition: opacity 0.2s; }
.avatar-preview-box:hover { opacity: 0.9; }
.avatar-img-element { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback-dot { width: 24px; height: 24px; background-color: #64748b; border-radius: 50%; }
.btn-change-photo { background: transparent; border: none; color: #0b76bc; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; }
.edit-profile-form { display: flex; flex-direction: column; gap: 18px; }
.form-field-group { text-align: right; }
.field-label { display: block; font-size: 14px; font-weight: 700; color: #64748b; margin-bottom: 8px; }
.profile-input { width: 100%; height: 50px; background-color: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 0 16px; font-size: 15px; font-weight: 600; color: #1e293b; outline: none; box-sizing: border-box; font-family: 'Cairo', sans-serif; transition: border-color 0.2s; }
.profile-input:focus { border-color: #0b76bc; }
.disabled-input-wrapper { position: relative; display: flex; align-items: center; }
.disabled-field { background-color: #f1f5f9 !important; color: #94a3b8 !important; cursor: not-allowed; padding-left: 45px; text-align: left; }
.lock-field-icon { position: absolute; left: 14px; width: 20px; height: 20px; fill: #94a3b8; pointer-events: none; }
.profile-action-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.btn-save-profile-action { width: 100%; height: 52px; background-color: #0b76bc; color: #ffffff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'Cairo', sans-serif; transition: background-color 0.2s; }
.btn-save-profile-action:hover { background-color: #095f96; }
.btn-cancel-profile-action { width: 100%; height: 50px; background: transparent; border: 1.5px solid #0b76bc; color: #0b76bc; border-radius: 12px; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; font-family: 'Cairo', sans-serif; transition: background-color 0.2s; }
.btn-cancel-profile-action:hover { background-color: #f0f7fc; }

/* Ayarlar & Diyaloglar */
.settings-web-container { max-width: 600px; margin: 30px auto 60px auto; padding: 0 20px; }
.settings-page-title { font-size: 22px; font-weight: 800; color: #1e293b; margin: 0; }
.settings-group-section { margin-bottom: 25px; }
.settings-group-heading { font-size: 15px; font-weight: 800; color: #1e293b; text-align: right; margin-bottom: 10px; }
.settings-rounded-card { background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015); }
.settings-item-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background-color 0.2s; user-select: none; }
.settings-item-row:last-child { border-bottom: none; }
.settings-item-row:hover { background-color: #f8fafc; }
.settings-item-text { font-size: 15px; font-weight: 700; color: #1e293b; }
.settings-item-left { display: flex; align-items: center; gap: 8px; }
.settings-item-value { font-size: 14px; font-weight: 600; color: #94a3b8; }
.chevron-arrow { width: 18px; height: 18px; fill: #94a3b8; }
.settings-item-with-lock { display: flex; align-items: center; gap: 8px; }
.text-muted-custom { color: #64748b !important; }
.lock-amber-icon { width: 16px; height: 16px; fill: #f59e0b; }
.badge-soon { background-color: #fef3c7; color: #d97706; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 6px; }
.destructive-row:hover { background-color: #fef2f2; }
.text-danger { color: #ef4444 !important; }
.icon-danger { fill: #ef4444 !important; }
.settings-action-box { margin-top: 35px; }
.btn-settings-save { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; background: transparent; border: 1.5px solid #0b76bc; color: #0b76bc; border-radius: 12px; font-size: 16px; font-weight: 800; text-decoration: none; box-sizing: border-box; font-family: 'Cairo', sans-serif; transition: all 0.2s; }
.btn-settings-save:hover { background-color: #eaf4fc; }
.dialog-card-scroll { max-width: 440px !important; }
.dialog-scroll-body { max-height: 320px; overflow-y: auto; text-align: right; margin-bottom: 20px; }
.dialog-text-para { font-size: 14.5px; line-height: 1.8; color: #334155; margin-bottom: 12px; }
.dialog-text-list { padding-right: 18px; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #475569; line-height: 1.7; }
.about-logo-center { display: flex; justify-content: center; margin-bottom: 12px; }
.about-app-logo { height: 48px; object-fit: contain; }
.about-team-box { background-color: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; padding: 14px; font-size: 13.5px; font-weight: 700; color: #0b76bc; line-height: 1.8; text-align: center; margin: 16px 0; }
.app-version-tag { font-size: 13px; font-weight: 800; color: #64748b; text-align: center; margin: 4px 0; }
.app-copyright-tag { font-size: 12px; color: #94a3b8; text-align: center; margin: 0; }
.support-email-badge { background-color: #f1f5f9; border-radius: 10px; padding: 12px; font-size: 16px; font-weight: 800; color: #0b76bc; text-align: center; margin-bottom: 20px; direction: ltr; }

/* Katılma */
.join-quiz-container { max-width: 500px; margin: 30px auto 60px auto; }
.join-step-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; }
.join-code-card { width: 100%; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 32px 16px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; margin-bottom: 20px; }
.join-code-label { font-size: 16px; font-weight: 800; color: #0b76bc; margin-bottom: 24px; }
.pin-inputs-row { display: flex; gap: 8px; justify-content: center; width: 100%; }
.pin-box { width: 48px; height: 56px; background-color: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 12px; font-size: 24px; font-weight: 900; color: #1e293b; text-align: center; outline: none; font-family: 'Cairo', sans-serif; transition: all 0.2s; box-sizing: border-box; }
.pin-box:focus { border-color: #0b76bc; box-shadow: 0 0 0 3px rgba(11, 118, 188, 0.15); }
.join-error-text { color: #ef4444; font-size: 14px; font-weight: 700; margin: 0 0 20px 0; text-align: center; min-height: 20px; }

/* Bekleme Odası */
.waiting-room-body { background-color: #ffffff; margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.waiting-room-container { width: 100%; max-width: 520px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; }
.waiting-spinner { width: 76px; height: 76px; border: 7px solid transparent; border-top-color: #0b76bc; border-radius: 50%; animation: waitingSpin 1.1s cubic-bezier(0.5, 0, 0.5, 1) infinite; margin-bottom: 40px; }
@keyframes waitingSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.waiting-title { font-size: 32px; font-weight: 900; color: #1e293b; margin: 0 0 16px 0; line-height: 1.3; }
.waiting-subtitle { font-size: 16px; color: #94a3b8; font-weight: 600; margin: 0 0 40px 0; line-height: 1.6; }
.pin-badge-box { background-color: #f1f5f9; border-radius: 12px; padding: 12px 28px; font-size: 17px; font-weight: 700; color: #0b76bc; display: inline-flex; align-items: center; gap: 6px; direction: rtl; user-select: all; }
.pin-badge-box strong { font-weight: 800; letter-spacing: 1px; }

/* Host Lobi */
.host-lobby-container { max-width: 580px; margin: 20px auto 40px auto; display: flex; flex-direction: column; min-height: calc(100vh - 100px); }
.host-pin-section { display: flex; flex-direction: column; align-items: center; margin-top: 15px; margin-bottom: 25px; }
.host-pin-subtitle { font-size: 15px; font-weight: 600; color: #64748b; margin-bottom: 12px; }
.host-pin-display-card { width: 100%; background-color: #f4f9ff; border: 2px solid #0b76bc; border-radius: 18px; padding: 20px 0; text-align: center; box-sizing: border-box; }
.host-pin-number { font-size: 52px; font-weight: 900; color: #0b76bc; letter-spacing: 8px; margin: 0; font-family: 'Cairo', sans-serif; line-height: 1.1; }
.host-pin-help-text { font-size: 14px; color: #94a3b8; margin: 12px 0 0 0; }
.players-header-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 16px; }
.players-heading-title { font-size: 18px; font-weight: 800; color: #1e293b; margin: 0; }
.players-count-badge { background-color: #e5f1fb; color: #0b76bc; font-size: 16px; font-weight: 800; padding: 4px 16px; border-radius: 12px; min-width: 24px; text-align: center; }
.players-list-scrollarea { flex: 1; min-height: 180px; max-height: 320px; overflow-y: auto; margin-bottom: 20px; width: 100%; }
.empty-players-box { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 16px; font-weight: 600; }
.players-grid-list { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.player-join-card { display: flex; align-items: center; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); }
.player-avatar-circle { width: 40px; height: 40px; border-radius: 50%; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; margin-left: 14px; }
.player-icon-svg { width: 22px; height: 22px; fill: #64748b; }
.player-name-text { font-size: 16px; font-weight: 700; color: #1e293b; }
.host-lobby-bottom-action { width: 100%; margin-top: auto; }
.btn-start-game { width: 100%; height: 56px; border: none; border-radius: 14px; font-size: 18px; font-weight: 800; font-family: 'Cairo', sans-serif; cursor: not-allowed; background-color: #cbd5e1; color: #ffffff; transition: all 0.2s; }
.btn-start-game.active { background-color: #0b76bc; cursor: pointer; }
.btn-start-game.active:hover { background-color: #095f96; }

/* ==========================================================================
   QUIZ GAME SCREEN (İZOLE EDİLMİŞ CANLI OYUN EKRANI)
   ========================================================================== */
body.game-play-screen {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.game-play-screen .game-root-column {
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.game-play-screen .top-row-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-play-screen .txt-score { font-size: 16px; font-weight: 700; color: #00897b; }
.game-play-screen .txt-question-counter { font-size: 16px; font-weight: 700; color: #0b76bc; }
.game-play-screen .spacer-20 { width: 100%; height: 20px; flex-shrink: 0; }

.game-play-screen .timer-compose-box {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.game-play-screen .timer-compose-svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.game-play-screen .timer-bg-track { fill: none; stroke: #e5e7eb; stroke-width: 4.5; }
.game-play-screen .timer-progress-bar { fill: none; stroke: #0b76bc; stroke-width: 4.5; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.game-play-screen .timer-column-text { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.game-play-screen .timer-seconds-num { font-size: 24px; font-weight: 900; color: #0b76bc; line-height: 1; }
.game-play-screen .timer-seconds-unit { font-size: 12px; color: #0b76bc; font-weight: 600; margin-top: 2px; }

.game-play-screen .question-compose-card {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background-color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.game-play-screen .question-compose-text { font-size: 19px; font-weight: 900; color: #1a202c; line-height: 1.4; margin: 0; }
.game-play-screen .content-area-wrapper { width: 100%; display: flex; flex-direction: column; }
.game-play-screen .mc-options-column { width: 100%; display: flex; flex-direction: column; gap: 8px; }

.game-play-screen .mc-card-row {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    user-select: none;
}

.game-play-screen .mc-card-row.selected { background-color: #eff6ff; border: 2px solid #0b76bc; }
.game-play-screen .mc-card-row.correct { background-color: #d1fae5; border: 2px solid #10b981; }
.game-play-screen .mc-card-row.wrong { background-color: #fee2e2; border: 2px solid #ef4444; }

.game-play-screen .mc-label-text { font-size: 15px; font-weight: 700; color: #1a202c; flex: 1; text-align: right; }
.game-play-screen .mc-card-row.selected .mc-label-text { color: #0b76bc; font-weight: 900; }
.game-play-screen .mc-card-row.correct .mc-label-text { color: #065f46; font-weight: 900; }
.game-play-screen .mc-card-row.wrong .mc-label-text { color: #991b1b; font-weight: 900; }

.game-play-screen .mc-circle-indicator {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-sizing: border-box;
}

.game-play-screen .mc-card-row.selected .mc-circle-indicator { border-color: #0b76bc; background-color: #0b76bc; box-shadow: inset 0 0 0 3px #eff6ff; }
.game-play-screen .mc-card-row.correct .mc-circle-indicator { border-color: #10b981; background-color: #10b981; box-shadow: inset 0 0 0 3px #d1fae5; }
.game-play-screen .mc-card-row.wrong .mc-circle-indicator { border-color: #ef4444; background-color: #ef4444; box-shadow: inset 0 0 0 3px #fee2e2; }

.game-play-screen .tf-compose-row { width: 100%; display: flex; gap: 16px; }
.game-play-screen .tf-card-btn {
    flex: 1;
    height: 150px;
    background-color: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.game-play-screen .tf-card-btn.selected { background-color: #eff6ff; border: 3px solid #0b76bc; }
.game-play-screen .tf-card-btn.correct { background-color: #d1fae5; border: 3px solid #10b981; }
.game-play-screen .tf-card-btn.wrong { background-color: #fee2e2; border: 3px solid #ef4444; }
.game-play-screen .tf-icon-svg { width: 38px; height: 38px; stroke-width: 3; }
.game-play-screen .tf-text-title { font-size: 22px; font-weight: 900; color: #4b5563; margin-top: 4px; }
.game-play-screen .tf-card-btn.selected .tf-text-title { color: #0b76bc; }
.game-play-screen .tf-card-btn.correct .tf-text-title { color: #065f46; }
.game-play-screen .tf-card-btn.wrong .tf-text-title { color: #991b1b; }

.game-play-screen .short-compose-wrapper { width: 100%; display: flex; flex-direction: column; }
.game-play-screen .short-textarea-compose { width: 100%; min-height: 120px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; font-size: 18px; font-weight: 700; color: #000000; background-color: #ffffff; outline: none; resize: none; box-sizing: border-box; }
.game-play-screen .short-textarea-compose:focus { border-color: #0b76bc; }
.game-play-screen .short-textarea-compose::placeholder { color: #9ca3af; font-weight: 500; }
.game-play-screen .btn-compose-submit { width: 100%; height: 56px; border-radius: 12px; background-color: #0b76bc; color: #ffffff; font-size: 18px; font-weight: 700; border: none; cursor: pointer; margin-top: 16px; }
.game-play-screen .btn-compose-submit:disabled { background-color: #e5e7eb; color: #9ca3af; cursor: not-allowed; }
.game-play-screen .short-received-box { width: 100%; background-color: #eff6ff; border: 1px solid #0b76bc; border-radius: 12px; padding: 20px; text-align: center; color: #0b76bc; font-size: 16px; font-weight: 700; }
.game-play-screen .bottom-waiting-box { margin-top: auto; padding-top: 24px; width: 100%; }
.game-play-screen .waiting-banner-compose { width: 100%; background-color: #eff6ff; border: 1px solid #0b76bc; border-radius: 12px; padding: 16px; text-align: center; color: #0b76bc; font-size: 15px; font-weight: 700; }

.dialog-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.4); display: none; align-items: center; justify-content: center; z-index: 99999; padding: 24px; }
.dialog-backdrop.open { display: flex; }
.dialog-card { background-color: #ffffff; border-radius: 16px; padding: 24px; width: 100%; max-width: 400px; text-align: right; }
.dialog-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.dialog-desc { font-size: 16px; color: #4b5563; margin-bottom: 24px; line-height: 1.5; }
.dialog-btn-row { display: flex; justify-content: flex-end; gap: 12px; }
.dialog-btn { height: 44px; padding: 0 20px; border-radius: 12px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; }
/* ==========================================================================
   9. شاشة انتظار وتقييم الطلاب (Student Leaderboard & Evaluating View)
   ========================================================================== */

/* Öğrenci Liderlik Tablosu Ana Kapsayıcı */
#leaderboardView {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

/* Kısa Cevaplar İçin Öğretmen Değerlendirmesini Bekleme Ekranı */
#evaluatingView {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    flex: 1;
}

#evaluatingView p {
    font-size: 20px;
    font-weight: 800;
    color: #0b76bc;
    margin-top: 32px;
    line-height: 1.5;
}

/* Öğrenci Ekranı Alt Bilgi Kutusu (Sansür Kalkması Bekleniyor) */
.student-bottom-status {
    background-color: #F9FAFB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #E5E7EB;
}

#bottomStatusText {
    font-size: 13px;
    color: #6B7280;
    font-weight: 600;
}