:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface2: #22263a;
  --border: #2e3350;
  --accent: #5b6af0;
  --accent-hover: #4757e8;
  --accent-soft: rgba(91, 106, 240, .12);
  --success: #22c87a;
  --text: #e8eaf6;
  --muted: #7c82a8;
  --radius: 12px;
  --topbar-h: 58px;
  --sidebar-w: 252px;
  --danger:       #e84040; 
}
         
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ═══════════════════════ TOPBAR ═══════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 300;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar-brand {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}

.topbar-brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ── Mail badge ── */
.mail-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: .95rem;
  transition: all .18s;
  flex-shrink: 0;
}

.mail-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.mail-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
  transition: background .3s, transform .2s;
  line-height: 1;
}

.mail-badge.green {
  background: #22c87a;
}

.mail-badge.orange {
  background: #f5a623;
}

.mail-badge.red {
  background: #e84040;
}

.mail-badge.pulse {
  animation: badgePulse .6s ease;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

/* ── User dropdown ── */
.user-menu {
  position: relative;
  flex-shrink: 0;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .18s;
  user-select: none;
}

.user-trigger:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.user-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.user-caret {
  font-size: .6rem;
  color: var(--muted);
  transition: transform .22s;
}

.user-menu.open .user-caret {
  transform: rotate(180deg);
}

@media (max-width: 400px) {
  .user-name {
    display: none;
  }
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 195px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 400;
}

.user-menu.open .user-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}

.dropdown-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.dropdown-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.dropdown-user-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
}

.dropdown-user-role {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 1px;
}

.dropdown-item-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: .83rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item-custom i {
  width: 16px;
  text-align: center;
  font-size: .85rem;
}

.dropdown-item-custom:hover {
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
}

.dropdown-item-custom.logout {
  color: #e84040;
}

.dropdown-item-custom.logout:hover {
  background: rgba(232, 64, 64, .1);
  color: #e84040;
}

.dropdown-divider-custom {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}

/* ═══════════════════════ SIDEBAR ═══════════════════════ */
.sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 200;
  padding: 16px 0 40px;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.sidebar-section-title {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 16px 18px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: .845rem;
  color: var(--muted);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all .18s;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-item:hover {
  color: var(--text);
  background: var(--accent-soft);
  text-decoration: none;
}

.sidebar-item.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.sidebar-item i {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  font-size: .85rem;
}

/* ═══════════════════════ OVERLAY ═══════════════════════ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 199;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s;
}

.sidebar-overlay.visible {
  display: block;
}

.sidebar-overlay.active {
  opacity: 1;
}

/* ═══════════════════════ MAIN WRAP ═══════════════════════ */
.main-wrap {
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
}

.main-content {
  padding: 28px 24px 60px;
}

/* ═══════════════════════ PAGE HEADER ═══════════════════════ */
.page-header {
  margin-bottom: 22px;
}

.page-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.page-header p {
  color: var(--muted);
  font-size: .845rem;
  margin-top: 4px;
}

/* breadcrumb */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.breadcrumb-bar a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-bar a:hover {
  color: var(--accent);
}

.breadcrumb-bar .sep {
  opacity: .4;
}

.breadcrumb-bar .current {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════════════════ CARDS ═══════════════════════ */
.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}
.header-title-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .78rem;
  flex-shrink: 0;
}

.admin-card-header h5 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.toggle-icon {
  color: var(--muted);
  transition: transform .25s;
  font-size: .72rem;
}

.admin-card-header.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.admin-card-body {
  padding: 16px;
}

/* card row gap */
.card-row {
  margin-bottom: 0;
}

.card-col {
  margin-bottom: 20px;
}

/* ═══════════════════════ FORM ═══════════════════════ */
.form-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  font-size: .875rem !important;
  padding: 10px 13px !important;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}

.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(91, 106, 240, .18) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: var(--muted) !important;
}

textarea.form-control {
  resize: vertical;
  min-height: 84px;
}

.form-group {
  margin-bottom: 14px;
}

.char-count {
  font-size: .67rem;
  color: var(--muted);
  margin-top: 4px;
  text-align: right;
}

.input-help {
  font-size: .71rem;
  color: var(--muted);
  margin-top: 5px;
}

/* ═══════════════════════ ASYMMETRIC UPLOAD SIDE-BY-SIDE GRID ═══════════════════════ */
.upload-split-layout {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.upload-split-left {
  flex: 1;
  min-width: 0;
}

.upload-split-right {
  flex: 1;
  min-width: 0;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface2);
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 1.5rem;
  color: var(--muted);
  margin-bottom: 7px;
  display: block;
}

.upload-zone:hover .upload-icon {
  color: var(--accent);
}

.upload-label {
  font-size: .79rem;
  color: var(--muted);
  line-height: 1.5;
}

.upload-label strong {
  color: var(--accent);
}

.preview-container {
  position: relative;
  display: none;
  height: 100%;
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 6px;
}

.preview-container.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  max-height: 155px;
  border-radius: 8px;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .65);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: .72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  transition: background .15s;
  z-index: 5;
}

.preview-remove:hover {
  background: rgba(220, 53, 69, .85);
}

/* ═══════════════════════ BUTTON SETTINGS ═══════════════════════ */
.btn-block-wrapper {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.btn-block-wrapper:last-child {
  margin-bottom: 0;
}

.btn-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.btn-block-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
}

.badge-pill-custom {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .65rem;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
}

.href-type-group {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.href-type-btn {
  flex: 1;
  min-width: 72px;
  padding: 7px 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all .15s;
}

.href-type-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.href-type-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}

.href-input-group {
  display: none;
}

.href-input-group.active {
  display: block;
}

.phone-prefix {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--muted);
  font-size: .8rem;
  padding: 10px 11px;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-radius: 0 8px 8px 0 !important;
}

/* ═══════════════════════ SAVE BAR (bottom) ═══════════════════════ */
.save-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  margin-left: calc(-24px);
  margin-right: calc(-24px);
  z-index: 10;
}

.btn-save {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .865rem;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-save:hover {
  background: var(--accent-hover);
}

.btn-save:active {
  transform: scale(.97);
}

.btn-reset {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .865rem;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-reset:hover {
  border-color: var(--muted);
  color: var(--text);
}

/* ═══════════════════════ TOAST ═══════════════════════ */
#toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--success);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: .83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* Real-time HTML Token Preview */
.live-token-preview {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  border: 1px dashed var(--border);
}

.preview-tag-title {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.preview-render {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

/* Mimic your standard front-end design color scopes */
.blue-text {
  color: #5b6af0;
  font-weight: 700;
}

.light-text {
  color: #a1a1aa;
  font-weight: 400;
}

/* Stat blocks layout */
.stat-block-wrapper {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.stat-block-wrapper:last-child {
  margin-bottom: 0;
}
.stat-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.stat-block-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
}
.badge-pill-custom {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .65rem;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
}

/* Segment Sortable Item Blocks */
.sortable-item { 
    background: var(--surface2); 
    border: 1px solid var(--border); 
    padding: 10px 14px; 
    border-radius: 8px; 
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    cursor: grab; 
}
.sortable-item:active { 
    cursor: grabbing;
}
.sortable-info { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    width: 75%;
}
.sortable-title { 
    font-size: .84rem; 
    font-weight: 600; 
    text-overflow: ellipsis; 
    overflow: hidden; 
    white-space: nowrap;
}
.sortable-sub { 
    font-size: .72rem; 
    color: var(--muted); 
    text-overflow: ellipsis; 
    overflow: hidden; 
    white-space: nowrap;
}
.sortable-actions { 
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.btn-action-icon { 
    background: none; 
    border: none; 
    color: var(--muted);
    font-size: .85rem;
    cursor: pointer; 
    padding: 4px; 
    transition: color .15s;
}
.btn-action-icon:hover { 
    color: var(--text);
}
.btn-action-icon.del-icon:hover {
    color: var(--danger);
}
.expertise-in-left .admin-card,
.gallery-in-left .admin-card,
.client-feedback-left .admin-card,
.terms-conditions-left .admin-card,
.faq-editor-container .admin-card,
.my-account-container .admin-card {
    height: auto;
    margin-bottom: 24px;
}

/* Radio Layout Selectors */
.radio-group-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 14px;
}
.radio-card { 
    flex: 1; 
    position: relative;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px; padding: 10px;
    text-align: center;
    cursor: pointer; 
    transition: all .2s;
}
.radio-card input {
    position: absolute; 
    top: 8px; 
    left: 8px; 
    opacity: 0;
}
.radio-card span { 
    font-size: .8rem; 
    font-weight: 600; 
    color: var(--muted);
}
.radio-card.selected { 
    border-color: var(--accent);
    background: var(--accent-soft);
}
.radio-card.selected span {
    color: var(--text);
}
/* ═══════════════════════ PRODUCTION SANDBOX FRONTEND PREVIEW ═══════════════════════ */
.fe-screen-viewport { 
    background: #000000; 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    padding: 60px 45px; 
    min-height: 440px; 
    margin-bottom: 24px;
}
.fe-row-container { 
    width: 100%; 
    display: flex; 
}
.fe-left-col { 
    width: 50%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 35px;
}
.fe-right-col { 
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 35px;
}

/* Main Title Element Styling */
.fe-main-title h4 {
    font-size: 2.3rem; 
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 35px;
    margin-top: 0;
}
.blue-gredient-text { 
    background: linear-gradient(135deg, #4c6fff 0%, #67adff 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 400;
    margin-left: 8px;
}
 /* Service Items Styling */
.service-item { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.12); 
    padding: 20px 0; 
    display: flex; 
    flex-direction: column; 
    transition: border-color 0.25s; 
}
.service-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end;
    width: 100%;
}
.service-name { 
    font-size: 1.15rem; 
    color: rgba(255, 255, 255, 0.35); 
    font-weight: 400; 
    transition: color 0.25s; 
    letter-spacing: -0.01em;
}
.service-num { 
    font-size: 2.1rem;
    color: rgba(255, 255, 255, 0.18); 
    font-family: 'Segoe UI', sans-serif; 
    font-weight: 300; 
    line-height: 0.8; 
    transition: color 0.25s;
}
.service-tag { 
    font-size: .83rem; 
    color: rgba(255, 255, 255, 0.2); 
    margin-top: 7px; 
    font-weight: 400; 
    letter-spacing: 0.01em; 
    transition: color 0.25s;
}
/* Interactive States matching image specifications */
.service-item:hover { 
    border-color: rgba(255,255,255,0.25);
}
.service-item:hover .service-name {
    color: rgba(255, 255, 255, 0.85);
}
.service-item:hover .service-num {
    color: var(--accent);
}
.service-item:hover .service-tag {
    color: rgba(255, 255, 255, 0.45);
}
.upload-zone-prompt { 
    font-size: 0.8rem; 
    color: var(--muted);
}
.upload-zone-prompt i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 4px;
    display: block;
}
.pin-counter {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--text);
}
.pin-counter.valid {
    border-color: var(--success);
    color: var(--success);
}
/* Admin Management Lists */
.ledger-list {
  max-height: 280px;
  overflow-y: auto;
}
.admin-item-row {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--border);
}

.btn-pin {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-pin.pinned {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.client-list-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.client-info-meta h6 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  font-weight: 600;
  color: #fff;
}
.client-info-meta p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
/* Temp Form Previews */
.form-img-preview-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.form-preview-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
}
/* ═════ LIVE FRONTEND LIVE PREVIEWS ═════ */
.preview-pane-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fe-screen-viewport {
  background: #000000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  min-height: 400px;
  margin-bottom: 30px;
}
.fe-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
/* 12-Column Animated Grid Framework */
.fe-12-col-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
.fe-grid-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeInUp 0.4s ease both;
}
.fe-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.fe-grid-item:hover img {
  transform: scale(1.1);
}
/* Staggered animation delays for 12 nodes */
.fe-grid-item:nth-child(1) {
  animation-delay: 0.03s;
}
.fe-grid-item:nth-child(2) {
  animation-delay: 0.06s;
}
.fe-grid-item:nth-child(3) {
  animation-delay: 0.09s;
}
.fe-grid-item:nth-child(4) {
  animation-delay: 0.12s;
}
.fe-grid-item:nth-child(5) {
  animation-delay: 0.15s;
}
.fe-grid-item:nth-child(6) {
  animation-delay: 0.18s;
}
.fe-grid-item:nth-child(7) {
  animation-delay: 0.21s;
}
.fe-grid-item:nth-child(8) {
  animation-delay: 0.24s;
}
.fe-grid-item:nth-child(9) {
  animation-delay: 0.27s;
}
.fe-grid-item:nth-child(10) {
  animation-delay: 0.3s;
}
.fe-grid-item:nth-child(11) {
  animation-delay: 0.33s;
}
.fe-grid-item:nth-child(12) {
  animation-delay: 0.36s;
}
/* Client Showcase Module - Mirroring Reference Images */
.client-showcase-block-wrapper {
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 30px;
}
.client-showcase-block-wrapper:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.client-showcase-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
/* Scrollable Engine Viewport wrapper for Client Viewport */
.fe-screen-viewport.scrollable-viewport {
    max-height: 600px;
    overflow-y: auto;
}
.fe-screen-viewport.scrollable-viewport::-webkit-scrollbar {
    width: 6px;
}
.fe-screen-viewport.scrollable-viewport::-webkit-scrollbar-track {
    background: transparent;
}
.fe-screen-viewport.scrollable-viewport::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

/* Left side layout or alternate layout swapping engine support */
.client-showcase-row.flipped {
  flex-direction: row-reverse;
}
.client-images-block {
  width: 55%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.client-card-thumb {
  background: #16161a;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 0.72;
  display: flex;
  flex-direction: column;
}
.client-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-copy-block { 
  padding-top: 10px;
}
.client-title {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.client-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  text-align: justify;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tight inline grid layout specifically mapped for 40+ multi-asset preview */
.client-dense-grid { 
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}
.client-dense-item { 
    position: relative;
    aspect-ratio: 1; 
    border-radius: 4px;
    overflow: hidden; 
    background: #141419;
    border: 1px solid rgba(255,255,255,0.05);
}
.client-dense-item img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}
.client-dense-item:hover img {
    transform: scale(1.12);
}
/* ═══════════════════════ DIALOG MODAL (VANILLA MECHANICS) ═══════════════════════ */
.v-modal-overlay {
    position: fixed;
    inset: 0; 
    background: rgba(0,0,0,0.7); 
    backdrop-filter: blur(4px);
    z-index: 10000; 
    display: flex; 
    align-items: center;
    justify-content: center;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.v-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.v-modal-card { 
    background: var(--surface); 
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 100%; 
    max-width: 380px;
    padding: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(-15px);
    transition: transform 0.2s ease;
}
.v-modal-overlay.open .v-modal-card {
    transform: translateY(0);
}
.v-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.v-modal-body {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.4;
}
.v-modal-footer {
    display: flex; 
    justify-content: flex-end;
    gap: 10px;
}
/* Temp Form Previews with Closing/Delete Trigger */
.form-img-preview-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.form-preview-item {
    position: relative;
    width: 56px;
    height: 56px;
}
.form-preview-thumb {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.form-preview-close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    border-radius: 50%;
    border: 1px solid var(--surface);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.1s;
}
.form-preview-close:hover { 
    transform: scale(1.15);
}

/* Live Preview container box matching the height rules */
.avatar-preview-container {
    border: 1px dashed var(--border);
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px;
}
.avatar-preview-container.has-image { display: flex; }
.avatar-preview-img {
    width: 100%; height: 100%;
    max-height: 110px;
    object-fit: cover;
    border-radius: 6px;
}
.preview-remove-btn {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,0.7); border: none; color: #fff;
    font-size: 0.65rem; padding: 3px 7px; border-radius: 4px;
    cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.preview-remove-btn:hover { background: var(--danger); }

/* Managed list items row */
.member-ledger-list {
    max-height: 480px;
    overflow-y: auto;
}
.member-ledger-row {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.member-profile-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.member-avatar-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #111;
}
.member-details h6 {
    font-size: .88rem; font-weight: 600; color: #fff; margin: 0;
}
.member-details p {
    font-size: .76rem; color: var(--muted); margin: 2px 0 0;
} 
.temp-thumb-box { 
    display: flex; 
    align-items: center;
    justify-content: space-between;
    background: var(--surface2);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: 110px;
}
.temp-thumb-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
}
.empty-preview { 
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
}
/* Directory Lists */
.feedback-item-row {
    background: var(--surface2); 
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.feedback-meta-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.feedback-meta-info img { 
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.feedback-meta-text {
    flex: 1;
    min-width: 0;
}
.feedback-meta-text h6 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #fff;
}
.feedback-meta-text p {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}
.feedback-statement-preview {
    font-size: 0.78rem;
    color: #b1b5c3;
    margin-top: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Builder dynamic items architecture mapping layouts */
.builder-section-node {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 14px;
}
.node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.node-title-field { 
    flex: 1;
    font-weight: 600 !important;
}
.clause-sub-list-container {
    border-left: 2px solid var(--border);
    padding-left: 14px;
    margin-bottom: 12px;
}
.sub-clause-item-row {
    display: flex;
    align-items: center; 
    gap: 8px;
    margin-bottom: 6px;
}
.sub-clause-input {
    font-size: .82rem !important;
    padding: 6px 10px !important;
}
.btn-soft-trigger {
      background: var(--accent-soft);
      border: 1px dashed var(--accent);
      color: var(--accent);
      font-size: .76rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 6px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
}
.btn-soft-trigger:hover { 
    background: var(--accent);
    color: #fff;
}

.wysiwyg-wrapper {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface2);
}
.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
  padding: 6px 10px;
  gap: 4px;
  align-items: center;
}
.wysiwyg-btn {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}
.wysiwyg-btn:hover {
  background: var(--border);
  color: #fff;
}

.btn-special-clause {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-special-clause:hover {
  background: var(--accent-hover);
}
.wysiwyg-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 4px 4px;
}

.wysiwyg-editor {
  min-height: 380px;
  padding: 16px;
  overflow-y: auto;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.6;
  outline: none;
  background: transparent;
}

/* Workspace Semantic Injections styling architecture */
.wysiwyg-editor .faq-item-block {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 6px;
  border: 1px dashed var(--border);
  margin-bottom: 12px;
}
.wysiwyg-editor .faq-q {
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}
.wysiwyg-editor .faq-a {
  color: var(--muted);
  font-size: 0.83rem;
}

.wysiwyg-editor .exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 6px;
}
.wysiwyg-editor .exp-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #fff;
}

/* Custom Password Dynamic Slide View Container */
.password-modification-wrapper {
  background: rgba(0, 0, 0, 0.15);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  display: none;
}
.password-modification-wrapper.open {
  display: block;
}

/* Interactive Switch Controls */
.switch-flex-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface2);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.switch-info-meta h6 {
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: #fff;
}
.switch-info-meta p {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0;
}

/* Account Profile Segment Card elements */
.profile-hero-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface2);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.avatar-placeholder-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 10px rgba(91, 106, 240, 0.3);
}
.profile-hero-meta h6 {
  margin: 0 0 2px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.profile-hero-meta p {
  margin: 0;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 500;
}


/* ═══════════════════════ CREATIVE CORE MATRIX SPLIT LAYOUT ═══════════════════════ */
.gateway-split-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  position: relative;
}

/* Left Side: Dynamic Identity / Branding Canvas Space */
.identity-canvas-panel {
  flex: 1.1;
  background: radial-gradient(circle at 20% 30%, #171d3d 0%, var(--bg) 70%);
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px;
  overflow: hidden;
}

/* Animated abstract decorative ambient lighting grid */
.ambient-glow-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 106, 240, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: -100px;
  left: -100px;
  filter: blur(50px);
  animation: pulseOrb 8s infinite alternate;
  z-index: 1;
}
@keyframes pulseOrb {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.identity-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  z-index: 10;
}
.identity-top-brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.identity-center-quote {
  max-width: 520px;
  z-index: 10;
  margin-top: auto;
  margin-bottom: auto;
}
.identity-center-quote h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.identity-center-quote h1 span {
  color: var(--accent);
  -webkit-text-fill-color: initial;
}
.identity-center-quote p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.identity-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid rgba(46, 51, 80, 0.4);
  padding-top: 25px;
  z-index: 10;
}
.live-clock-tracker {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* Right Side: Exacting Input Interface Framework */
.credential-interactive-panel {
  flex: 0.9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 20;
}

.auth-card-wrapper {
  width: 100%;
  max-width: 410px;
}
.auth-header-block {
  margin-bottom: 32px;
}
.auth-header-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.auth-header-block p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Floating / Custom Aesthetic Form Fields Layouts */
.interactive-field-group {
  position: relative;
  margin-bottom: 22px;
}
.field-label-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.input-icon-envelope {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon-envelope i.input-lead-icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 5;
}

.auth-input-element {
  width: 100%;
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  padding: 12px 44px 12px 44px !important;
  height: auto !important;
  transition: all 0.25s !important;
}
.auth-input-element:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(91, 106, 240, 0.15) !important;
  outline: none;
}
.interactive-field-group:focus-within i.input-lead-icon {
  color: var(--accent);
}

/* Structured Fixed Password Eye Wrapper Styling */
.password-visibility-trigger {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
  outline: none !important;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-visibility-trigger:hover {
  color: #fff;
}

/* Reset Password Hidden Dynamic Form Block Panel */
.reset-interactive-panel {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--border);
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.reset-interactive-panel.active {
  display: block;
  animation: slideInDown 0.3s ease-out;
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-top: -6px;
  margin-bottom: 26px;
}
.custom-control-label {
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  padding-top: 1px;
}
.custom-control-input:checked ~ .custom-control-label {
  color: #fff;
}

.forgot-password-link {
  color: var(--muted);
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.15s;
  cursor: pointer;
}
.forgot-password-link:hover {
  color: var(--accent);
}

.btn-submit-gateway {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-submit-gateway:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(91, 106, 240, 0.3);
}
.btn-submit-gateway:active {
  transform: translateY(0);
}

/* Responsive adaptive layouts rules breakpoints */
@media (max-width: 991px) {
  .identity-canvas-panel {
    display: none;
  }
  .credential-interactive-panel {
    flex: 1;
    padding: 30px;
  }
}


@media (max-width: 1199px) {
  .fe-12-col-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .client-showcase-row,
  .client-showcase-row.flipped {
    flex-direction: column;
    gap: 24px;
  }
  .client-images-block,
  .client-copy-block {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .fe-12-col-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .client-images-block {
    grid-template-columns: repeat(2, 1fr);
  }
   .client-dense-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}



/* ═══════════════════════ RESPONSIVE BREAKPOINTS ═══════════════════════ */
@media (max-width: 767px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-wrap {
    margin-left: 0;
    padding: 30px 15px;
  }

  .hamburger {
    display: flex;
  }

  .main-content {
    padding: 0;
  }

  .save-bar {
    margin-left: -14px;
    margin-right: -14px;
    padding: 14px 14px;
  }

  /* Collapse side-by-side structures back into full-width on mobile */
  .upload-split-layout {
    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .main-content {
    padding: 22px 18px 80px;
  }

  .save-bar {
    margin-left: -18px;
    margin-right: -18px;
  }
}

button:focus {
  outline: none;
}

@media (max-width: 1199px) {
    .fe-screen-viewport { padding: 40px 25px; }
    .fe-main-title h4 { font-size: 1.9rem; margin-bottom: 25px; }
    .service-name { font-size: 1.05rem; }
    .service-num { font-size: 1.7rem; }
}

@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); } 
    .fe-row-container { flex-direction: column; }
    .fe-left-col, .fe-right-col { width: 100%; padding-left: 0; padding-right: 0; }
    .fe-right-col { padding-top: 20px !important; }
}

@media (max-width: 575px) { 
    .fe-screen-viewport { padding: 30px 15px; }
    .radio-group-row { flex-direction: column; gap: 6px; }
}