﻿:root {
  --brand-900: #0a2540;
  --brand-700: #103a66;
  --brand-500: #1f6feb;
  --brand-300: #6ea8fe;
  --accent: #ff9500;
  --bg: #f4f6fb;
  --card: #ffffff;
}

html { font-size: 15px; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: #1c2430;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { flex: 1 0 auto; }

/* Navbar */
.app-navbar {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
  box-shadow: 0 2px 12px rgba(10, 37, 64, .25);
}
.app-navbar .navbar-brand,
.app-navbar .nav-link-pill { color: #fff; text-decoration: none; }
.nav-link-pill {
  padding: .35rem .7rem; border-radius: 8px; font-size: 1.1rem;
  transition: background .15s;
}
.nav-link-pill:hover { background: rgba(255,255,255,.15); }
.lang-menu { max-height: 60vh; overflow-y: auto; }

.app-footer { background: var(--brand-900); color: rgba(255,255,255,.7); flex-shrink: 0; }

/* Kullanici cipi (navbar) */
.user-chip {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: #fff; padding: .25rem .6rem .25rem .25rem; border-radius: 999px; cursor: pointer;
}
.user-chip:hover { background: rgba(255,255,255,.2); }
.user-chip-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.user-chip-initials {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem;
}
.user-chip-name { font-size: .9rem; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu { min-width: 240px; border: none; box-shadow: 0 10px 30px rgba(16,58,102,.18); border-radius: 14px; padding: .4rem; }
.user-menu-head { padding: .5rem .8rem; }
.user-menu .dropdown-item { border-radius: 8px; padding: .55rem .8rem; }

/* Profil basligi (CV sayfasi) */
.profile-header {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(120deg, var(--brand-900), var(--brand-500)); color: #fff;
  border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: 1.2rem;
}
.profile-header .ph-avatar, .profile-header .ph-avatar-img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.5); flex-shrink: 0;
}
.profile-header .ph-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); font-weight: 800; font-size: 1.3rem;
}
.profile-header .ph-name { font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.profile-header .ph-email { opacity: .85; font-size: .9rem; }

/* Cards */
.card { border: none; border-radius: 16px; box-shadow: 0 6px 22px rgba(16, 58, 102, .08); }
.card-title { font-weight: 700; }

/* Login (personel.com tarzi koyu mavi) */
.auth-hero {
  background: linear-gradient(160deg, #0a2540 0%, #103a66 55%, #1f6feb 130%);
  min-height: calc(100vh - 120px);
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px; padding: 2rem 1rem; color: #fff;
}
.auth-card {
  width: 100%; max-width: 420px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
  padding: 2rem; backdrop-filter: blur(6px);
}
.auth-card h1 { font-size: 1.9rem; font-weight: 800; }
.btn-social {
  width: 100%; padding: .8rem; border-radius: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  border: none; margin-bottom: .8rem;
}
.btn-google { background: #fff; color: #1c2430; }
.btn-apple { background: #000; color: #fff; }
.divider { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.6); margin: 1rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.25); }

/* CV form (personel.com) */
.cv-hero { background: linear-gradient(160deg, #0a2540, #1f6feb); color: #fff; border-radius: 20px 20px 0 0; padding: 1.6rem; }
.form-floating > label { color: #6b7686; }
.form-control, .form-select { border-radius: 12px; padding: .7rem .9rem; border: 1.5px solid #e3e8f0; }
.form-control:focus, .form-select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 .2rem rgba(31,111,235,.15); }
.btn-primary { background: var(--brand-500); border: none; border-radius: 12px; padding: .7rem 1.2rem; font-weight: 600; }
.btn-primary:hover { background: var(--brand-700); }
.btn-accent { background: var(--accent); border: none; color: #fff; border-radius: 12px; padding: .7rem 1.2rem; font-weight: 600; }

.choice-pill { cursor: pointer; }
.choice-pill input { display: none; }
.choice-pill span {
  display: block; padding: .6rem 1rem; border: 1.5px solid #e3e8f0; border-radius: 12px;
  text-align: center; transition: all .15s;
}
.choice-pill input:checked + span { border-color: var(--brand-500); background: rgba(31,111,235,.08); font-weight: 600; }

/* Dashboard */
.stat-card { border-radius: 16px; color: #fff; padding: 1.2rem; }
.stat-card .num { font-size: 2.1rem; font-weight: 800; line-height: 1; }
.stat-card .lbl { opacity: .9; font-size: .85rem; }
.bg-grad-1 { background: linear-gradient(135deg, #1f6feb, #6ea8fe); }
.bg-grad-2 { background: linear-gradient(135deg, #ff9500, #ffb84d); }
.bg-grad-3 { background: linear-gradient(135deg, #16a34a, #4ade80); }
.bg-grad-4 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.badge-status-1 { background: #6b7280; }
.badge-status-2 { background: #f59e0b; }
.badge-status-3 { background: #16a34a; }
.badge-status-4 { background: #dc2626; }

.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #e3e8f0; }

[dir="rtl"] .text-start { text-align: right !important; }

/* CV sayfasi / PDF cikti (kullanici + admin ortak) */
.cv-sheet { background:#fff; max-width:800px; margin:0 auto; border-radius:14px;
    box-shadow:0 6px 22px rgba(16,58,102,.08); overflow:hidden; }
.cv-head { display:flex; gap:20px; align-items:center; padding:28px;
    background:linear-gradient(120deg,#0a2540,#1f6feb); color:#fff; }
.cv-photo img, .cv-photo-ph { width:110px; height:110px; border-radius:50%; object-fit:cover;
    border:3px solid rgba(255,255,255,.6); background:#e3e8f0; }
.cv-photo-ph { display:flex; align-items:center; justify-content:center; font-size:48px; color:#9aa6b6; }
.cv-head-info h1 { margin:0; font-size:1.9rem; font-weight:800; }
.cv-prof { font-size:1.1rem; opacity:.95; }
.cv-country { display:flex; align-items:center; gap:6px; margin-top:6px; opacity:.9; }
.cv-updated { margin-top:6px; font-size:.8rem; opacity:.8; }
.cv-body { padding:24px 28px; }
.cv-section { margin-bottom:22px; }
.cv-section h2 { font-size:.8rem; text-transform:uppercase; letter-spacing:1px;
    color:#1f6feb; border-bottom:2px solid #e3e8f0; padding-bottom:6px; margin-bottom:12px; }
.cv-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; }
.cv-grid > div { display:flex; flex-direction:column; }
.cv-grid .lbl { font-size:.72rem; color:#6b7686; text-transform:uppercase; }
.cv-about { white-space:pre-wrap; line-height:1.6; color:#1c2430; }
.cv-video { width:100%; max-height:320px; border-radius:10px; background:#000; }
.cv-video-link { font-size:.8rem; color:#1f6feb; word-break:break-all; }
.print-only { display:none; }
[dir="rtl"] .cv-head { flex-direction:row-reverse; text-align:right; }

@media print {
    .no-print { display:none !important; }
    .print-only { display:block !important; }
    .app-navbar, .app-footer, nav, footer { display:none !important; }
    body { background:#fff !important; }
    .cv-sheet { box-shadow:none; border-radius:0; max-width:100%; }
    @page { margin:1cm; }
}


/* --- Aday formu: iki adim gostergesi --- */
#stepBar { flex-wrap: wrap; }
.step-chip {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
    background: #eef2f7; color: #6b7686; font-size: .86rem; font-weight: 600;
    border: 1px solid transparent; transition: all .15s ease;
}
.step-chip .n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.35rem; height: 1.35rem; border-radius: 50%;
    background: #c9d3e0; color: #fff; font-size: .78rem;
}
.step-chip.active { background: #e7f0ff; color: #1f6feb; border-color: #b9d3ff; }
.step-chip.active .n { background: #1f6feb; }
.step-line { flex: 1; min-width: 20px; height: 2px; background: #e3e8f0; }
