:root {
  --deep-page: #8db1c4;
  --deep-surface: #ffffff;
  --deep-soft: #f5f7f8;
  --deep-soft-blue: #edf4f7;
  --deep-category: #6f858f;
  --deep-dark: #42535c;
  --deep-blue: #426c84;
  --deep-blue-hover: #335a70;
  --deep-line: #d9e4ea;
  --deep-text: #383838;
  --deep-muted: #68777f;
  --deep-shadow: 0 5px 16px rgba(45, 70, 83, .13);
}

html,
body {
  background: var(--deep-page);
  color: var(--deep-text);
}

body,
button,
input,
textarea,
select {
  font-family: "Ubuntu", Tahoma, Arial, sans-serif !important;
}

a { color: var(--deep-blue); }
a:hover { color: var(--deep-blue-hover); }

/* Forum temasındaki düz, açık yüzey dili */
.main-header {
  background: var(--deep-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 2px 8px rgba(35, 52, 61, .18);
}

.main-header .logo-wrapper,
.main-header .logo { display: flex; align-items: center; }
.main-header .logo-wrapper { padding-left: 10px; }
.main-header .logo { height: 64px; }
.deep-life-logo { width: auto; height: 60px; object-fit: contain; }
.main-header .search-wrapper .form-control {
  color: #33434c !important;
  background: #f7f9fa !important;
  border: 1px solid #d3dee4 !important;
  border-radius: 3px !important;
}
.main-header .search-wrapper .form-control::placeholder { color: #89969d !important; }
.main-header .header-icon,
.main-header .header-icon * { color: #f4f7f8 !important; fill: #f4f7f8 !important; }
.main-header .navbar-wrapper > ul > li > a:hover .header-icon,
.main-header .navbar-wrapper > ul > li > a:hover .header-icon * {
  color: #c7dce7 !important;
  fill: #c7dce7 !important;
}
.main-header .navbar-wrapper > ul > li:last-child {
  padding-left: 7px;
  margin-left: 7px;
  border-left: 1px solid rgba(235, 244, 248, .34);
}

.card,
.dropdown-menu,
.modal-content {
  color: var(--deep-text);
  background: var(--deep-surface);
  border: 1px solid var(--deep-line);
  border-radius: 5px;
  box-shadow: var(--deep-shadow);
}
.card-header {
  color: #fff;
  background: var(--deep-category);
  border-color: var(--deep-category);
}
.dropdown-item:hover,
.dropdown-item:focus { background: var(--deep-soft-blue); }

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  color: #fff !important;
  background: var(--deep-blue) !important;
  border-color: var(--deep-blue) !important;
  border-radius: 3px;
  box-shadow: none;
}
.btn-primary:hover {
  color: #fff !important;
  background: var(--deep-blue-hover) !important;
  border-color: var(--deep-blue-hover) !important;
}
.form-control,
.form-select {
  color: var(--deep-text);
  background-color: #fff;
  border-color: #cddbe2;
  border-radius: 3px;
}
.form-control:focus,
.form-select:focus {
  border-color: #7598aa;
  box-shadow: 0 0 0 .18rem rgba(66, 108, 132, .14);
}

.deep-life-sidebar { position: relative; overflow: hidden; }
.deep-life-sidebar::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--deep-category);
}
.deep-life-sidebar-brand {
  display: flex;
  align-items: center;
  padding: 11px 9px 17px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--deep-line);
}
.deep-life-sidebar-brand strong,
.deep-life-sidebar-brand span { display: block; }
.deep-life-sidebar-brand strong { color: var(--deep-text); font-size: 15px; }
.deep-life-sidebar-brand span { margin-top: 2px; color: var(--deep-muted); font-size: 11px; }
.main-side-nav > li > a {
  min-height: 43px;
  margin: 2px 0;
  color: #4d5d66;
  border-radius: 3px;
  transition: color .15s ease, background .15s ease;
}
.main-side-nav > li > a:hover {
  color: var(--deep-blue);
  background: var(--deep-soft-blue);
}
.main-side-nav > li.active > a {
  color: #fff !important;
  background: var(--deep-category) !important;
  box-shadow: none;
}
.main-side-nav > li.active > a .main-icon,
.main-side-nav > li.active > a .main-icon * { color: #fff !important; fill: #fff !important; }
.main-side-nav .main-icon,
.main-side-nav .main-icon * { color: #718690 !important; fill: #718690 !important; }
.deep-life-fa { width: 24px; text-align: center; }
.deep-life-nav-label { padding: 18px 12px 7px !important; }
.deep-life-nav-label small {
  color: #788b94;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* Profil ekranındaki mor varsayılanları tema paletine bağla */
.profile-tabs-wrapper {
  margin: 18px 0 20px;
  overflow: hidden;
  background: var(--deep-surface) !important;
  border: 1px solid var(--deep-line);
  border-radius: 5px;
  box-shadow: var(--deep-shadow);
}
.profile-tabs-wrapper > a {
  color: #52636c !important;
  border-bottom-color: transparent !important;
}
.profile-tabs-wrapper > a:hover {
  color: var(--deep-blue) !important;
  background: var(--deep-soft-blue);
}
.profile-tabs-wrapper > a.active {
  color: var(--deep-blue) !important;
  background: #f1f6f8;
  border-bottom-color: var(--deep-blue) !important;
}
.profile-tabs-wrapper > a .main-icon,
.profile-tabs-wrapper > a .main-icon * {
  color: #718690 !important;
  fill: #718690 !important;
}
.profile-tabs-wrapper > a.active .main-icon,
.profile-tabs-wrapper > a.active .main-icon * {
  color: var(--deep-blue) !important;
  fill: var(--deep-blue) !important;
}
.profile-header + .profile-tabs-wrapper + .row .about-list-item .main-icon,
.profile-header + .profile-tabs-wrapper + .row .about-list-item .main-icon * {
  color: var(--deep-blue) !important;
  fill: var(--deep-blue) !important;
}
.profile-header + .profile-tabs-wrapper + .row .text-info {
  color: #24779b !important;
}
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav {
  color: #fff !important;
  background: var(--deep-category) !important;
  border-color: var(--deep-category) !important;
}
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav > div,
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav .main-icon,
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav .main-icon * {
  color: #fff !important;
  fill: #fff !important;
}
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav .nav-link {
  color: rgba(255, 255, 255, .82) !important;
  border: 0 !important;
}
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav .nav-link:hover {
  color: #fff !important;
}
.profile-header + .profile-tabs-wrapper + .row .card-header.with-nav .nav-link.active {
  color: var(--deep-dark) !important;
  background: #fff !important;
}

.publisher,
.post { overflow: hidden; border-radius: 5px; }
.publisher .publisher-message {
  background: var(--deep-soft);
  border: 1px solid var(--deep-line);
  border-radius: 3px;
}
.publisher .publisher-tools-tabs { padding: 12px 14px 4px; }
.publisher .publisher-tools-tabs > ul { --bs-gutter-x: 10px; }
.publisher .publisher-tools-tabs > ul > li { margin-bottom: 8px; }
.publisher .publisher-tools-tab {
  min-height: 38px !important;
  padding: 7px 10px !important;
  border-radius: 4px !important;
  font-size: 13px;
}
.publisher .publisher-tools-tab .main-icon {
  width: 20px !important;
  height: 20px !important;
}
.post .post-header .meta a,
.post .post-header .meta .name { color: var(--deep-text); font-weight: 700; }
.post-actions .action-btn:hover,
.post-stats .fa { color: var(--deep-blue) !important; }

.deep-notifications-card { overflow: hidden; }
.deep-notifications-card .card-header .main-icon,
.deep-notifications-card .card-header .main-icon * {
  color: #fff !important;
  fill: #fff !important;
}
.deep-notifications-card .card-body {
  overflow: hidden;
  padding: 0;
}
.deep-notifications-card .card-body > ul { margin: 0; padding: 0; }
.deep-notifications-card .feeds-item,
.deep-notifications-card .feeds-item .data-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.deep-started-header {
  background: var(--deep-category) !important;
}
.deep-started-header .inner h2,
.deep-started-header .inner p { color: #fff !important; }
.deep-started-card { border-radius: 5px !important; }
.deep-started-card .nav-started .nav-link {
  color: #5f7079;
  background: #f1f5f7;
  border: 1px solid #dce6eb;
  border-radius: 3px;
}
.deep-started-card .nav-started .nav-link.active {
  color: #fff;
  background: var(--deep-blue) !important;
  border-color: var(--deep-blue);
}
.deep-started-card .heading-small {
  padding: 10px 13px;
  color: #fff;
  background: var(--deep-category);
  border-radius: 3px;
}

/* Giriş ekranı */
.deep-login-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
  color: #fff;
  background-color: #8db1c4;
  background-image: url("../images/deep-life-login.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
body:has(.deep-login-page) { padding-top: 0 !important; }
.deep-login-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 48, 57, .40) 0%, rgba(31, 48, 57, .04) 47%, rgba(31, 48, 57, .24) 100%),
    linear-gradient(180deg, rgba(20, 35, 43, .10), rgba(20, 35, 43, .30));
}
.deep-login-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 1fr) 420px;
  align-items: center;
  gap: 80px;
}
.deep-login-copy {
  align-self: end;
  max-width: 475px;
  margin-bottom: 105px;
  padding: 22px 26px;
  border-left: 4px solid rgba(255, 255, 255, .82);
  background: rgba(54, 76, 87, .48);
  text-shadow: 0 1px 3px rgba(22, 35, 42, .38);
}
.deep-login-mark { display: none; }
.deep-login-copy h1 {
  max-width: 430px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(29px, 3.2vw, 43px);
  line-height: 1.08;
}
.deep-login-copy p { max-width: 450px; margin: 0; color: #eef4f7; font-size: 15px; line-height: 1.55; }
.deep-login-panel {
  width: 100%;
  padding: 28px;
  color: var(--deep-text);
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(215, 227, 233, .98);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(40, 61, 72, .24);
}
.deep-login-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--deep-line);
}
.deep-login-panel-head img { width: 54px; height: 54px; object-fit: contain; }
.deep-login-panel-head strong,
.deep-login-panel-head small { display: block; }
.deep-login-panel-head strong { color: var(--deep-dark); font-size: 18px; }
.deep-login-panel-head small { margin-top: 2px; color: var(--deep-muted); font-size: 12px; }
.deep-login-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 19px;
  margin-top: 20px;
  border-top: 1px solid var(--deep-line);
}
.deep-login-links a { color: #647680; font-size: 12px; font-weight: 500; }
.deep-login-links a:hover { color: var(--deep-blue); }
.deep-login-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1240px, calc(100% - 48px));
  min-height: 64px;
  margin: auto auto 0;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(23, 38, 46, .42);
}

.cc-window {
  color: #fff !important;
  background: rgba(66, 83, 92, .96) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 4px !important;
  box-shadow: 0 5px 18px rgba(34, 51, 60, .25) !important;
}
.cc-window .cc-link { color: #dceaf1 !important; }
.cc-window .cc-btn {
  color: #fff !important;
  background: var(--deep-blue) !important;
  border-color: var(--deep-blue) !important;
}

.deep-sso-card {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--deep-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}
.deep-sso-logo { display: none; }
.deep-sso-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--deep-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.deep-sso-card h2 { margin: 0 0 8px; color: var(--deep-dark); font-size: 26px; }
.deep-sso-card p { margin: 0 0 22px; color: var(--deep-muted); line-height: 1.55; }
.deep-sso-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff !important;
  background: var(--deep-blue) !important;
  border: 1px solid var(--deep-blue) !important;
  border-radius: 3px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}
.deep-sso-button:hover { background: var(--deep-blue-hover) !important; }
.deep-sso-note { margin-top: 15px; color: #7b8990; font-size: 12px; text-align: center; }
.deep-sso-note a { color: var(--deep-blue); font-weight: 700; }

body.night-mode {
  --deep-page: #738f9d;
  --deep-surface: #ffffff;
  --deep-soft: #f5f7f8;
  --deep-soft-blue: #edf4f7;
  --deep-line: #d9e4ea;
  --deep-text: #383838;
  --deep-muted: #68777f;
}
body.night-mode .card,
body.night-mode .dropdown-menu,
body.night-mode .modal-content {
  color: var(--deep-text);
  background: var(--deep-surface);
  border-color: var(--deep-line);
}
body.night-mode .main-side-nav > li > a { color: #4d5d66; }
body.night-mode .form-control,
body.night-mode .form-select { color: var(--deep-text); background: #fff; border-color: #cddbe2; }

@media (max-width: 991.98px) {
  .deep-login-layout { grid-template-columns: minmax(260px, 1fr) 380px; gap: 32px; }
  .deep-login-copy { margin-bottom: 80px; }
}
@media (max-width: 767.98px) {
  .main-header .logo-wrapper { padding-left: 4px; }
  .deep-life-logo { height: 50px; }
  .deep-login-page { background-position: 43% center; }
  .deep-login-shade { background: rgba(47, 70, 81, .42); }
  .deep-login-layout {
    display: flex;
    width: min(100% - 28px, 430px);
    min-height: calc(100vh - 52px);
    justify-content: center;
  }
  .deep-login-copy { display: none; }
  .deep-login-panel { padding: 24px 21px; background: rgba(255, 255, 255, .96); }
  .deep-login-footer { width: calc(100% - 28px); min-height: 52px; }
  .deep-login-footer span:last-child { display: none; }
}
