:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --surface: #ffffff;
  --background: #f6f9fc;
  --on-surface: #1e293b;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.12);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--on-surface);
  margin: 0;
  line-height: 1.6;
  position: relative;
  padding-bottom: 40px;
}

.sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: var(--primary);
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 16px;
  margin: 6px 0;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.brand span.brand-logo {
  background: #fff;
  color: #0d9488;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 5px;
}

.main {
  margin-left: 240px;
  padding: 28px;
  transition: all 0.3s ease;
}

.topbar {
  background: var(--surface);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-custom {
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 0;
  transition: 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card h4 {
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

.stat-card small {
  color: #64748b;
}

.stat-card .stat-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 30px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.btn-teal {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.btn-teal:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 100;
}

.fab:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.table-hover tbody tr:hover {
  background: #f0fdfa;
}

.table th {
  font-weight: 600;
  color: #475569;
  font-size: 14px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.badge.bg-soft-teal {
  background: rgba(13, 148, 136, 0.12);
  color: var(--primary);
}

.footer {
  margin-top: 30px;
  font-size: 14px;
  color: #64748b;
  position: fixed;
  bottom: 0;
  width: calc(100% - 250px);
  right: 0;
  margin-left: 240px;
  background: #fff;
}

@media (max-width: 991.98px) {
  .sidebar {
    left: -320px;
    z-index: 99;
  }

  .sidebar.show {
    left: 0;
  }

  .main {
    margin-left: 0;
    padding: 16px;
  }
}

.table {
  border-spacing: 0 10px;
}

.table thead th {
  background: transparent;
  color: #334155;
  font-weight: 600;
  border-top: 0;
  padding: 12px 16px;
  border: 1px solid #00000026;
}

.table tbody tr {
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(3, 18, 18, 0.02);
  border-radius: 10px;
}

.table tbody tr td {
  padding: 12px 16px;
  vertical-align: middle;
  border: 1px solid #00000012;
}

.table tbody tr:hover {
  transform: translateY(-1px);
  transition: 0.15s;
  background: rgba(13, 148, 136, 0.02);
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.badge--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  font-weight: 700;
}

.badge--submitted {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-weight: 700;
}

.badge--late {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-weight: 700;
}

.btn-light {
  border-radius: 10px;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
}

.modal-content {
  border-radius: 12px;
  overflow: hidden;
}

.modal-header {
  background: var(--primary);
  border-bottom: 0;
  padding: 18px 20px;
}

.modal-footer {
  padding: 14px 20px;
}

.form-control,
.form-select {
  border-radius: 10px;
}

.small-muted {
  color: #64748b;
  font-size: 0.95rem;
}

.text-teal {
  color: var(--primary) !important;
}

.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: 0;
}

@media (max-width: 991.98px) {
  .sidebar {
    left: -320px;
  }

  .sidebar.show {
    left: 0;
  }

  .main {
    margin-left: 0;
    padding: 16px;
  }

  .topbar {
    border-radius: 10px;
  }
}

.action-btn {
  transition:
    transform 0.12s,
    background 0.12s;
  border-radius: 8px;
}

.action-btn:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.03);
}

.table tbody tr td i {
  color: #0d9488;
}

.table tbody tr td i {
  color: #0d9488;
}

button.btn-close {
  filter: invert(14);
  opacity: 1;
}

.modal-body h5 {
  color: #000;
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

a.btn.btn-outline-teal {
  border: 1px solid #0000001f;
  padding: 12px 20px;
}

.card-custom h6 {
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
}

.progress {
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin: 2px 0;
}

.progress-bar {
  transition: width 0.4s ease;
}

.bg-teal {
  background-color: #008080 !important;
}

.bg-soft-teal {
  background-color: rgba(0, 128, 128, 0.1);
}

.text-teal {
  color: #008080 !important;
}

.badge {
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30px;
}

.profile img.rounded-circle {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Report Page Css Starts */

.card-std-wrap {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
}

.card-std-heading h6 {
  text-transform: capitalize;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
}

.card-std-info-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 30px;
}

.card-std-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 150px;
  border-radius: 5px;
  overflow: hidden;
}

.card-std-img img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card-std-info-txt-main {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 15px;
  width: 70%;
}

.card-std-info-txt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 80%;
  /* padding: 10px; */
  /* border-radius: 5px; */
}

.card-std-info-txt h4 {
  font-size: 16px;
  line-height: 1;
  color: #000;
  font-family: "Poppins";
  text-transform: capitalize;
  margin: 0;
  width: 100%;
}

/* Report Page Css Ends */

/* Edit Profile Page Css Starts */

.edit-profile-form {
  width: 100% !important;
}

.edit-profile-main {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 20px 0 #00000012;
}

.edit-profile-head h4 {
  font-size: 25px;
  line-height: 1;
  margin: 0;
  text-transform: capitalize;
  font-weight: 500;
}

.edit-profile-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.edit-profile-user-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.edit-profile-user-img img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.edit-profile-wrap {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
  margin: 0 0 0 20px;
}

.edit-profile-input {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
}

.edit-profile-input label {
  font-size: 16px;
  line-height: 1;
  margin: 0;
}

.edit-profile-user-img {
  position: relative;
  /* width: 120px; */
  /* adjust if needed */
  /* height: 120px; */
  /* border-radius: 50%; */
  /* overflow: hidden; */
}

.edit-profile-user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.change-photo-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.change-password-form {
  width: 100% !important;
}

.change-password-main {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 20px 0 #00000012;
}

.change-password-head h4 {
  font-size: 25px;
  line-height: 1;
  margin: 0;
  text-transform: capitalize;
  font-weight: 500;
}

.change-password-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.change-password-user-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.change-password-user-img img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.change-password-wrap {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
}

.change-password-input {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
}

.change-password-input label {
  font-size: 16px;
  line-height: 1;
  margin: 0;
}

.password-box {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 10px;
}

.password-box input {
  padding: 10px 45px 10px 20px;
}

.password-icon {
  position: absolute;
  top: 70%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.password-icon i {
  color: #000;
}

.change-password-box {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
}

/* Edit Profile Page Css Ends */


/* new css */

.credit_score_wrpr .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 600px;
  margin: 0 auto;
}

.credit_score_wrpr svg.gauge {
  width: 600px;
  height: 350px;
  overflow: visible;
  margin: 0 auto;
}

.credit_score_wrpr #needle-group {
  transform-origin: 280px 280px;
  animation: sweepNeedle 1.8s 0.5s cubic-bezier(.25, .46, .45, .94) both;
}

@keyframes sweepNeedle {
  0% {
    transform: rotate(-90deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

.credit_score_wrpr .bottom-row {
  width: 560px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 10px 0;
}

.credit_score_wrpr .lbl-left {
  color: #d0302a;
  font-size: 14px;
  font-weight: 800;
}

.credit_score_wrpr .lbl-mid {
  text-align: center;
  line-height: 1.4;
}

.credit_score_wrpr .lbl-mid .t1 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
}

.credit_score_wrpr .lbl-mid .t2 {
  font-size: 20px;
  font-weight: 800;
  color: #27ae60;
}

.credit_score_wrpr .lbl-right {
  color: #145a32;
  font-size: 14px;
  font-weight: 800;
}

.credit_score_wrpr {
  text-align: center;
}

.credit_score_wrpr>h2 {
  font-weight: 700;
}

.card-custom.new_edit h3 {
  font-size: 30px;
  color: #0d9488;
  font-weight: 600;
  display: block;
  line-height: 1.2;
  margin-bottom: 15px;
}

.card-custom.new_edit h4 {
  font-size: 20px;
  color: #000;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 20px;
}

.card-custom.new_edit .grp_inp label {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.card-custom.new_edit .grp_inp {
  margin-bottom: 20px;
}

.card-custom.new_edit .grp_inp input {
  width: 100%;
  height: 45px;
  border: 1px solid #ededed;
  background: #fcfcfc;
  border-radius: 5px;
  padding: 10px;
  outline: none;
}