/* =========================================================
   Mezuniyet Marka Renk Sistemi v40
   Ana logo tonu: #d83f69 / #a3165f
   JS yoktur, CPU kullanmaz. Sadece renk ve küçük görünüm override eder.
========================================================= */
:root{
  --fp-brand:#d83f69!important;
  --fp-brand-rgb:216,63,105!important;
  --fp-brand-2:#a3165f!important;
  --fp-brand-3:#f06f9a!important;
  --fp-brand-soft:#fff1f6!important;
  --fp-primary:#d83f69!important;
  --fp-primary-2:#a3165f!important;
  --fp-accent:#f06f9a!important;
  --bs-primary:#d83f69!important;
  --bs-primary-rgb:216,63,105!important;
  --bs-link-color:#d83f69!important;
  --bs-link-hover-color:#a3165f!important;
}

body.admin-panel-body{
  background:
    radial-gradient(circle at 8% 0%, rgba(216,63,105,.12), transparent 31%),
    radial-gradient(circle at 96% 8%, rgba(163,22,95,.10), transparent 34%),
    var(--fp-bg,#fff7fa)!important;
}
html[data-panel-theme="dark"] body.admin-panel-body,
body[data-panel-theme="dark"]{
  --fp-bg:#09060a!important;
  --fp-card:#141018!important;
  --fp-border:rgba(248,113,153,.18)!important;
  --fp-text:#fff7fb!important;
  --fp-muted:#c7a8b7!important;
}
html[data-panel-theme="light"] body.admin-panel-body,
body[data-panel-theme="light"]{
  --fp-bg:#fff7fa!important;
  --fp-card:#fff!important;
  --fp-border:rgba(216,63,105,.14)!important;
  --fp-text:#24121a!important;
  --fp-muted:#876171!important;
}

/* Mavi/mor kalan bütün ana alanlar */
.btn-primary,
.btn.btn-primary,
.fp-quick-chip.is-active,
.fp-mobile-quick-link.is-active,
.pe-nav-link.active,
.nav-pills .nav-link.active,
.fp-dt-page.is-active,
.pagination .page-item.active .page-link,
.fp-selected-badge,
.fp-badge-primary,
.fp-check,
.album-submit.btn-primary,
.fp-print-submit.btn-primary{
  background:linear-gradient(135deg,#d83f69,#a3165f)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(216,63,105,.23)!important;
}
.btn-primary:hover,
.fp-quick-chip.is-active:hover,
.pe-nav-link.active:hover{
  background:linear-gradient(135deg,#e4537b,#b61f69)!important;
  color:#fff!important;
}
.text-primary{color:#d83f69!important}.bg-primary{background-color:#d83f69!important}.border-primary{border-color:#d83f69!important}
.btn-outline-primary{color:#d83f69!important;border-color:rgba(216,63,105,.36)!important}.btn-outline-primary:hover{background:#d83f69!important;color:#fff!important}

/* Hero alanları */
.fp-hero,.fp-dashboard-hero,.fp-page-hero,.fp-member-hero,.fp-gallery-hero,.fp-photo-hero,.fp-admin-photo-hero,.fp-premium-hero,.album-hero,.member-album-hero,.fp-print-hero,
.fp-photo-admin-v27 .fp-admin-hero,.fp-photo-admin-v26 .fp-admin-hero,.fp-photo-admin-v27 .fp-page-hero,
[class*="hero"]{
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.22), transparent 25%),
    linear-gradient(135deg,#d83f69 0%,#b91f67 48%,#6c174b 100%)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:0 24px 58px rgba(216,63,105,.24)!important;
}
[class*="hero"] h1,[class*="hero"] h2,[class*="hero"] h3,[class*="hero"] p{color:#fff!important}

/* Topbar ve hızlı menü */
#appHeader .container-fluid,.fp-topbar-shell{border-color:rgba(216,63,105,.14)!important}
html[data-panel-theme="light"] #appHeader .container-fluid,
body[data-panel-theme="light"] #appHeader .container-fluid{background:rgba(255,255,255,.90)!important;box-shadow:0 18px 50px rgba(216,63,105,.08)!important}
html[data-panel-theme="dark"] #appHeader .container-fluid,
body[data-panel-theme="dark"] #appHeader .container-fluid{background:rgba(17,9,16,.84)!important;box-shadow:0 18px 55px rgba(0,0,0,.30),0 0 0 1px rgba(216,63,105,.08)!important}
.fp-topbar-brand-icon,.fp-sidebar-brand-logo-wrap,.fp-sidebar-category-icon,.upload-icon,.fp-print-upload-zone .upload-icon{
  background:linear-gradient(135deg,rgba(216,63,105,.16),rgba(163,22,95,.10))!important;
  border-color:rgba(216,63,105,.20)!important;
}
.fp-quick-menu-btn{background:linear-gradient(135deg,#d83f69,#a3165f)!important;box-shadow:0 14px 32px rgba(216,63,105,.20)!important}
.fp-quick-chip.primary:not(.is-active),.fp-quick-chip.success:not(.is-active),.fp-quick-chip.warning:not(.is-active),.fp-quick-chip.danger:not(.is-active),.fp-quick-chip.muted:not(.is-active),
.fp-mobile-quick-link{
  color:#d83f69!important;
  background:rgba(216,63,105,.08)!important;
  border-color:rgba(216,63,105,.14)!important;
}

/* Sidebar */
.pe-app-sidebar,.vertical-menu,.navbar-menu{border-color:rgba(216,63,105,.12)!important}
html[data-panel-theme="dark"] .pe-app-sidebar,
body[data-panel-theme="dark"] .pe-app-sidebar{background:linear-gradient(180deg,#110910 0%,#070407 100%)!important}
html[data-panel-theme="light"] .pe-app-sidebar,
body[data-panel-theme="light"] .pe-app-sidebar{background:linear-gradient(180deg,#fff 0%,#fff7fa 100%)!important}
.fp-sidebar-cat-count{background:rgba(216,63,105,.10)!important;color:#d83f69!important}
.pe-nav-link.active .fp-sidebar-cat-count{background:rgba(255,255,255,.22)!important;color:#fff!important}

/* Kartlar, tablolar, formlar */
.card,.fp-card,.fp-premium-card,.fp-dt-shell,.fp-table-shell,.fp-list-card,.fp-stat-card,.fp-stat-mini,.fp-gallery-shell,.fp-photo-card,.fp-panel-card,.album-card,.fp-print-card,.fp-print-stat,.fp-history-card{
  border-color:rgba(216,63,105,.13)!important;
}
html[data-panel-theme="light"] .card,
html[data-panel-theme="light"] .fp-card,
html[data-panel-theme="light"] .fp-premium-card,
html[data-panel-theme="light"] .fp-dt-shell,
html[data-panel-theme="light"] .fp-print-card,
html[data-panel-theme="light"] .fp-history-card,
body[data-panel-theme="light"] .card,
body[data-panel-theme="light"] .fp-card,
body[data-panel-theme="light"] .fp-premium-card,
body[data-panel-theme="light"] .fp-dt-shell,
body[data-panel-theme="light"] .fp-print-card,
body[data-panel-theme="light"] .fp-history-card{box-shadow:0 20px 55px rgba(216,63,105,.08)!important}
html[data-panel-theme="dark"] .card,
html[data-panel-theme="dark"] .fp-card,
html[data-panel-theme="dark"] .fp-premium-card,
html[data-panel-theme="dark"] .fp-dt-shell,
html[data-panel-theme="dark"] .fp-print-card,
html[data-panel-theme="dark"] .fp-history-card,
body[data-panel-theme="dark"] .card,
body[data-panel-theme="dark"] .fp-card,
body[data-panel-theme="dark"] .fp-premium-card,
body[data-panel-theme="dark"] .fp-dt-shell,
body[data-panel-theme="dark"] .fp-print-card,
body[data-panel-theme="dark"] .fp-history-card{background:rgba(20,16,24,.92)!important;box-shadow:0 22px 60px rgba(0,0,0,.34)!important}
.form-control:focus,.form-select:focus,textarea:focus{border-color:rgba(216,63,105,.55)!important;box-shadow:0 0 0 .22rem rgba(216,63,105,.13)!important}

/* Foto seçim ve yükleme */
.fp-select-card.is-selected,.fp-photo-card.is-selected,.photo-card.is-selected{border-color:#d83f69!important;box-shadow:0 22px 55px rgba(216,63,105,.22)!important}
.upload-zone,.fp-print-upload-zone,.fp-upload-drop{border-color:rgba(216,63,105,.48)!important;background:linear-gradient(135deg,rgba(216,63,105,.08),rgba(163,22,95,.06))!important}
.upload-zone .upload-icon,.fp-upload-drop .upload-icon{background:linear-gradient(135deg,#d83f69,#a3165f)!important;color:#fff!important}
.fp-dt-count,.fp-dt-page.is-active,.fp-dt-pagination .active,.fp-dt-shell .badge{background:rgba(216,63,105,.10)!important;color:#d83f69!important;border-color:rgba(216,63,105,.16)!important}

/* Login */
.fp-login-v39:after,.fp-login-v40:after{background:linear-gradient(135deg,rgba(216,63,105,.42),rgba(163,22,95,.30))!important}

/* v41 ekstra marka tonu: mavi/mor kalan menü ve hero alanlarını logodaki magenta tona çeker */
:root{
  --fp-brand:#d83f69;
  --fp-brand-2:#a3165f;
  --fp-brand-3:#6b123f;
  --bs-primary:#d83f69;
}
.btn-primary,
.bg-primary,
.page-item.active .page-link,
.sidebar .nav-link.active,
.app-sidebar .nav-link.active,
.fp-sidebar .nav-link.active{
  background:linear-gradient(135deg,#d83f69,#a3165f)!important;
  border-color:#d83f69!important;
}
.text-primary,
.nav-pills .nav-link.active,
.fp-topbar .quick-link.active{color:#d83f69!important}
.btn-outline-primary{border-color:#d83f69!important;color:#d83f69!important}
.btn-outline-primary:hover{background:#d83f69!important;color:#fff!important}
.fp-print-hero,
.member-album-hero,
.album-admin-hero,
.fp-gallery-hero,
.fp-page-hero,
.fp-hero,
.admin-hero{
  background:linear-gradient(135deg,#d83f69 0%,#a3165f 54%,#6b123f 100%)!important;
  box-shadow:0 28px 80px rgba(216,63,105,.22)!important;
}
.fp-topbar a,
.fp-topbar .btn,
.quick-menu a,
.topbar-quick a{--bs-btn-active-bg:#d83f69;--bs-btn-active-border-color:#d83f69}
.badge.bg-primary{background:#d83f69!important}
.form-check-input:checked{background-color:#d83f69!important;border-color:#d83f69!important}

/* =========================================================
   Mezuniyet Marka Renk Sistemi v43
   - Login sağ blok beyaz pill/kutu düzeltmesi
   - İkon fontu yüklenmese bile login ikonları SVG görünür
   - Dashboard hero başlıkları beyaz kalır
========================================================= */
.dash-hero h1,
.dash-hero h2,
.dash-hero p,
.fp-print-hero h1,
.fp-print-hero p,
.member-album-hero h1,
.member-album-hero p,
.album-admin-hero h1,
.album-admin-hero p{
  color:#fff!important;
}
.fp-login-glass-badge-v43,
.fp-login-side-v39 .fp-login-badge-v39{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.fp-login-side-v39 .bg-white,
.fp-login-side-v39 .bg-opacity-10,
.fp-login-side-v39 .bg-opacity-15{
  background:rgba(255,255,255,.12)!important;
}
.fp-login-feature-icon-v43{
  width:46px!important;
  height:46px!important;
  border-radius:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 46px!important;
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.fp-login-svg-icon-v43{
  width:20px!important;
  height:20px!important;
  display:inline-block!important;
  vertical-align:-.2em!important;
  fill:currentColor!important;
  color:currentColor!important;
  flex:0 0 auto!important;
}
.fp-login-submit-v39 .fp-login-svg-icon-v43{
  color:#fff!important;
}
.fp-login-badge-v39 .fp-login-svg-icon-v43{
  width:16px!important;
  height:16px!important;
}
.fp-login-side-v39 .fp-login-svg-icon-v43,
.fp-login-side-v39 .fp-login-feature-icon-v43 svg{
  color:#fff!important;
  fill:#fff!important;
}
.fp-login-side-v39 .rounded-4.bg-white,
.fp-login-side-v39 span[style*="width:46px"]{
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.fp-login-v39 .btn.fp-login-submit-v39{
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
/* TÜM PANEL ÜST BAŞLIK / HERO YAZILARI BEYAZ */
body .dash-hero h1,
body .dash-hero h2,
body .dash-hero h3,
body .dash-hero p,
body .fp-hero h1,
body .fp-hero h2,
body .fp-hero h3,
body .fp-hero p,
body .fp-page-hero h1,
body .fp-page-hero h2,
body .fp-page-hero h3,
body .fp-page-hero p,
body .fp-dashboard-hero h1,
body .fp-dashboard-hero h2,
body .fp-dashboard-hero h3,
body .fp-dashboard-hero p,
body .fp-member-hero h1,
body .fp-member-hero h2,
body .fp-member-hero h3,
body .fp-member-hero p,
body .fp-print-hero h1,
body .fp-print-hero h2,
body .fp-print-hero h3,
body .fp-print-hero p,
body .member-album-hero h1,
body .member-album-hero h2,
body .member-album-hero h3,
body .member-album-hero p,
body .album-admin-hero h1,
body .album-admin-hero h2,
body .album-admin-hero h3,
body .album-admin-hero p,
body .album-hero h1,
body .album-hero h2,
body .album-hero h3,
body .album-hero p,
body .admin-hero h1,
body .admin-hero h2,
body .admin-hero h3,
body .admin-hero p,
body [class*="hero"] h1,
body [class*="hero"] h2,
body [class*="hero"] h3,
body [class*="hero"] p {
  color: #ffffff !important;
}

/* İçindeki muted / açıklama yazıları da beyaz kalsın */
body [class*="hero"] .text-muted,
body [class*="hero"] small,
body [class*="hero"] span {
  color: rgba(255,255,255,.88) !important;
}