/* ATLAS EĞİTİM PORTALI V11 - TAM OPTİMİZE EDİLMİŞ CSS */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --info: #3b82f6;
    --info-dark: #2563eb;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --black: #000000;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --sidebar-width: 280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.atlas-panel-root {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* === Portal Overlay & Sidebar Close (Dashboard offcanvas destek) === */
.atlas-menu-overlay{display:none;}
.atlas-sidebar-close{display:none;}
/* === SIDEBAR - MOBİL UYUMLU === */
.atlas-panel-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 32px 20px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    scrollbar-width: thin;
    transition: transform 0.3s ease;
}

.atlas-panel-sidebar::-webkit-scrollbar {
    width: 6px;
}

.atlas-panel-sidebar::-webkit-scrollbar-track {
    background: var(--gray-800);
}

.atlas-panel-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

.atlas-logo-box {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.atlas-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}

.atlas-logo-text {
    margin-left: 16px;
}

.atlas-logo-title {
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.atlas-logo-sub {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
    font-weight: 400;
}

.atlas-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.atlas-nav li {
    margin-bottom: 8px;
    position: relative;
}

.atlas-nav a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    gap: 12px;
}

.atlas-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.atlas-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transform: translateX(8px);
}

.atlas-nav a:hover::before {
    opacity: 1;
}

.atlas-nav li.active a {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--white);
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.atlas-nav li.active a::before {
    opacity: 1;
    width: 6px;
}

/* Sidebar geliştirici etiketi (Çıkış Yap altı) */
.atlas-nav .atlas-nav-credit{
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.atlas-nav .atlas-nav-credit-inner{
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
}
.atlas-nav .atlas-nav-credit-label{
    display:block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 4px;
}
.atlas-nav .atlas-nav-credit-name{
    display:block;
    font-size: 12px;
    font-weight: 800;
    color: var(--white);
    opacity: 0.92;
}

/* === MOBİL TOGGLE BUTONU === */
.atlas-mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.atlas-mobile-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.atlas-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.atlas-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.atlas-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* === ANA İÇERİK === */
.atlas-panel-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--sidebar-width);
    padding: 32px;
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}


.atlas-announcement-bar {
    background: #1d4ed8;
    color: #ffffff;
    padding: 6px 0;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: 12px;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    position: relative;
}
.atlas-announcement-label {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.atlas-announcement-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}

.atlas-announcement-label-text {
    opacity: 0.95;
}

.atlas-announcement-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 120px;
    animation: atlas-marquee 25s linear infinite;
}

@media (max-width: 768px) {
    .atlas-announcement-label {
        left: 6px;
        padding: 2px 8px;
        font-size: 10px;
    }
    .atlas-announcement-inner {
        padding-left: 110px;
        font-size: 12px;
    }
}

.atlas-announcement-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: atlas-marquee 25s linear infinite;
}
@keyframes atlas-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.atlas-main-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.atlas-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--success));
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.atlas-main-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.atlas-main-sub {
    margin: 0 0 24px;
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.6;
}

/* === İSTATİSTİK KARTLARI === */
.atlas-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
    width: 100%;
}

.atlas-stat-card {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.atlas-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
}

.atlas-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.atlas-stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.atlas-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === SINAV KARTLARI === */
.atlas-exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
    width: 100%;
}

.atlas-exam-card {
    background: linear-gradient(145deg, var(--white), var(--gray-50));
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Survey cards (Anketler) - daha kompakt ve kart görünüm */
.atlas-survey-card {
    display: flex;
    flex-direction: column;
}

.atlas-survey-card .atlas-exam-meta {
    flex: 1;
}

.atlas-survey-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.atlas-exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.atlas-exam-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
}

.atlas-exam-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.atlas-exam-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--gray-900);
    line-height: 1.4;
    flex: 1;
}

.atlas-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.atlas-badge-new {
    background: linear-gradient(135deg, var(--info), var(--primary-light));
    color: var(--white);
}

.atlas-badge-done {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: var(--white);
}

.atlas-exam-meta {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.atlas-exam-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}


/* === SINAV ÜST ŞERİT / SEKMELER / ARAMA / CHIP & TOOLTIP === */
.atlas-exam-top{
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
    gap:16px;
    flex-wrap: wrap;
}
.atlas-exam-toolbar,
.atlas-training-toolbar{
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap:12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--gray-50);
}
.atlas-exam-tabs,
.atlas-training-tabs{
    display:flex;
    gap:8px;
    flex-wrap: wrap;
}
.atlas-exam-tab,
.atlas-training-tab{
    appearance:none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    cursor:pointer;
    transition: all .2s ease;
    box-shadow: var(--shadow-sm);
}
.atlas-exam-tab:hover,
.atlas-training-tab:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.atlas-exam-tab.is-active,
.atlas-training-tab.is-active{
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: var(--white);
}
.atlas-exam-tab-count,
.atlas-training-tab-count{opacity:.9; font-weight: 600;}
.atlas-exam-search input,
.atlas-training-search input{
    width: 260px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    outline: none;
}
.atlas-exam-search input:focus,
.atlas-training-search input:focus{
    border-color: rgba(79,70,229,.55);
    box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.atlas-exam-section,
.atlas-training-section{ display:none; }
.atlas-exam-section.is-active,
.atlas-training-section.is-active{ display:block; }

.atlas-exam-chips{
    display:flex;
    flex-wrap: wrap;
    gap:8px;
}
.atlas-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
}
.atlas-chip-warn{
    border-color: rgba(245,158,11,.35);
    background: rgba(245,158,11,.12);
    color: var(--warning-dark);
}
.atlas-chip-ok{
    border-color: rgba(16,185,129,.35);
    background: rgba(16,185,129,.12);
    color: var(--success-dark);
}
.atlas-chip-bad{
    border-color: rgba(239,68,68,.35);
    background: rgba(239,68,68,.12);
    color: var(--danger-dark);
}
.atlas-exam-card-upcoming{
    opacity: .98;
}

/* Tooltip */
.atlas-tip{ position: relative; }
.atlas-tip[data-tip]:hover::after{
    content: attr(data-tip);
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 9999;
    background: rgba(15, 23, 42, .96);
    color: #fff;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}
.atlas-tip[data-tip]:hover::before{
    content:'';
    position:absolute;
    left: 16px;
    top: 100%;
    border: 6px solid transparent;
    border-bottom-color: rgba(15, 23, 42, .96);
}

/* Warn alert helper */
.atlas-alert-warn{
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.25);
    color: var(--gray-800);
}
#atlas-time-limit-badge.is-critical{
    border-color: rgba(239,68,68,.35);
    background: rgba(239,68,68,.12);
    color: var(--danger-dark);
}

/* === BUTONLAR === */
.atlas-btn, .atlas-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
    text-align: center;
    min-width: 120px;
}

.atlas-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.atlas-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.atlas-btn-secondary {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.atlas-btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.atlas-btn-primary {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
}

/* === SINAV EKRANI === */
.atlas-exam-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.atlas-exam-progress {
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.atlas-exam-progress-text {
    font-weight: 600;
    color: var(--gray-700);
    display: block;
    margin-bottom: 8px;
}

.atlas-exam-progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.atlas-exam-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.atlas-exam-questions {
    margin: 24px 0;
}

.atlas-question {
    display: none;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.atlas-question.active {
    display: block;
}

.atlas-question-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.atlas-question-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.atlas-question-options {
    display: grid;
    gap: 12px;
}

.atlas-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.atlas-option:hover {
    border-color: var(--primary-light);
    background: var(--gray-50);
}

.atlas-option input[type="radio"] {
    display: none;
}

.atlas-option input[type="radio"]:checked + .atlas-option-letter {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
}

.atlas-option input[type="radio"]:checked ~ .atlas-option-text {
    color: var(--primary-dark);
    font-weight: 600;
}

.atlas-option-letter {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.atlas-option-text {
    flex: 1;
    font-size: 15px;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.atlas-exam-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--gray-200);
    flex-wrap: wrap;
    gap: 16px;
}

#exam-timer {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === ALERT MESAJLARI === */
.atlas-alert {
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border-left: 6px solid transparent;
    animation: slideIn 0.5s ease;
}

.atlas-alert strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.atlas-alert span {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.atlas-alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-color: var(--success);
    color: var(--success-dark);
}

.atlas-alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border-color: var(--danger);
    color: var(--danger-dark);
}

.atlas-alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border-color: var(--info);
    color: var(--info-dark);
}

/* === EĞİTİM TAMAMLAMA KUTUSU - V11 YENİ ÖZELLİK === */
.atlas-training-completion-box {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: white;
    border-radius: var(--radius-2xl);
    padding: 40px;
    margin: 30px 0;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.atlas-training-completion-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s linear infinite;
    z-index: 0;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, -20px) rotate(360deg); }
}

.atlas-completion-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.atlas-completion-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.atlas-completion-message {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.atlas-completion-certificate {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.atlas-completion-certificate:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === MOBİL TASARIM - OPTİMİZE EDİLDİ === */
@media (max-width: 992px) {
    .atlas-panel-sidebar {
        transform: translateX(-100%);
        z-index: 1001;
    }
    
    .atlas-panel-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .atlas-panel-main {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .atlas-mobile-toggle {
        display: flex;
    }
    
    .atlas-main-card {
        padding: 24px;
    }
    
    .atlas-main-title {
        font-size: 24px;
    }
    
    .atlas-stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .atlas-stat-value {
        font-size: 28px;
    }
    
    .atlas-exam-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .atlas-training-completion-box {
        padding: 30px 20px;
    }
    
    .atlas-completion-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .atlas-exam-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .atlas-exam-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .atlas-exam-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .atlas-btn, .atlas-btn-secondary {
        width: 100%;
        min-width: unset;
    }
    
    .atlas-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .atlas-option-letter {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .atlas-panel-main {
        padding: 16px;
    }
    
    .atlas-main-card {
        padding: 20px;
    }
    
    .atlas-stat-grid {
        grid-template-columns: 1fr;
    }
    
    .atlas-stat-card {
        padding: 20px;
    }
    
    .atlas-completion-icon {
        font-size: 48px;
    }
    
    .atlas-completion-title {
        font-size: 22px;
    }
    
    .atlas-completion-message {
        font-size: 16px;
    }
}

/* === LOADING ANIMASYONU === */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.atlas-loading {
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* === YÖNETİM PANELİ DASHBOARD V3 === */

.atlas-dashboard-main {
    margin-top: 24px;
}

.atlas-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    gap: 24px;
    margin-top: 24px;
}

.atlas-dashboard-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1200px) {
    .atlas-dashboard-grid,
    .atlas-dashboard-bottom {
        grid-template-columns: minmax(0, 1fr);
    }
}

.atlas-dashboard-panel {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 18px 20px 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Panel header */

.atlas-panel-header {
    margin-bottom: 12px;
}

.atlas-panel-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.atlas-panel-sub {
    margin: 0;
    font-size: 13px;
    color: var(--gray-500);
}

/* Meta chips */

.atlas-panel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.atlas-panel-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    font-size: 11px;
    color: var(--gray-700);
    gap: 4px;
}

.atlas-panel-chip strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* Weekly activity chart */

.atlas-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 220px;
    margin-top: 14px;
}

.atlas-chart-bar {
    flex: 1;
    min-width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.atlas-chart-bar-inner {
    width: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.9));
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.atlas-chart-bar-value {
    position: absolute;
    bottom: 100%;
    transform: translateY(-6px);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-800);
}

.atlas-chart-bar-label {
    font-size: 12px;
    color: var(--gray-600);
}

/* Empty text */

.atlas-empty-text {
    font-size: 13px;
    color: var(--gray-500);
    margin: 16px 0 0;
}

/* Top users table */

.atlas-top-users-table-wrapper {
    margin-top: 12px;
    max-height: 260px;
    overflow-y: auto;
}

.atlas-top-users-table {
    width: 100%;
    border-collapse: collapse;
}

.atlas-top-users-table thead th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 10px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-500);
}

.atlas-top-users-table tbody td {
    padding: 8px 10px;
    font-size: 13px;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
}

.atlas-top-users-table tbody tr:nth-child(even) {
    background-color: var(--gray-50);
}

/* Module status & quick links */

.atlas-module-status-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.atlas-module-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 9px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
}

.atlas-module-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
}

.atlas-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.atlas-quick-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(79, 70, 229, 0.35);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.atlas-quick-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Extra spacing tweaks */

.atlas-dashboard-stats {
    margin-bottom: 8px;
}


/* === YÖNETİM PANELİ TABLOLARI (SINAV / EĞİTİM / DOKÜMAN) === */
.atlas-main-card table.widefat {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 12px;
}

.atlas-main-card table.widefat th,
.atlas-main-card table.widefat td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.atlas-main-card table.widefat thead th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.atlas-main-card table.widefat.striped tbody tr:nth-child(even) {
    background-color: var(--gray-50);
}

.atlas-main-card table.widefat tbody tr:hover {
    background-color: rgba(129, 140, 248, 0.06);
}

.atlas-main-card table.widefat .column-title {
    font-weight: 500;
    color: var(--gray-900);
}

.atlas-main-card table.widefat .column-actions a {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    text-decoration: none;
    margin-right: 4px;
}

.atlas-main-card table.widefat .column-actions a.atlas-link-primary {
    background: rgba(79, 70, 229, 0.06);
    color: var(--primary-dark);
}

.atlas-main-card table.widefat .column-actions a.atlas-link-secondary {
    background: rgba(15, 23, 42, 0.03);
    color: var(--gray-700);
}

/* ====================================================================== */
/*  LOGIN VIEW (PHASE-25)                                                 */
/*  - Portal uygulaması gibi modern giriş ekranı                           */
/*  - Shell + shortcode akışı değişmeden, sadece UI iyileştirildi          */
/* ====================================================================== */

.atlas-panel-root.atlas-login-view{
    display:block;
    min-height:100vh;
    position:relative;
    overflow:hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 55%, #ecfeff 100%);
}

.atlas-panel-root.atlas-login-view .atlas-panel-sidebar{display:none !important;}

.atlas-login-bg{
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(800px 420px at 18% 18%, rgba(79, 70, 229, 0.14), transparent 60%),
        radial-gradient(720px 380px at 82% 12%, rgba(6, 182, 212, 0.14), transparent 60%),
        radial-gradient(900px 520px at 70% 88%, rgba(16, 185, 129, 0.10), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
    filter: saturate(1.05);
}

.atlas-login-wrap{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 16px;
}

.atlas-login-grid{
    width:100%;
    max-width:560px;
    display:grid;
    grid-template-columns: 1fr;
    gap:22px;
    align-items:stretch;
}

.atlas-login-hero{display:none; 
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(148,163,184,0.35);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding:28px;
    position:relative;
    overflow:hidden;
}

.atlas-login-hero::after{
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--success));
    opacity:0.9;
}

.atlas-login-brand{
    display:flex;
    align-items:center;
    gap:14px;
    padding-top:10px; /* gradient bar boşluğu */
}

.atlas-logo-image--login img{
    display:block;
    width:72px;
    height:auto;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.atlas-login-brand-title{
    font-weight:900;
    font-size:24px;
    letter-spacing:-0.4px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-600));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.atlas-login-brand-sub{
    margin-top:6px;
    color: var(--gray-600);
    font-size:13px;
    font-weight:600;
}

.atlas-login-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:16px 0 14px;
}

.atlas-login-badge{
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    border-radius: var(--radius-full);
    font-size:12px;
    font-weight:800;
    border: 1px solid rgba(148,163,184,0.35);
    background: rgba(255,255,255,0.75);
    color: var(--gray-700);
}

.atlas-login-badge--primary{
    background: rgba(79,70,229,0.10);
    border-color: rgba(79,70,229,0.22);
    color: var(--primary-dark);
}

.atlas-login-badge--soft{
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.08);
}

.atlas-login-hero-desc{
    color: var(--gray-700);
    line-height:1.65;
    font-size:14px;
    margin: 8px 0 16px;
}

.atlas-login-features{
    list-style:none;
    padding:0;
    margin:0 0 16px;
    display:grid;
    gap:10px;
}

.atlas-login-features li{
    display:flex;
    align-items:center;
    gap:10px;
    color: var(--gray-800);
    font-weight:700;
    font-size:13px;
}

.atlas-login-dot{
    width:10px;
    height:10px;
    border-radius: var(--radius-full);
    display:inline-block;
    box-shadow: 0 0 0 4px rgba(148,163,184,0.12);
}

.atlas-login-dot--success{background: var(--success);}
.atlas-login-dot--info{background: var(--info);}
.atlas-login-dot--warning{background: var(--warning);}

.atlas-login-note{
    padding:12px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148,163,184,0.35);
    background: rgba(255,255,255,0.78);
    color: var(--gray-700);
    font-size:13px;
    line-height:1.6;
}

.atlas-login-card{
    max-width:none;
    margin-bottom:0;
}

.atlas-login-card-head{
    margin-bottom:18px;
    padding-top:6px; /* .atlas-main-card gradient bar boşluğu */
}

.atlas-login-title{
    font-weight:900;
    font-size:18px;
    margin:0 0 6px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-600));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.atlas-login-desc{
    margin:0;
    color: var(--gray-600);
    font-weight:600;
    font-size:13px;
}

.atlas-login-view #loginform p{ margin-bottom:16px; }

.atlas-login-view #loginform label{
    display:block;
    font-weight:800;
    color: var(--gray-700);
    margin-bottom:8px;
    font-size:13px;
}

.atlas-login-view #loginform input[type="text"],
.atlas-login-view #loginform input[type="password"]{
    width:100%;
    padding:12px;
    border:1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    background: rgba(255,255,255,0.92);
}

.atlas-login-view #loginform input[type="text"]:focus,
.atlas-login-view #loginform input[type="password"]:focus{
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
    outline:none;
}

.atlas-login-view #loginform .forgetmenot{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color: var(--gray-700);
    margin-top: -2px;
}

.atlas-login-view #loginform .forgetmenot label{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    font-weight:700;
}

.atlas-login-view #loginform .button-primary{
    width:100%;
    padding:12px 24px;
    border-radius: var(--radius-lg);
    font-size:16px;
    font-weight:900;
    border:none;
    cursor:pointer;
    text-decoration:none;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.atlas-login-view #loginform .button-primary:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.atlas-login-links{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top: 12px;
    color: var(--gray-600);
    font-weight:700;
    font-size:12px;
}

.atlas-login-links .atlas-link{
    color: var(--primary-dark);
    text-decoration:none;
}

.atlas-login-links .atlas-link:hover{
    text-decoration:underline;
}

.atlas-login-sep{opacity:0.55;}

.atlas-footer-credit-wrapper--login{ margin-top: 16px; }

@media (max-width: 980px){
    .atlas-login-grid{ grid-template-columns:1fr; }
    .atlas-login-hero{ order:2; }
    .atlas-login-card{ order:1; }
}


/* =====================================================================
   PHASE-15: INLINE STYLE TEMİZLİĞİ (Exam Form + Modal + Loading)
   ===================================================================== */

/* Exam builder table */
.atlas-exam-table { width: 100%; border-collapse: collapse; }
.atlas-exam-table th, .atlas-exam-table td { padding: 12px; border: 1px solid var(--gray-200); text-align: left; }
.atlas-exam-table th { background-color: var(--gray-50); font-weight: 600; }
.atlas-exam-table input,
.atlas-exam-table textarea,
.atlas-exam-table select { width: 100%; padding: 8px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); }

/* Question analysis blocks (portal içi) */
.atlas-question-analysis { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.atlas-question-analysis:last-child { border-bottom: none; }
.question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 15px; gap: 15px; }
.correct-rate { color: #fff; padding: 4px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; white-space: nowrap; }
.answer-bars { display: flex; flex-direction: column; gap: 10px; }
.answer-bar-wrapper { display: grid; grid-template-columns: minmax(120px, 2fr) 3fr 1fr; align-items: center; gap: 15px; font-size: 13px; }
.answer-bar-wrapper.correct .answer-label { font-weight: 700; color: var(--success-dark); }
.answer-label .dashicons { color: var(--success); font-size: 16px; vertical-align: middle; }
.bar-container { background-color: var(--gray-100); border-radius: var(--radius-sm); height: 20px; overflow: hidden; }
.bar { height: 100%; background: linear-gradient(90deg, var(--gray-300), var(--gray-400)); border-radius: var(--radius-sm); transition: width 0.5s ease; }
.answer-bar-wrapper.correct .bar { background: linear-gradient(90deg, var(--success), #6ee7b7); }
.bar-stats { font-weight: 500; color: var(--gray-600); white-space: nowrap; }

/* Modal */
.atlas-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.atlas-modal { background: #fff; border-radius: 24px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.atlas-modal-header { padding: 24px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.atlas-modal-header h3 { margin: 0; color: #0f172a; }
.atlas-modal-close { background: none; border: none; font-size: 28px; color: #64748b; cursor: pointer; line-height: 1; }
.atlas-modal-body { padding: 24px; }
.atlas-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.atlas-detail-row:last-child { border-bottom: none; }
.atlas-detail-label { font-weight: 600; color: #334155; }
.atlas-detail-value { font-weight: 700; color: var(--primary); }
.atlas-modal-footer { padding: 24px; border-top: 1px solid #e2e8f0; text-align: right; }

/* Loading overlay */
.atlas-loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; z-index: 9999; }


/* ====================================================================== */
/*  MAIL DOĞRULAMA (FAZ-6 / Parça-10)                                      */
/* ====================================================================== */

.atlas-verify-banner{
    margin: 14px 0 18px 0;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    font-weight: 600;
    font-size: 14px;
}

.atlas-verify-banner--ok{
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.06));
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--success-dark);
}

.atlas-verify-banner--warn{
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.06));
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--warning-dark);
}

.atlas-verify-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    margin-top: 10px;
}

.atlas-verify-actions .atlas-btn,
.atlas-verify-actions .atlas-btn-secondary{
    flex:1 1 180px;
    min-width: 180px;
}

.atlas-verify-msg{
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    min-height: 18px;
}

.atlas-verify-msg.ok{ color: var(--success-dark); }
.atlas-verify-msg.err{ color: var(--danger-dark); }
.atlas-verify-msg.warn{ color: var(--warning-dark); }

.atlas-verify-view .atlas-login-card{
    position:relative;
}

.atlas-verify-view #atlas-resend-verify.is-loading{
    opacity: 0.85;
}


/* =========================================================
   Phase-31: Yönetici Portalı Durum Rozetleri (Aktif/Pasif)
   ========================================================= */
.atlas-badge-success {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: var(--white);
}

.atlas-badge-danger {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: var(--white);
}

.atlas-badge-muted {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

/* Mini badge standardı (Yayım/Taslak + Aktif/Pasif + bağlam) */
.atlas-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.atlas-mini-badge-success {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: var(--white);
}

.atlas-mini-badge-danger {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: var(--white);
}

.atlas-mini-badge-warning {
    background: linear-gradient(135deg, var(--warning), var(--warning-dark));
    color: var(--white);
}

.atlas-mini-badge-muted {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}



/* === TR-READTIME: eğitim içerik süresi widget + kilitli buton === */
.atlas-training-readtime{margin-top:14px;padding:12px;border:1px solid var(--gray-200);border-radius:12px;background:rgba(255,255,255,.6);}
.atlas-training-readtime .atlas-rt-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.atlas-training-readtime .atlas-rt-pill{display:flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--gray-200);border-radius:999px;background:#fff;font-size:13px;color:var(--gray-700);}
.atlas-training-readtime .atlas-rt-pill strong{font-weight:800;letter-spacing:.3px;}
.atlas-training-readtime .atlas-rt-message{margin-top:10px;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.4;border:1px solid var(--gray-200);}
.atlas-training-readtime .atlas-rt-message.atlas-rt-warn{background:rgba(255,193,7,.12);border-color:rgba(255,193,7,.35);}
.atlas-training-readtime .atlas-rt-message.atlas-rt-error{background:rgba(220,53,69,.10);border-color:rgba(220,53,69,.30);}
.atlas-btn-disabled{opacity:.55;pointer-events:auto;cursor:not-allowed;}


/* =====================================================================
   [TR-STEP] Eğitim kartı stepper (Ön Test → İçerik → Son Test)
   ===================================================================== */
.atlas-tr-stepper{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 6px;font-size:12px;color:#64748b}
.atlas-tr-step{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;line-height:1}
.atlas-tr-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;display:inline-block}
.atlas-tr-step-done{color:#16a34a;border-color:#bbf7d0;background:#f0fdf4}
.atlas-tr-step-done .atlas-tr-dot{background:#16a34a}
.atlas-tr-step-active{color:#2563eb;border-color:#bfdbfe;background:#eff6ff}
.atlas-tr-step-active .atlas-tr-dot{background:#2563eb}
.atlas-tr-step-locked{color:#b91c1c;border-color:#fecaca;background:#fef2f2}
.atlas-tr-step-locked .atlas-tr-dot{background:#b91c1c}
.atlas-tr-step-skip{opacity:.55}
.atlas-tr-badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}


/* =====================================================================
   [RP-STUDIO] Rapor Stüdyosu UI temizliği (grid + toggle + daha kompakt)
   ===================================================================== */
.atlas-rs-card{ padding:24px; }
.atlas-rs-title{ font-size:24px; margin-bottom:8px; }
.atlas-rs-sub{ margin:0 0 14px; font-size:13px; color: var(--gray-500); }

.atlas-rs-form{ margin:0; }
.atlas-rs-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  align-items:end;
}
.atlas-rs-field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.atlas-rs-field--span2{ grid-column: span 2; }

.atlas-rs-label{ font-size:12px; font-weight:800; color: var(--gray-600); }
.atlas-rs-hint{ font-size:11px; color: var(--gray-500); margin-top:2px; }

.atlas-rs-control{
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--gray-200);
  background:#fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  outline:none;
  font-size:13px;
  color: var(--gray-700);
  width:100%;
}
.atlas-rs-control:focus{
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.atlas-rs-multi{
  height:auto;
  min-height:170px;
  padding:10px;
}

.atlas-rs-modules{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px;
  border:1px solid var(--gray-200);
  border-radius:14px;
  background: rgba(255,255,255,.8);
}
.atlas-rs-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--gray-200);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  user-select:none;
  font-size:13px;
  color: var(--gray-700);
}
.atlas-rs-chip input{ margin:0; }

.atlas-rs-entities{ margin-top:12px; }
.atlas-rs-entities-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}

.atlas-rs-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.atlas-rs-muted{
  margin-left:auto;
  font-size:12px;
  color: var(--gray-500);
}

@media (max-width: 1100px){
  .atlas-rs-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-rs-field--span2{ grid-column: span 2; }
  .atlas-rs-entities-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .atlas-rs-grid{ grid-template-columns: 1fr; }
  .atlas-rs-field--span2{ grid-column: span 1; }
  .atlas-rs-muted{ margin-left:0; width:100%; }
}

/* Rapor türü sekmeleri (Toplu / Kullanıcı Bazlı / ...) */
.atlas-rs-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.atlas-rs-tab{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--gray-200);
  background:#fff;
  color: var(--gray-800);
  font-weight:800;
  text-decoration:none;
}
.atlas-rs-tab:hover{ background: rgba(79, 70, 229, 0.08); }
.atlas-rs-tab.is-active{
  background:#0ea5e9;
  color:#fff;
  border-color:#0ea5e9;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.18);
}

/* Üst sekmeler (Rapor Stüdyosu / Legacy) */
.atlas-rp-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.atlas-rp-tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--gray-200);
  background:#fff;
  color: var(--gray-800);
  font-weight:800;
  text-decoration:none;
}
.atlas-rp-tab:hover{ background: rgba(79, 70, 229, 0.08); }
.atlas-rp-tab.is-active{
  background:#0ea5e9;
  color:#fff;
  border-color:#0ea5e9;
}


/* ============================
   Rapor Stüdyosu - Katalog UI
   ============================ */
.atlas-rs-report-info{
  margin-top:10px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:16px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
}
.atlas-rs-report-name{
  font-weight:800;
  font-size:15px;
  margin-bottom:6px;
  color:#0f172a;
}
.atlas-rs-report-desc{
  font-size:12px;
  color:#475569;
  margin-bottom:10px;
  line-height:1.5;
}
.atlas-rs-report-cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
@media (max-width: 980px){
  .atlas-rs-report-cols{ grid-template-columns: 1fr; }
}
.atlas-rs-report-col{
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.7);
}
.atlas-rs-report-col-title{
  font-weight:700;
  font-size:12px;
  margin-bottom:6px;
  color:#0f172a;
}
.atlas-rs-report-col ul{
  margin:0;
  padding-left:18px;
  color:#334155;
  font-size:12px;
  line-height:1.4;
}
.atlas-rs-report-col li{ margin:3px 0; }

.atlas-rs-report-selected{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
}
.atlas-rs-report-selected__label{ font-size:12px; color:#475569; }
.atlas-rs-report-selected__name{ font-weight:800; color:#0f172a; }

/* Multi-select UX (arama + temizle) */
.atlas-rs-multi-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.atlas-rs-multi-search{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
}
.atlas-rs-multi{
  min-height:160px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.85);
}
.atlas-rs-multi option{ padding:4px 6px; }
.atlas-rs-multi-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.atlas-rs-multi-summary{
  font-size:12px;
  color:#475569;
}


/* [PARCA-16] Login ekranı sadeleştirme */
.atlas-logo-image--login-small{
    display:flex;
    justify-content:center;
    margin-bottom:12px;
}
.atlas-logo-image--login-small img{
    width:64px;
}

/* Login logo: daha büyük ve dengeli (mobil uyumlu) */
.atlas-login-view .atlas-logo-image--login{
    display:flex;
    justify-content:center;
    margin-bottom:14px;
}
.atlas-login-view .atlas-logo-image--login img{
    width: min(220px, 70vw);
    max-width: 220px;
    max-height: 96px;
    height: auto;
    border-radius: 16px;
}
@media (max-width: 768px){
    .atlas-login-view .atlas-logo-image--login img{
        width: min(180px, 78vw);
        max-width: 180px;
        max-height: 84px;
        border-radius: 14px;
    }
}

/* Login footer credit: slider ilerledikçe harf harf oluşum + doğrulamada hafif parlama */
.atlas-login-view .atlas-footer-credit--type{
    position: relative;
    overflow: hidden;
}
.atlas-login-view .atlas-footer-credit--type .atlas-credit-text{
    white-space: nowrap;
}
.atlas-login-view .atlas-footer-credit--type .atlas-credit-cursor{
    display:inline-block;
    width:8px;
    height:8px;
    margin-left:6px;
    border-radius:999px;
    background: rgba(255,255,255,0.9);
    opacity: 0;
}
.atlas-login-view .atlas-footer-credit--type:not(.is-full) .atlas-credit-cursor{
    opacity: 1;
    animation: atlas-credit-cursor 1s steps(1, end) infinite;
}
@keyframes atlas-credit-cursor{
    0%,49%{ opacity: 1; }
    50%,100%{ opacity: 0; }
}
.atlas-login-view .atlas-footer-credit--type::after{
    content:'';
    position:absolute;
    inset:-2px;
    border-radius:999px;
    pointer-events:none;
    opacity:0;
    box-shadow: 0 0 0 rgba(255,255,255,0), 0 10px 28px rgba(99, 102, 241, 0);
}
.atlas-login-view .atlas-footer-credit--type.is-verified::after{
    animation: atlas-credit-glow 650ms ease-out 1;
}
@keyframes atlas-credit-glow{
    0%{ opacity:0; box-shadow: 0 0 0 rgba(255,255,255,0), 0 10px 28px rgba(99, 102, 241, 0); }
    30%{ opacity:1; box-shadow: 0 0 0 0 rgba(255,255,255,0.25), 0 10px 28px rgba(99, 102, 241, 0.65); }
    100%{ opacity:0; box-shadow: 0 0 0 18px rgba(255,255,255,0), 0 10px 28px rgba(99, 102, 241, 0); }
}

/* ====================================================================== */
/*  PORTAL LOGIN - HUMAN VERIFICATION (Slider)                             */
/* ====================================================================== */

.atlas-login-view .atlas-human-p{ margin-bottom: 14px; }

.atlas-login-view .atlas-human-label{
    display:block;
    font-weight:800;
    color: var(--gray-700);
    margin-bottom:8px;
    font-size:13px;
}

.atlas-login-view .atlas-human-box{
    position: relative;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 10px 12px;
    background: rgba(255,255,255,0.92);
    display:flex;
    flex-direction:column;
    gap:8px;
    transition: all 0.25s ease;
}

.atlas-login-view .atlas-human-status{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height: 16px;
    font-weight:800;
    font-size:12px;
    color: var(--gray-700);
    text-align:center;
}

.atlas-login-view .atlas-human-status-msg{
    display:block;
}

.atlas-login-view .atlas-human-status-sig{
    display:none;
    font-weight:900;
    letter-spacing:0.15px;
    white-space:nowrap;
}

.atlas-login-view .atlas-human-range{ width: 100%; }

.atlas-login-view .atlas-human-hint{
    display:block;
    margin-top:8px;
    color: var(--gray-500);
    font-size:11px;
    font-weight:600;
    line-height:1.4;
}

.atlas-login-view .atlas-human-box.is-loading{
    border-color: rgba(59,130,246,0.45);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.atlas-login-view .atlas-human-box.is-ok{
    border-color: rgba(34,197,94,0.45);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.atlas-login-view .atlas-human-box.is-ok .atlas-human-status{ color: var(--success-dark); }

.atlas-login-view .atlas-human-box.is-ok .atlas-human-status-sig{ color: var(--success-dark); }

.atlas-login-view .atlas-human-box.is-bad{
    border-color: rgba(239,68,68,0.50);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}

.atlas-login-view .atlas-human-box.is-bad .atlas-human-status{ color: #b91c1c; }

.atlas-login-view .atlas-human-range:disabled{
    opacity: 0.65;
    cursor: not-allowed;
}

/* ====================================================================== */
/*  PORTAL FOOTER CREDIT (Kullanıcı ekranı)                                */
/* ====================================================================== */

.atlas-footer-credit-wrapper{
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(15,23,42,0.08);
}

.atlas-footer-credit{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(99,102,241,0.10);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    color: var(--gray-700);
    font-weight: 800;
    font-size: 12px;
}

.atlas-footer-credit .atlas-footer-credit-label{
    font-size: 11px;
    font-weight: 900;
    color: var(--gray-600);
    letter-spacing: 0.03em;
}

.atlas-footer-credit .atlas-footer-credit-name{
    font-weight: 900;
    color: var(--gray-900);
    letter-spacing: 0.01em;
}

@media (max-width: 768px){
    .atlas-footer-credit{
        max-width: 100%;
        flex-wrap: wrap;
        justify-content:center;
    }
}
