/*
 * SMMsun Inspired Lacute V2
 * Global skin for public pages + authenticated dashboard
 * Preserves existing Lacute markup and backend behavior.
 */

:root {
  --smm-primary: #0ea5e9;
  --smm-primary-2: #0284c7;
  --smm-primary-3: #38bdf8;
  --smm-navy: #0b1f33;
  --smm-text: #132238;
  --smm-muted: #6f8196;
  --smm-line: #e5edf5;
  --smm-soft: #eef8ff;
  --smm-soft-2: #f7fbff;
  --smm-white: #ffffff;
  --smm-success: #17b978;
  --smm-warning: #f59e0b;
  --smm-danger: #ef476f;
  --smm-radius: 18px;
  --smm-shadow: 0 16px 45px rgba(26, 66, 105, .08);
  --smm-shadow-hover: 0 20px 55px rgba(26, 66, 105, .14);
}

html { scroll-behavior: smooth; }
body { color: var(--smm-text); }

/* ---------------------------------------------------------
   Authenticated dashboard shell
--------------------------------------------------------- */
body.smmsun-dashboard {
  background:
    radial-gradient(circle at 92% 8%, rgba(14,165,233,.08), transparent 24%),
    radial-gradient(circle at 58% 48%, rgba(56,189,248,.05), transparent 30%),
    #f6faff;
  color: var(--smm-text);
}

.smmsun-dashboard .app-sidebar {
  width: 270px;
  background: rgba(255,255,255,.98);
  border-right: 1px solid var(--smm-line);
  box-shadow: 10px 0 36px rgba(11,31,51,.045);
}

.smmsun-dashboard .app-sidebar .sidebar-header {
  padding-top: 26px;
  border-bottom: 1px solid #edf3f8;
}

.smmsun-dashboard .app-sidebar .sidebar-header .sh-bg {
  display: none;
}

.smmsun-dashboard .app-sidebar .sidebar-header .logo-lg {
  height: 58px;
  max-width: 170px;
  object-fit: contain;
}

.smmsun-user-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--smm-primary-2);
  margin-bottom: 5px;
}

.smmsun-dashboard .app-sidebar .sidebar-header .app-user {
  padding: 25px 18px 22px;
}

.smmsun-dashboard .app-sidebar .sidebar-header .app-user .user-name {
  margin: 0 0 14px;
  color: var(--smm-navy);
  font-size: 18px;
  letter-spacing: -.02em;
}

.smmsun-dashboard .app-sidebar .sidebar-header .app-user .user-balance {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 155px;
  min-height: 44px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(14,165,233,.23);
  font-size: 14px;
}

.smmsun-dashboard .app-sidebar .sidebar-content {
  padding: 18px 0 24px;
}

.smmsun-dashboard .app-sidebar .sidebar-menu {
  padding: 0 14px;
}

.smmsun-dashboard .app-sidebar .sidebar-menu li {
  margin-bottom: 6px;
}

.smmsun-dashboard .app-sidebar .sidebar-menu li a.menu-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 13px;
  color: #53677d;
  font-size: 14px;
  font-weight: 500;
  transition: .2s ease;
}

.smmsun-dashboard .app-sidebar .sidebar-menu li a.menu-link:hover {
  background: #f2f9ff;
  color: var(--smm-primary-2);
  transform: translateX(2px);
}

.smmsun-dashboard .app-sidebar .sidebar-menu li.active > a.menu-link {
  background: linear-gradient(90deg, #eaf7ff 0%, #f5fbff 100%);
  color: var(--smm-primary-2);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--smm-primary);
}

.smmsun-dashboard .app-sidebar .sidebar-menu .menu-icon {
  width: 22px;
  text-align: center;
  color: var(--smm-primary);
  font-size: 16px;
}

.smmsun-dashboard .app-header {
  left: 270px;
  height: 82px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--smm-line);
  box-shadow: 0 10px 30px rgba(11,31,51,.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.smmsun-dashboard .app-header .row-100 { min-height: 82px; }

.smmsun-dashboard .dash-menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--smm-primary-2);
  background: var(--smm-soft);
  font-size: 18px;
}

.smmsun-dashboard .hea-ann-title {
  min-width: 165px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  padding: 8px 17px;
  background: #f4faff;
  border: 1px solid #dceffc;
  color: var(--smm-navy);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
}

.smmsun-topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--smm-primary);
  box-shadow: 0 0 0 5px rgba(14,165,233,.12);
}

.smmsun-dashboard .dhr-marquee {
  color: #78899c;
  font-size: 12px;
  font-weight: 500;
}

.smmsun-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.smmsun-quick-funds {
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 9px 22px rgba(14,165,233,.2);
}

.smmsun-dashboard .darkMode,
.smmsun-dashboard .header-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f9fc;
  border: 1px solid #e5eef5;
  color: #456078;
  border-radius: 12px;
  transition: .2s ease;
}

.smmsun-dashboard .darkMode:hover,
.smmsun-dashboard .header-btn:hover {
  color: var(--smm-primary-2);
  background: var(--smm-soft);
  border-color: #cfeafa;
}

.smmsun-dashboard .app-content {
  margin-left: 270px;
  padding-top: 82px;
  min-height: 100vh;
}

.smmsun-dashboard .app-content > .container-fluid {
  padding-left: 34px;
  padding-right: 34px;
  padding-bottom: 42px;
  max-width: 1660px;
  margin: 0 auto;
}

/* dashboard welcome */
.smmsun-dashboard-welcome {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  margin-bottom: 22px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, #eaf7ff 0%, #f8fcff 56%, #e5f6ff 100%);
  border: 1px solid #dcedf8;
  border-radius: 22px;
  box-shadow: var(--smm-shadow);
}

.smmsun-dashboard-welcome:before,
.smmsun-dashboard-welcome:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.smmsun-dashboard-welcome:before {
  width: 210px;
  height: 210px;
  right: 13%;
  top: -120px;
  background: rgba(14,165,233,.11);
}

.smmsun-dashboard-welcome:after {
  width: 100px;
  height: 100px;
  right: 4%;
  bottom: -54px;
  background: rgba(56,189,248,.16);
}

.smmsun-welcome-copy,
.smmsun-welcome-actions { position: relative; z-index: 2; }

.smmsun-welcome-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--smm-primary-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.smmsun-dashboard-welcome h1 {
  margin: 0 0 7px;
  color: var(--smm-navy);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.smmsun-dashboard-welcome h1 strong { color: var(--smm-primary-2); }
.smmsun-dashboard-welcome p { margin: 0; color: var(--smm-muted); font-size: 13px; }

.smmsun-welcome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.smmsun-soft-btn,
.smmsun-primary-dashboard-btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}

.smmsun-soft-btn {
  background: #fff;
  color: var(--smm-primary-2) !important;
  border: 1px solid #d4eaf7;
}

.smmsun-primary-dashboard-btn {
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(14,165,233,.22);
}

/* stat cards */
.smmsun-dashboard .dash-home-status { margin-bottom: 26px; }
.smmsun-dashboard .dhs-item {
  min-height: 128px;
  padding: 22px;
  border-radius: 19px;
  background: #fff !important;
  border: 1px solid var(--smm-line);
  box-shadow: var(--smm-shadow);
  overflow: hidden;
  position: relative;
  color: var(--smm-text) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.smmsun-dashboard .dhs-item:hover { transform: translateY(-3px); box-shadow: var(--smm-shadow-hover); }

.smmsun-dashboard .dhs-item:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -35px;
  bottom: -44px;
  border-radius: 50%;
  background: rgba(14,165,233,.06);
}

.smmsun-dashboard .dhs-item--icon {
  width: 58px;
  height: 58px;
  border: 1px solid #d9effc;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #effaff, #e5f6ff);
}

.smmsun-dashboard .dhs-item--icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: saturate(.6) hue-rotate(155deg) brightness(1.05);
}

.smmsun-dashboard .dhs-item--title {
  color: #78899b !important;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}

.smmsun-dashboard .dhs-item--text {
  color: var(--smm-navy) !important;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.smmsun-panel-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 14px;
}

.smmsun-panel-section-title span {
  display: block;
  margin-bottom: 3px;
  color: var(--smm-primary-2);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.smmsun-panel-section-title h2 {
  margin: 0;
  color: var(--smm-navy);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.smmsun-panel-section-title p { margin: 0 0 1px; color: var(--smm-muted); font-size: 12px; }

/* universal dashboard cards */
.smmsun-dashboard .d-card,
.smmsun-dashboard .card {
  border: 1px solid var(--smm-line);
  background: #fff;
  border-radius: var(--smm-radius);
  box-shadow: var(--smm-shadow);
}

.smmsun-dashboard .d-card.dc-blue,
.smmsun-dashboard .d-card.dc-dblue {
  background: #fff !important;
  color: var(--smm-text) !important;
}

.smmsun-dashboard .d-card-body {
  padding: 24px;
  color: var(--smm-text);
}

.smmsun-dashboard .d-card-body label,
.smmsun-dashboard .dc-blue label,
.smmsun-dashboard .dc-dblue label {
  color: #40566d !important;
  font-size: 12px;
  font-weight: 700;
}

.smmsun-dashboard .form-control,
.smmsun-dashboard .ss-input,
.smmsun-dashboard .dfb-input,
.smmsun-dashboard textarea.form-control,
.smmsun-dashboard select.form-control {
  min-height: 48px;
  border: 1px solid #dfe9f1;
  border-radius: 12px !important;
  background: #f9fcfe;
  color: var(--smm-text);
  box-shadow: none !important;
  font-size: 13px;
  transition: .2s ease;
}

.smmsun-dashboard textarea.form-control { min-height: 125px; }

.smmsun-dashboard .form-control:focus,
.smmsun-dashboard .ss-input:focus,
.smmsun-dashboard .dfb-input:focus {
  background: #fff;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(14,165,233,.08) !important;
}

.smmsun-dashboard .input-group-text {
  border: 1px solid #dfe9f1;
  background: #eaf7ff;
  color: var(--smm-primary-2);
  border-radius: 12px 0 0 12px;
  min-width: 48px;
  justify-content: center;
}

.smmsun-dashboard .btn-primary,
.smmsun-dashboard .btn-secondary {
  min-height: 45px;
  border: 0;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(14,165,233,.18);
}

.smmsun-dashboard .btn-primary:hover,
.smmsun-dashboard .btn-secondary:hover {
  background: linear-gradient(135deg, #1ab1ef, #047cad);
  transform: translateY(-1px);
}

.smmsun-dashboard .btn-danger {
  border-radius: 10px;
  background: #fff0f3;
  border: 1px solid #ffd7e0;
  color: #d9365d;
}

.smmsun-dashboard .dropdown-menu {
  border: 1px solid #e0eaf2;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(11,31,51,.12);
  max-height: 360px;
  overflow-y: auto;
}

.smmsun-dashboard .dropdown-menu a,
.smmsun-dashboard .dropdown-item {
  border-radius: 9px;
  color: #456078;
  font-size: 12px;
}
.smmsun-dashboard .dropdown-menu a:hover,
.smmsun-dashboard .dropdown-item:hover { background: #eff9ff; color: var(--smm-primary-2); }

/* tabs */
.smmsun-dashboard .fastside,
.smmsun-dashboard .orderNav,
.smmsun-dashboard .nav-pills {
  border-radius: 16px;
  overflow: hidden;
}

.smmsun-dashboard .fastside .nav-link,
.smmsun-dashboard .orderNav a,
.smmsun-dashboard .nav-pills .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 11px !important;
  background: #eff7fd;
  color: #557087;
  font-size: 12px;
  font-weight: 650;
  border: 0;
}

.smmsun-dashboard .fastside .nav-link.active,
.smmsun-dashboard .orderNav a.active,
.smmsun-dashboard .nav-pills .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  box-shadow: 0 8px 20px rgba(14,165,233,.18);
}

/* timeline */
.smmsun-dashboard .notification { padding: 0; }
.smmsun-dashboard .notification li {
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 1px solid #e8f0f6;
  border-radius: 13px;
  background: #fbfdff;
}
.smmsun-dashboard .notification .title a { color: var(--smm-navy); font-weight: 700; }
.smmsun-dashboard .notification .text,
.smmsun-dashboard .notification .date { color: #75889a; }

/* tables */
.smmsun-dashboard .table-responsive,
.smmsun-dashboard .dash-list { border-radius: 14px; }

.smmsun-dashboard table.table {
  margin-bottom: 0;
  color: #344b61;
  background: #fff;
}

.smmsun-dashboard table.table thead th {
  border-top: 0;
  border-bottom: 1px solid #e5eef5;
  background: #f3f9fd;
  color: #4c657c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
  padding: 14px 12px;
}

.smmsun-dashboard table.table tbody td {
  border-color: #edf2f6;
  padding: 14px 12px;
  vertical-align: middle;
  font-size: 12px;
}

.smmsun-dashboard table.table tbody tr:hover td { background: #fbfdff; }

.smmsun-dashboard .services-header td {
  background: linear-gradient(90deg, #e9f7ff, #f9fcff) !important;
  color: var(--smm-primary-2);
  border: 0;
}
.smmsun-dashboard .services-title { color: var(--smm-primary-2); font-weight: 800; }
.smmsun-dashboard .sDetayBtn,
.smmsun-dashboard .table-service-id-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  background: #eaf7ff;
  color: var(--smm-primary-2) !important;
  font-weight: 700;
  cursor: pointer;
}

/* orders accordion */
.smmsun-dashboard .accordion .card {
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: none;
}
.smmsun-dashboard .accordion .card-header {
  padding: 0;
  border: 0;
  background: #fff;
}
.smmsun-dashboard .accordion .btn-header-link {
  display: block;
  padding: 16px 18px;
  color: var(--smm-text);
  text-decoration: none;
}
.smmsun-dashboard .accordion .card-body { border-top: 1px solid #edf2f6; background: #fbfdff; }

/* badges / statuses */
.smmsun-dashboard .badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
}
.smmsun-dashboard .ordStatus {
  display: inline-flex !important;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2f8fc;
  font-size: 11px;
  font-weight: 700;
}

/* Alerts */
.smmsun-dashboard .alert,
.smmsun-public .alert {
  border: 0;
  border-radius: 13px;
  font-size: 12px;
  box-shadow: none;
}
.smmsun-dashboard .alert-danger,
.smmsun-public .alert-danger { background: #fff0f3; color: #b72e4d; }
.smmsun-dashboard .alert-success,
.smmsun-public .alert-success { background: #ebfbf3; color: #168154; }

/* Account page blue card reset */
.smmsun-dashboard .dc-blue .d-card-body { color: var(--smm-text); }

/* Modal */
.modal-content {
  border: 1px solid #e3edf4;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(11,31,51,.18);
  overflow: hidden;
}
.modal-header { background: #f3faff; border-bottom: 1px solid #e6eef5; }
.modal-title { color: var(--smm-navy); font-weight: 750; }
.modal-footer { border-top: 1px solid #edf2f6; }

/* FAQ */
.smmsun-dashboard .home-ss-tab,
.smmsun-public .home-ss-tab {
  margin-bottom: 10px;
  border: 1px solid #e4edf4;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.smmsun-dashboard .ss-tab-head,
.smmsun-public .ss-tab-head {
  padding: 15px 17px;
  color: var(--smm-navy);
  background: #fbfdff;
  font-weight: 700;
  cursor: pointer;
}
.smmsun-dashboard .ss-tab-content,
.smmsun-public .ss-tab-content {
  padding: 17px;
  color: #687d91;
  line-height: 1.8;
  border-top: 1px solid #edf2f6;
}

/* ticket messages */
.smmsun-dashboard .ticket-message {
  border-radius: 16px;
  padding: 14px 16px;
  background: #eef8ff;
  border: 1px solid #dceffa;
  color: #395169;
}
.smmsun-dashboard .ticket-message-right .ticket-message {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  border: 0;
}

/* Blog */
.smmsun-dashboard .blog-side .d-card,
.smmsun-public .blog-side .d-card {
  overflow: hidden;
  height: 100%;
}
.smmsun-dashboard .blog-side img,
.smmsun-public .blog-side img {
  border-radius: 13px;
  object-fit: cover;
}
.smmsun-dashboard .blog-side h4,
.smmsun-public .blog-side h4 {
  color: var(--smm-navy);
  font-weight: 750;
}

/* Pagination */
.smmsun-dashboard .pagination,
.smmsun-public .pagination { gap: 5px; justify-content: center; margin-top: 18px; }
.smmsun-dashboard .pagination li a,
.smmsun-public .pagination li a {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #dfe9f1;
  color: #547087;
  background: #fff;
}
.smmsun-dashboard .pagination li.active a,
.smmsun-public .pagination li.active a {
  background: var(--smm-primary);
  color: #fff;
  border-color: var(--smm-primary);
}

/* ---------------------------------------------------------
   Public inner pages
--------------------------------------------------------- */
body.smmsun-public {
  background: #fff;
  color: var(--smm-text);
}

.smmsun-public .smmsun-header {
  border-bottom: 1px solid rgba(220,233,242,.82);
  box-shadow: 0 5px 22px rgba(11,31,51,.035);
}

.smmsun-subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
  background: linear-gradient(120deg, #eef9ff 0%, #fbfdff 56%, #e7f7ff 100%);
  border-bottom: 1px solid #deedf7;
}

.smmsun-subpage-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.smmsun-subpage-orb.orb-one { width: 310px; height: 310px; right: 7%; top: -190px; background: rgba(14,165,233,.10); }
.smmsun-subpage-orb.orb-two { width: 150px; height: 150px; left: 7%; bottom: -95px; background: rgba(56,189,248,.12); }

.smmsun-subpage-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.smmsun-subpage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--smm-primary-2);
  background: rgba(255,255,255,.72);
  border: 1px solid #d5edf9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.smmsun-subpage-inner h1 {
  margin: 0 0 12px;
  color: #081b2c;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.045em;
}
.smmsun-subpage-inner p { margin: 0 auto 16px; max-width: 620px; color: #698095; font-size: 14px; line-height: 1.75; }
.smmsun-subpage-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 9px; color: #8aa0b2; font-size: 11px; }
.smmsun-subpage-breadcrumb a { color: var(--smm-primary-2); font-weight: 700; }
.smmsun-subpage-breadcrumb i { font-size: 8px; }

/* Old blank outside hero becomes redundant */
.smmsun-public .home-head.outside { display: none !important; }

.smmsun-public .hs-area { padding: 48px 0 76px; margin-bottom: 0 !important; background: #fff; }
.smmsun-public .hs-area .container { max-width: 1180px; }

.smmsun-public .d-card,
.smmsun-public .card {
  border: 1px solid var(--smm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--smm-shadow);
}
.smmsun-public .d-card-body { padding: 28px; color: var(--smm-text); }
.smmsun-public .d-card h1,
.smmsun-public .d-card h2,
.smmsun-public .d-card h3,
.smmsun-public .d-card h4 { color: var(--smm-navy); font-weight: 750; letter-spacing: -.02em; }
.smmsun-public .read-text { color: #60778b; line-height: 1.85; font-size: 13px; }

.smmsun-public .form-control,
.smmsun-public textarea.form-control,
.smmsun-public select.form-control {
  min-height: 49px;
  border: 1px solid #dfeaf2;
  border-radius: 12px !important;
  background: #fbfdff;
  color: var(--smm-text);
  box-shadow: none !important;
}
.smmsun-public .form-control:focus {
  background: #fff;
  border-color: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(14,165,233,.08) !important;
}
.smmsun-public .btn-primary,
.smmsun-public .btn-secondary {
  border: 0;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--smm-primary), var(--smm-primary-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(14,165,233,.17);
}

/* public service list */
.smmsun-public .services-list { padding: 48px 0 80px; }
.smmsun-public .services-search .ss-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #dfeaf2;
  border-radius: 12px;
  background: #f9fcfe;
}
.smmsun-public table.table thead th { background: #f2f9fd; color: #536c82; border-color: #e5edf4; font-size: 11px; }
.smmsun-public table.table td { border-color: #edf2f6; font-size: 12px; color: #405970; }
.smmsun-public .services-header td { background: #eaf7ff !important; color: var(--smm-primary-2); font-weight: 750; }
.smmsun-public .sDetayBtn { display: inline-flex; padding: 7px 11px; border-radius: 9px; background: #e9f7ff; color: var(--smm-primary-2); font-weight: 700; cursor: pointer; }

/* API page */
.smmsun-public pre.code,
.smmsun-dashboard pre.code {
  padding: 18px;
  border-radius: 14px;
  background: #0b1f33;
  color: #c9f0ff;
  border: 0;
  font-size: 12px;
  line-height: 1.7;
}
.smmsun-public .api-thead,
.smmsun-dashboard .api-thead { background: #f1f9fd; }

/* ---------------------------------------------------------
   Registration / password screens
--------------------------------------------------------- */
.smmsun-public .register-page {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 52px 0 72px;
  background:
    radial-gradient(circle at 10% 20%, rgba(14,165,233,.10), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(56,189,248,.10), transparent 25%),
    #f9fcff;
}

.smmsun-public .register-page-content { min-height: auto; }
.smmsun-public .register-page .container { max-width: 1120px; }
.smmsun-public .register-page .row {
  overflow: hidden;
  margin: 0;
  min-height: 610px;
  border: 1px solid #dfeaf2;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(25,66,101,.11);
}

.smmsun-public .register-page .col-lg-6:first-child {
  display: flex;
  align-items: stretch !important;
  padding: 0;
}

.smmsun-public .register-left {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
  padding: 58px 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(145deg, #eaf8ff 0%, #f8fcff 60%, #def4ff 100%);
}

.smmsun-public .register-left:before,
.smmsun-public .register-left:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.smmsun-public .register-left:before { width: 270px; height: 270px; right: -130px; top: -130px; background: rgba(14,165,233,.12); }
.smmsun-public .register-left:after { width: 130px; height: 130px; left: -50px; bottom: -45px; background: rgba(56,189,248,.15); }

.smmsun-public .register-left > * { position: relative; z-index: 2; }
.smmsun-public .register-left .rl-logo { max-width: 175px; max-height: 70px; object-fit: contain; margin-bottom: 28px; }
.smmsun-public .register-left:has(.rl-logo) a { margin-bottom: 8px; }
.smmsun-public .register-left .rl-text {
  max-width: 440px;
  color: #4f687f;
  font-size: 15px;
  line-height: 1.85;
}
.smmsun-public .register-left .rl-text:before {
  content: "Sosyal medyada büyümeye hazır mısınız?";
  display: block;
  margin-bottom: 14px;
  color: #0b1f33;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.smmsun-public .rl-menu { margin-top: 30px; padding: 0; list-style: none; }
.smmsun-public .rl-menu li { display: inline-block; margin-right: 8px; }
.smmsun-public .rl-menu a { display: inline-flex; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.72); border: 1px solid #d9ebf6; color: #4c667e; font-size: 11px; font-weight: 700; }

.smmsun-public .register-page .col-lg-5 {
  padding: 42px 44px;
  display: flex;
  align-items: center !important;
}
.smmsun-public .register-page .offset-lg-1 { margin-left: 0; max-width: 50%; flex: 0 0 50%; }
.smmsun-public .loginSide { width: 100%; }
.smmsun-public .login-box { padding: 0; background: transparent; border: 0; box-shadow: none; }
.smmsun-public .lgb-title { margin-bottom: 6px; color: var(--smm-navy); font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.smmsun-public .lgb-text { margin-bottom: 24px; color: #7c8fa1; font-size: 12px; line-height: 1.65; }
.smmsun-public .fc-home { margin-bottom: 14px; }
.smmsun-public .fc-home label,
.smmsun-public .register-page .control-label { margin-bottom: 7px; color: #435b72; font-size: 11px; font-weight: 750; }
.smmsun-public .register-page .form-control { min-height: 47px; }
.smmsun-public .register-page .btn { min-height: 49px; }
.smmsun-public .register-page .checkbox { margin: 10px 0; color: #6d8195; font-size: 11px; }

/* subpage footer */
.smmsun-footer-subpage { margin-top: 0; }

/* ---------------------------------------------------------
   Dark mode (dashboard only)
--------------------------------------------------------- */
body.smmsun-dashboard.dark {
  --smm-text: #e8f0f8;
  --smm-muted: #90a3b7;
  --smm-line: #243448;
  background: #111a28;
}
.smmsun-dashboard.dark .app-sidebar,
.smmsun-dashboard.dark .app-header,
.smmsun-dashboard.dark .d-card,
.smmsun-dashboard.dark .card,
.smmsun-dashboard.dark .dhs-item {
  background: #172334 !important;
  border-color: #24364a;
  color: #e8f0f8 !important;
}
.smmsun-dashboard.dark .app-sidebar .sidebar-header,
.smmsun-dashboard.dark .app-header { border-color: #24364a; }
.smmsun-dashboard.dark .app-sidebar .sidebar-header .app-user .user-name,
.smmsun-dashboard.dark .dhs-item--text,
.smmsun-dashboard.dark .smmsun-panel-section-title h2,
.smmsun-dashboard.dark .accordion .btn-header-link,
.smmsun-dashboard.dark .blog-side h4 { color: #f1f7fb !important; }
.smmsun-dashboard.dark .app-sidebar .sidebar-menu li a.menu-link { color: #9fb0c1; }
.smmsun-dashboard.dark .app-sidebar .sidebar-menu li.active > a.menu-link,
.smmsun-dashboard.dark .app-sidebar .sidebar-menu li a.menu-link:hover { background: #1a3145; color: #5cc7f3; }
.smmsun-dashboard.dark .hea-ann-title,
.smmsun-dashboard.dark .darkMode,
.smmsun-dashboard.dark .header-btn,
.smmsun-dashboard.dark .smmsun-soft-btn { background: #1a2a3d; border-color: #2a3d52; color: #cce9f7 !important; }
.smmsun-dashboard.dark .smmsun-dashboard-welcome { background: linear-gradient(120deg, #173149, #17283a); border-color: #28425a; }
.smmsun-dashboard.dark .smmsun-dashboard-welcome h1 { color: #f3f8fb; }
.smmsun-dashboard.dark .form-control,
.smmsun-dashboard.dark .ss-input,
.smmsun-dashboard.dark .dfb-input,
.smmsun-dashboard.dark textarea.form-control,
.smmsun-dashboard.dark select.form-control { background: #122033; border-color: #293d52; color: #dce8f2; }
.smmsun-dashboard.dark .dropdown-menu,
.smmsun-dashboard.dark .accordion .card-header,
.smmsun-dashboard.dark table.table,
.smmsun-dashboard.dark .notification li { background: #172334; border-color: #293b50; }
.smmsun-dashboard.dark table.table thead th,
.smmsun-dashboard.dark .services-header td,
.smmsun-dashboard.dark .accordion .card-body { background: #1a2a3c !important; color: #b9c9d8; }
.smmsun-dashboard.dark table.table tbody td { border-color: #25374a; color: #b9c9d8; }

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .smmsun-dashboard .app-sidebar { width: 250px; }
  .smmsun-dashboard .app-header { left: 250px; }
  .smmsun-dashboard .app-content { margin-left: 250px; }
  .smmsun-dashboard .app-content > .container-fluid { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 991.98px) {
  .smmsun-dashboard .app-sidebar { width: 275px; transform: translateX(-100%); }
  .smmsun-dashboard .app-sidebar.sidebar-active,
  .smmsun-dashboard .app-sidebar.active { transform: translateX(0); }
  .smmsun-dashboard .app-header { left: 0; height: 72px; }
  .smmsun-dashboard .app-header .row-100 { min-height: 72px; }
  .smmsun-dashboard .app-content { margin-left: 0; padding-top: 72px; padding-bottom: 78px; }
  .smmsun-dashboard .app-content > .container-fluid { padding-left: 17px; padding-right: 17px; }
  .smmsun-dashboard-welcome { padding: 22px; align-items: flex-start; flex-direction: column; }
  .smmsun-welcome-actions { justify-content: flex-start; }
  .smmsun-panel-section-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .smmsun-dashboard .app-navbar { background: rgba(255,255,255,.97); border-top: 1px solid #e3edf4; box-shadow: 0 -8px 28px rgba(11,31,51,.08); }
  .smmsun-dashboard .app-navbar a { color: #71869a; }
  .smmsun-dashboard .app-navbar a.active { color: var(--smm-primary-2); }
  .smmsun-public .register-page .row { min-height: 0; }
  .smmsun-public .register-page .col-lg-6:first-child { display: none; }
  .smmsun-public .register-page .offset-lg-1 { max-width: 100%; flex: 0 0 100%; }
  .smmsun-public .register-page .col-lg-5 { padding: 36px 28px; }
}

@media (max-width: 767.98px) {
  .smmsun-dashboard .app-content > .container-fluid { padding-left: 12px; padding-right: 12px; padding-bottom: 24px; }
  .smmsun-dashboard .app-content .row.mt-4 { margin-top: 14px !important; }
  .smmsun-dashboard-welcome { border-radius: 17px; margin-bottom: 15px; }
  .smmsun-dashboard-welcome h1 { font-size: 21px; }
  .smmsun-dashboard-welcome p { font-size: 12px; }
  .smmsun-welcome-actions { width: 100%; }
  .smmsun-soft-btn, .smmsun-primary-dashboard-btn { flex: 1 1 calc(50% - 5px); }
  .smmsun-dashboard .dhs-item { min-height: 100px; padding: 16px 14px; border-radius: 15px; }
  .smmsun-dashboard .dhs-item--title { font-size: 10px; }
  .smmsun-dashboard .dhs-item--text { font-size: 18px; }
  .smmsun-dashboard .d-card-body { padding: 18px; }
  .smmsun-dashboard .order-side .col-12 { margin-bottom: 15px !important; }
  .smmsun-dashboard .table-mobile-cards thead { display: none; }
  .smmsun-dashboard .table-mobile-cards .table-mobile-card {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e3edf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }
  .smmsun-dashboard .table-mobile-cards .table-mobile-card td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f6;
    text-align: right;
  }
  .smmsun-dashboard .table-mobile-cards .table-mobile-card td:before {
    content: attr(data-title);
    color: #8293a4;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
  }
  .smmsun-dashboard .table-mobile-cards .services-header { display: table-row; }
  .smmsun-subpage-hero { padding: 58px 0 52px; }
  .smmsun-subpage-inner h1 { font-size: 32px; }
  .smmsun-public .hs-area { padding: 30px 0 58px; }
  .smmsun-public .d-card-body { padding: 20px; }
  .smmsun-public .register-page { padding: 28px 13px 48px; }
  .smmsun-public .register-page .row { border-radius: 18px; }
  .smmsun-public .register-page .col-lg-5 { padding: 30px 20px; }
  .smmsun-public .lgb-title { font-size: 23px; }
}

@media (max-width: 575.98px) {
  .smmsun-dashboard .dhs-item--text { font-size: 16px; word-break: break-word; }
  .smmsun-dashboard .dhs-item { min-height: 92px; padding: 14px 12px; }
  .smmsun-dashboard .fastside .nav-link { font-size: 10px; }
  .smmsun-dashboard .form-control { font-size: 12px; }
  .smmsun-subpage-hero { padding-left: 12px; padding-right: 12px; }
  .smmsun-public .smmsun-footer-subpage { padding-bottom: 92px; }
}

/* Lacute sidebar toggle compatibility */
@media (min-width: 1199.98px) {
  .smmsun-dashboard .app-content { margin-left: 0; padding-left: 270px; }
  .smmsun-dashboard .app-sidebar.sidebar-inact { width: 80px; }
  .smmsun-dashboard .app-content.sidebar-inact { margin-left: 0; padding-left: 80px; }
  .smmsun-dashboard .app-header.sidebar-inact { left: 80px; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .smmsun-user-kicker { display: none; }
}

@media (max-width: 1199.97px) {
  .smmsun-dashboard .app-content { margin-left: 0; padding-left: 250px; }
}

@media (max-width: 991.98px) {
  .smmsun-dashboard .app-sidebar { width: 275px; transform: translateX(-100%); }
  .smmsun-dashboard .app-sidebar.sidebar-inact { width: 275px; transform: translateX(0); }
  .smmsun-dashboard .app-sidebar.sidebar-inact .sidebar-header .logo-lg { display: inline-block; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .sidebar-header .logo-sm { display: none; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .app-user { padding: 25px 18px 22px !important; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .app-user .user-name,
  .smmsun-dashboard .app-sidebar.sidebar-inact .app-user .user-balance,
  .smmsun-dashboard .app-sidebar.sidebar-inact .sidebar-menu li a.menu-link .menu-text { display: block; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .sidebar-menu li a.menu-link { padding: 10px 14px; text-align: left; }
  .smmsun-dashboard .app-sidebar.sidebar-inact .sidebar-menu li a.menu-link .menu-icon { width: 22px; }
  .smmsun-dashboard .app-content,
  .smmsun-dashboard .app-content.sidebar-inact { margin-left: 0; padding-left: 0; }
  .smmsun-dashboard .app-header,
  .smmsun-dashboard .app-header.sidebar-inact { left: 0; }
  .smmsun-dashboard.body-pause:after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1028;
    background: rgba(7, 23, 38, .35);
    backdrop-filter: blur(2px);
  }
  .smmsun-dashboard .app-sidebar.sidebar-inact { z-index: 1031; }
}

.smmsun-dashboard .app-header > .container-fluid { padding-left: 28px; padding-right: 28px; }
.smmsun-dashboard .header-btn .icon {
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  background: transparent !important;
  color: inherit !important;
}
.smmsun-dashboard .header-btn:hover .icon { background: transparent !important; color: inherit !important; }

@media (max-width: 767.98px) {
  .smmsun-public .table-mobile-cards thead { display: none; }
  .smmsun-public .table-mobile-cards .table-mobile-card {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e3edf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }
  .smmsun-public .table-mobile-cards .table-mobile-card td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f6;
    text-align: right;
  }
  .smmsun-public .table-mobile-cards .table-mobile-card td:before {
    content: attr(data-title);
    color: #8293a4;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
  }
  .smmsun-public .table-mobile-cards .services-header { display: table-row; }
}
