*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f0f2f5;
  --surface: #ffffff;
  --blue: #0C7DB2;
  --blue-light: #dce8ff;
  --blue-dark: #024A7A;
  --blue-gradient: linear-gradient(135deg, #11BFF2 0%, #0C7DB2 40%, #024A7A 100%);
  --blue-dark-gradient: linear-gradient(135deg, #0C7DB2 0%, #024A7A 50%, #024A7A 100%);
  --green: #22c55e;
  --green-bg: #dcfce7;
  --yellow: #f59e0b;
  --yellow-bg: #fef3c7;
  --red: #ef4444;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 16px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--blue-dark-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  padding: 24px;
}

/* ── WRAPPER ── */
.app {
  max-width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── NAVBAR ── */
.custom-navbar {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue);
  padding: 16px 32px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16.6px;
  letter-spacing: -.3px;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--text-primary);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16.6px;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin-bottom: 0;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--blue-dark);
  padding: 7px 14px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg);
}

.navbar .nav-item .nav-link {
  padding: 7px 14px;
}

.navbar .nav-links a.active {
  background: var(--blue-dark-gradient);
  color: #fff;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 14.4px;
  color: var(--text-muted);
  font-family: var(--font-body);
  cursor: text;
  min-width: 280px;
}

.nav-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: var(--text-primary);
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

/* ── MAIN CONTENT ── */
.main {
  padding: 24px 28px;
}

/* ── CARD BASE ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ── TOTAL EMPLOYEES ── */
.card-employees {
  background: var(--blue-gradient);
  /*border-color: transparent;*/
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp .5s .1s ease both;
}

.card-employees .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-employees .card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 19.9px;
  font-weight: 600;
}

.card-employees .icon-box {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18.8px;
}

.pill-select {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13.3px;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-employees .big-number {
  font-family: var(--font);
  font-size: 61.9px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.card-employees .sub-label {
  font-size: 14.4px;
  opacity: .75;
  margin-top: 4px;
}

/* ── PERFORMANCE TABS ── */
.perf-tabs {
  display: flex;
  gap: 6px;
}

.perf-tab {
  font-size: 13.3px;
  font-family: var(--font);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
  border: none;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
}

.perf-tab.active {
  background: #fff;
  color: var(--blue);
}

.perf-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.perf-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.perf-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, .3);
  border: 2px solid rgba(255, 255, 255, .4);
  display: grid;
  place-items: center;
  font-size: 14.4px;
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
}

.perf-name {
  flex: 1;
  font-size: 14.4px;
  font-weight: 500;
  opacity: .9;
}

.perf-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.3px;
  opacity: .85;
}

.mini-chart {
  width: 32px;
  height: 18px;
}

/* ── ATTENDANCE CARD ── */
.card-attendance {
  padding: 40px;
  animation: fadeUp .5s .15s ease both;
  background: var(--blue-dark);
  color: #fff;
  border-color: transparent;
}

.card-attendance .section-title,
.card-attendance .att-name,
.card-attendance .att-time-val,
.card-attendance .link-btn {
  color: #fff;
}

.card-attendance .section-title .s-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.card-attendance .att-avatar {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: transparent;
}

.card-attendance .att-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.card-attendance .att-div,
.card-attendance .att-time-label,
.card-attendance .att-footer-txt {
  color: rgba(255, 255, 255, 0.7);
}

.card-attendance .att-footer {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 19.9px;
  font-weight: 600;
  color: var(--blue-dark);
}

.section-title .s-icon {
  width: 34px;
  height: 34px;
  background: var(--bg);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 19.9px;
}

.att-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.att-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.att-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.att-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 15.5px;
}

.att-info {
  flex: 1;
  min-width: 0;
}

.att-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.att-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
}

.badge {
  font-size: 11.6px;
  font-weight: 600;
  font-family: var(--font);
  padding: 6px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-late {
  background: rgba(255, 255, 255, .15);
  color: var(--yellow);
}

.badge-punct {
  background: rgba(255, 255, 255, .15);
  color: var(--green);
}

.badge-checkin {
  background: rgba(255, 255, 255, .15);
  color: var(--blue);
}

.att-div {
  font-size: 13.3px;
  color: var(--text-muted);
}

.att-time {
  text-align: right;
  flex-shrink: 0;
}

.att-time-val {
  font-family: var(--font);
  font-size: 14.4px;
  font-weight: 600;
  display: block;
}

.att-time-label {
  font-size: 12.2px;
  color: var(--text-muted);
}

.att-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.att-footer-txt {
  font-size: 13.3px;
  color: var(--text-muted);
}

.link-btn {
  font-size: 13.8px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ── SIDEBAR CARDS ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-row: span 1;
}

.card-today {
  padding: 20px;
  animation: fadeUp .5s .2s ease both;
}

.today-numbers {
  display: flex;
  gap: 16px;
  margin: 16px 0 10px;
}

.today-num {
  flex: 1;
}

.today-num .big {
  font-family: var(--font);
  font-size: 35.4px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.today-num .label {
  font-size: 12.2px;
  color: var(--text-muted);
  margin-top: 3px;
}

.divider-v {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font);
}

.card-leave {
  padding: 20px;
  animation: fadeUp .5s .25s ease both;
  flex: 1;
}

.leave-desc {
  font-size: 13.3px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.leave-stat {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.leave-num {
  font-family: var(--font);
  font-size: 46.4px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.leave-badge {
  background: var(--green-bg);
  color: var(--green);
  font-size: 12.8px;
  font-weight: 700;
  font-family: var(--font);
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 6px;
}

/* ── DIRECTORY ── */
.card-directory {
  padding: 40px;
  animation: fadeUp .5s .3s ease both;
}

.dir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dir-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.dir-tab {
  font-size: 13.8px;
  font-family: var(--font);
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  background: var(--bg);
  color: var(--text-secondary);
  transition: all .2s;
}

.dir-tab.active {
  background: var(--blue);
  color: #fff;
}

.add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 18px;
  font-family: var(--font);
  font-size: 14.4px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.add-btn:hover {
  background: var(--blue-dark);
}

/* TABLE */
.dir-table {
  width: 100%;
  border-collapse: collapse;
}

.dir-table th {
  text-align: left;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 12px 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
}

.dir-table td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: middle;
}

.dir-table tr:last-child td {
  border-bottom: none;
}

.dir-table tr {
  transition: background .15s;
}

.dir-table tr:hover td {
  background: rgba(74, 127, 229, .03);
}

.emp-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--blue);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.emp-name {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emp-id {
  font-size: 12.8px;
  color: var(--text-muted);
  margin-top: 2px;
}

.role-title {
  font-weight: 500;
  color: var(--text-primary);
}

.role-div {
  font-size: 13.3px;
  color: var(--text-muted);
  margin-top: 2px;
}

.score-val {
  font-family: var(--font);
  font-weight: 700;
  color: var(--text-primary);
}

.type-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13.3px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.btn-data-action .material-icons {
  font-size: 14.4px;
  margin-right: 4px;
}

.btn-data-action {
  font-size: 15px;
  margin-right: 5px;
  color: #000;
  font-weight: 500;
}

/* ── SUMMARY CHART ── */
.card-summary-chart {
  padding: 40px;
}

.summary-bars {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  height: 160px;
}

.s-bar {
  flex: 1;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.s-bar-top {
  flex: 1;
  text-align: center;
  padding-top: 12px;
}

.s-bar-num {
  font-family: var(--font);
  font-size: 17.7px;
  font-weight: 700;
  color: #1e293b;
}

.s-bar-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12px;
  color: #fff;
  transition: height 0.3s ease;
}

.s-bar-icon {
  font-size: 17.7px;
  margin-bottom: 4px;
  line-height: 1;
}

.s-bar-label {
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font);
  text-transform: capitalize;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 991px) {
  body {
    padding: 12px;
  }

  .app {
    border-radius: 12px;
  }

  .custom-navbar {
    padding: 12px 16px;
    top: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .main {
    padding: 16px;
  }

  .card-employees .card-title,
  .section-title {
    font-size: 19.9px;
  }

  .card-employees .big-number {
    font-size: 44.2px;
  }

  .nav-links {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  .nav-search {
    margin-top: 12px;
  }

  .att-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search {
    flex: auto;
  }
}

/* ── ATTENDANCE PAGE SPECIFIC ── */
.attendance-container {
  padding: 24px 32px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.filter-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14.4px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.filter-search {
  flex: 0 0 250px;
  cursor: text;
}

.filter-search input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-body);
  color: var(--text-primary);
}

.filter-search input::placeholder {
  color: var(--text-muted);
}

.table-wrapper {
  /*border: 1px solid var(--border);
  border-radius: var(--radius-xs);*/
  overflow-x: auto;
}

.att-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

.att-table th {
  background: #f8fafc;
  text-align: left;
  font-size: 13.3px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font);
  white-space: nowrap;
}

.sortable {
  cursor: pointer;
  user-select: none;
  transition: background 0.1s ease;
}

.sortable:hover {
  background: #f1f5f9;
}

.th-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sort-icon {
  color: var(--text-muted);
  font-size: 11px;
}

.att-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14.4px;
  vertical-align: middle;
  color: var(--text-primary);
}

.att-table tr:last-child td {
  border-bottom: none;
}

.att-table tr:hover {
  background: #f8fafc;
}

.time-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
}

.time-value {
  color: var(--text-primary);
}

.time-value.warning {
  color: #ea580c;
}

/* orange/red for late/early */

.time-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12.2px;
  font-weight: 500;
}

.time-duration::before,
.time-duration::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border);
}

.time-duration::before {
  margin-right: 2px;
}

.time-duration::after {
  margin-left: 2px;
}

.pill-data {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 13.3px;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.pill-data.blue-text {
  color: var(--blue);
}

.note-text {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  display: inline-block;
}

/* ── UTILITY CLASSES FOR REFACTOR ── */
.fs-sm {
  font-size: 14.4px !important;
}

.fs-xs {
  font-size: 11.6px !important;
}

.text-secondary-13 {
  color: var(--text-secondary) !important;
  font-size: 14.4px !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.avatar-danger {
  background: rgba(239, 68, 68, .3) !important;
  border-color: rgba(239, 68, 68, .4) !important;
}

.avatar-img {
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
}

.text-warning-custom {
  color: #f59e0b !important;
}

.text-success-custom {
  color: #22c55e !important;
}

.text-purple-custom {
  color: #8b5cf6 !important;
}

.bg-light-gray {
  background: #f3f4f6 !important;
}

.bg-blue-light {
  background-color: #e0f2fe !important;
}

.fill-blue {
  background-color: #0C7DB2 !important;
}

.h-65 {
  height: 65% !important;
}

.bg-green-light {
  background-color: #ecfccb !important;
}

.fill-green {
  background-color: #84cc16 !important;
}

.h-50 {
  height: 50% !important;
}

.bg-orange-light {
  background-color: #ffedd5 !important;
}

.fill-orange {
  background-color: #f97316 !important;
}

.h-25 {
  height: 25% !important;
}

.bg-red-light {
  background-color: #ffe4e6 !important;
}

.fill-red {
  background-color: #ef4444 !important;
}

.h-30 {
  height: 30% !important;
}

/* ── REPORTS PAGE ── */
.page-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 35.4px;
  color: #1f2937;
  margin-bottom: 24px;
}

.format-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  height: 100%;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.format-card:hover,
.format-card.active-card {
  border-color: var(--blue);
  box-shadow: 0 8px 16px rgba(90, 103, 216, 0.1);
  transform: translateY(-2px);
}

.card-icon-wrapper {
  width: 44px;
  height: 44px;
  background: var(--blue-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22.1px;
  margin-bottom: 24px;
}

.card-title-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18.8px;
  color: #111827;
  margin-bottom: 12px;
}

.card-desc-text {
  font-size: 15.5px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* ── SETTINGS PAGE ── */
.settings-sidebar {
  display: flex;
  flex-direction: column;
}

.settings-tab {
  display: block;
  padding: 12px 16px;
  color: var(--blue);
  text-decoration: none;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 2px;
  transition: all 0.2s;
}

.settings-tab:hover {
  background: rgba(74, 177, 204, 0.1);
  color: var(--blue);
}

.settings-tab.active {
  background: var(--blue-dark-gradient);
  color: #fff;
}

.settings-title {
  color: var(--blue-dark);
  font-family: var(--font);
  font-weight: 300;
  font-size: 30.9px;
  margin-bottom: 8px;
  margin-top: 0;
  letter-spacing: -0.5px;
}

.settings-divider {
  border-top: 1px solid var(--blue-dark);
  ;
  opacity: 1;
  margin-top: 0;
  margin-bottom: 24px;
}

.settings-label {
  color: #4a5568;
  font-family: var(--font);
  font-size: 15.5px;
}

.settings-desc {
  color: #a0aec0;
  font-size: 15px;
}

.settings-checkbox input[type="checkbox"] {
  border-color: var(--blue-dark);
  ;
  border-radius: 3px;
  cursor: pointer;
}

.settings-checkbox input[type="checkbox"]:checked {
  background-color: #fff;
  border-color: var(--blue-dark);
  ;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%233bb2ce' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.settings-group .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 15.5px;
  color: #4a5568;
}

.settings-group .form-control::placeholder {
  color: #cbd5e1;
  font-style: italic;
}

.settings-group .form-control:focus {
  border-color: var(--blue-dark);
  ;
  box-shadow: 0 0 0 0.2rem rgba(59, 178, 206, 0.25);
  outline: none;
}

/* ── LOGIN PAGE ── */
.login-page-html,
.login-page-body {
  height: 100%;
  margin: 0;
  padding: 0 !important;
  font-family: 'DM Sans', sans-serif;
  background-color: #fff;
}

.login-wrapper {
  min-height: 100vh;
}

.login-left {
  background: var(--blue-dark-gradient);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem 5rem;
}

.bg-lines {
  position: absolute;
  top: -10%;
  left: 5%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.bg-lines div {
  position: absolute;
  border: 1.5px solid #ffffff;
  border-radius: 40%;
  transform: rotate(-15deg);
}

.bg-line-1 {
  width: 400px;
  height: 800px;
  top: -100px;
  left: -50px;
}

.bg-line-2 {
  width: 500px;
  height: 900px;
  top: -150px;
  left: -20px;
}

.bg-line-3 {
  width: 600px;
  height: 1000px;
  top: -200px;
  left: 10px;
}

.bg-line-4 {
  width: 700px;
  height: 1100px;
  top: -250px;
  left: 40px;
}

.left-content {
  position: relative;
  z-index: 2;
}

.left-logo-icon {
  font-family: 'Sora', sans-serif;
  font-size: 88.4px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 3.5rem;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 480px;
  opacity: 0.9;
}

.copyright-text {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  opacity: 0.7;
}

.login-right {
  display: flex;
  flex-direction: column;
  padding: 4rem 5rem;
  position: relative;
  box-shadow: -15px 0 30px rgba(0, 0, 0, 0.03);
  z-index: 3;
  background: white;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 5rem;
}

.form-container {
  max-width: 440px;
  width: 100%;
  margin: auto 0;
}

.form-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #111827;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.form-subtitle a {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
}

.custom-input {
  border: none;
  border-bottom: 1.5px solid #e5e7eb;
  border-radius: 0;
  padding: 0.8rem 0;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.custom-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.custom-input:focus {
  box-shadow: none;
  border-bottom-color: #111827;
  outline: none;
}

.btn-login {
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  margin-top: 1rem;
  transition: all 0.2s;
}

.btn-login:hover {
  background-color: #000000;
}

.btn-google {
  background-color: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-google:hover {
  background-color: #f9fafb;
}

.btn-google img {
  width: 18px;
  height: 18px;
}

.forgot-pass {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.forgot-pass a {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #111827;
}

@media (max-width: 991.98px) {

  .login-left,
  .login-right {
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .brand-name {
    margin-bottom: 2rem;
  }

  .form-container {
    margin: 0 auto;
  }
}