body {
  background:
    radial-gradient(circle at 20% 10%, rgba(20,107,255,.08), transparent 10%),
    linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(247,250,255,.58) 48%, rgba(255,255,255,.68) 100%),
    url("https://drivesafesolutions.com/usersc/background.png");

  background-repeat:
    no-repeat,
    no-repeat,
    repeat;

  background-size:
    auto,
    auto,
    420px auto;

  background-position:
    center,
    center,
    top center;

  background-attachment: fixed;

  color: var(--dss-ink, #0f172a);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.dss-account-page {
  background: transparent;
  min-height: calc(100vh - 120px);
  padding: 2rem 0;
}

.dss-page-title {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.dss-muted {
  color: #64748b;
}

.dss-card {
  position: relative;
  background: var(--dss-card, #fff);
  border: 1px solid var(--dss-border, #e2e8f0);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--dss-shadow, 0 12px 28px rgba(15, 23, 42, 0.06));
  height: 100%;
  overflow: visible;
  z-index: 1;
}

/* thin gradient layer under the card */
.dss-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -14px;
  height: 38px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.22),
    rgba(0,0,0,.08) 45%,
    rgba(0,0,0,0)
  );
  filter: blur(7px);
  z-index: -1;
  pointer-events: none;
}

.dss-profile-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.24), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(135deg,
      var(--dss-c1) 0%,
      var(--dss-c2) 34%,
      var(--dss-c3) 68%,
      var(--dss-c4) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.20);
}

/* Readability safety layer */
.dss-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(2, 6, 23, .76) 0%,
      rgba(2, 6, 23, .58) 42%,
      rgba(2, 6, 23, .72) 100%);
}

/* Hero overlay */
.dss-profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 35%),
    radial-gradient(circle at 20% 35%, rgba(255,255,255,.14), transparent 30%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,.08), transparent 34%);
  pointer-events: none;
  filter: none;
  left: auto;
  right: auto;
  bottom: auto;
  height: auto;
  border-radius: inherit;
}

.dss-profile-hero > * {
  position: relative;
  z-index: 1;
}

.dss-profile-hero h1,
.dss-profile-hero h2,
.dss-profile-hero h3,
.dss-profile-hero h4,
.dss-profile-hero h5,
.dss-profile-hero p,
.dss-profile-hero span,
.dss-profile-hero div,
.dss-profile-hero li,
.dss-profile-hero i {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.dss-profile-hero .dss-muted,
.dss-profile-hero .text-muted,
.dss-profile-hero .dss-info-list li {
  color: rgba(255, 255, 255, .90) !important;
}

.dss-profile-name {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff !important;
}

.dss-profile-hero .dss-badge {
  background: rgba(255, 255, 255, .18);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dss-profile-hero .btn-outline-secondary {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .48);
  color: #fff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.dss-profile-hero .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, .26);
  border-color: rgba(255, 255, 255, .72);
  color: #fff !important;
}

.dss-profile-photo {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, .42);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, .25),
    0 0 0 7px rgba(255, 255, 255, .10),
    0 14px 30px rgba(0, 0, 0, .32);
}

@media (max-width: 767.98px) {
  .dss-profile-hero {
    text-align: center;
  }

  .dss-profile-hero .dss-info-list li {
    justify-content: center;
  }
}

.dss-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: .8rem;
  font-weight: 700;
}

.dss-icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  color: #0284c7;
  flex: 0 0 auto;
}

.dss-icon-pill.green {
  background: #dcfce7;
  color: #16a34a;
}

.dss-icon-pill.gold {
  background: #fef3c7;
  color: #d97706;
}

.dss-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dss-info-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
  color: #334155;
}

.dss-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dss-detail-row:last-child {
  border-bottom: 0;
}

.dss-activity-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dss-activity-item:last-child {
  border-bottom: 0;
}

/* logo link */
.ds-logo,
.ds-logo:link,
.ds-logo:visited,
.ds-logo:hover,
.ds-logo:focus,
.ds-logo:active {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;

  color: inherit;
}

/* logo image */
.ds-logo-img {
  width: clamp(70px, 12vw, 120px);
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 102, 255, 0.25));
}

/* logo text */
.ds-logo-text {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;

  color: #eaf4ff;

  text-shadow:
    0 2px 3px rgba(255, 255, 255, 0.45),
    0 5px 14px rgba(0, 110, 255, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.65);
}

/* phone size */
@media (max-width: 576px) {
  .ds-logo {
    gap: 10px;
  }

  .ds-logo-img {
    width: 56px;
  }

  .ds-logo-text {
    font-size: 1.25rem;
    letter-spacing: -0.03em;
  }
}

/* UserSpice/common footer support */
footer,
.footer,
#footer,
.ds-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

/* Drive Safe Solutions footer */
.ds-footer {
  background: #07111f;
  color: #e5edf8;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  padding: 34px 0 22px;
}

.ds-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.ds-footer-brand-box {
  min-width: 230px;
}

.ds-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ds-footer-logo {
  width: 144px;
  max-width: 144px;
  height: auto;
  display: block;
}

.ds-tagline {
  color: #aab8cc;
  margin-top: 12px;
  font-size: 0.95rem;
}

.ds-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 28px;
  flex: 1;
}

.ds-footer h6 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.ds-footer a {
  display: block;
  color: #aab8cc;
  text-decoration: none;
  margin-bottom: 7px;
  font-weight: 500;
}

.ds-footer a:hover {
  color: #38bdf8;
  text-decoration: none;
}

.ds-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #8ea0b8;
  font-size: 0.9rem;
}

.ds-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ds-footer-bottom-links a {
  display: inline-block;
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 992px) {
  .ds-footer-main {
    flex-direction: column;
  }

  .ds-footer-links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

/* Mobile */
@media (max-width: 576px) {
  .ds-footer {
    text-align: left;
    padding: 28px 0 20px;
  }

  .ds-footer-links {
    grid-template-columns: 1fr;
  }

  .ds-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}