#root [data-profile-dashboard-page] {
  min-height: 100vh;
  color: #e8edf7 !important;
  background:
    radial-gradient(ellipse at 82% 0, #12355b55, transparent 34rem),
    #080c13 !important;
}

body[data-profile-dashboard-open] > a[aria-label="Oʻqituvchi profiliga kirish"],
#root [data-profile-dashboard-page] .awning-stripes {
  display: none !important;
}

#root [data-profile-dashboard-header] {
  color: #e8edf7;
  background: #0b111b !important;
  border-color: #202a3a !important;
}

#root [data-profile-dashboard-header] h1 {
  color: #e8edf7 !important;
  letter-spacing: -0.035em;
}

#root [data-profile-dashboard-header] button {
  color: #bdc9dc !important;
  background: #111a28 !important;
  border: 1px solid #263449;
}

#root [data-profile-dashboard-header] button:hover {
  color: #fff !important;
  border-color: #3987ff;
}

#root [data-profile-dashboard-main] {
  box-sizing: border-box;
  width: min(100%, 1480px);
  max-width: none !important;
  padding: 28px clamp(16px, 3vw, 42px) 48px !important;
}

#root [data-profile-dashboard-shell] {
  display: grid !important;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-height: calc(100vh - 108px) !important;
  padding: 0 !important;
  color: #e8edf7 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#root [data-profile-dashboard-nav] {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible !important;
  background: #0d1420 !important;
  border: 1px solid #202c3d !important;
  border-radius: 20px;
}

#root [data-profile-dashboard-nav]::before {
  content: "BOZORCHA  /  SHAXSIY";
  padding: 7px 10px 13px;
  color: #73839c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

#root [data-profile-dashboard-nav] button {
  justify-content: flex-start;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px !important;
  color: #aebbd0 !important;
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 12px !important;
  text-align: left;
  white-space: normal;
}

#root [data-profile-dashboard-nav] button:hover {
  color: #fff !important;
  background: #172338 !important;
}

#root [data-profile-dashboard-nav] button[data-profile-dashboard-active] {
  color: #fff !important;
  background: linear-gradient(115deg, #287ef4, #1760d1) !important;
  border-color: #438dff;
  box-shadow: 0 8px 22px #1265e633;
}

#root [data-profile-dashboard-nav] button[data-profile-dashboard-testhistory-btn] {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

[data-profile-dashboard-testhistory-active] [data-profile-dashboard-content] > *:not(#student-test-history) {
  display: none !important;
}

#student-test-history {
  display: none;
}

[data-profile-dashboard-testhistory-active] #student-test-history {
  display: block !important;
}

#root [data-profile-dashboard-content] {
  width: 100%;
  max-width: none !important;
  min-width: 0;
  color: #e8edf7 !important;
}

#root [data-profile-dashboard-content] [class*="bg-white"],
#root [data-profile-dashboard-content] [class*="bg-[#f3f5f2]"],
#root [data-profile-dashboard-content] [class*="bg-[#f8faf8]"],
#root [data-profile-dashboard-content] [class*="dark:bg-[#17211c]"] {
  color: #e8edf7 !important;
  background-color: #0d1420 !important;
  border-color: #26364e !important;
}

#root [data-profile-dashboard-content] [class*="text-[#14211b]"],
#root [data-profile-dashboard-content] [class*="text-[#5a6a62]"],
#root [data-profile-dashboard-content] [class*="text-[#405249]"],
#root [data-profile-dashboard-content] h2,
#root [data-profile-dashboard-content] h3,
#root [data-profile-dashboard-content] h4 {
  color: #e8edf7 !important;
}

#root [data-profile-dashboard-content] [class*="text-[#5a6a62]"] {
  color: #9cacc4 !important;
}

#root [data-profile-dashboard-content] input,
#root [data-profile-dashboard-content] select {
  color: #eef4ff !important;
  background: #111b29 !important;
  border-color: #29384d !important;
}

#root [data-profile-dashboard-content] button {
  color: #fff !important;
  background: linear-gradient(115deg, #287ef4, #1760d1) !important;
  border-color: #438dff !important;
}

#root [data-profile-dashboard-content] button:hover {
  filter: brightness(1.12);
}

#root [data-profile-dashboard-user] {
  position: relative;
  min-height: 118px;
  padding: 22px 24px !important;
  overflow: hidden;
  color: #e8edf7 !important;
  background:
    radial-gradient(circle at 92% 18%, #1589e24a, transparent 12rem),
    linear-gradient(120deg, #111b2b, #101723 70%) !important;
  border: 1px solid #26364e !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 38px #00000022;
}

#root [data-profile-dashboard-user] h2 {
  color: #f2f6ff !important;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.04em;
}

#root [data-profile-dashboard-user] p {
  color: #9cacc4 !important;
}

#root [data-profile-dashboard-user] [class*="rounded-full"] {
  border-color: #3184ff !important;
  box-shadow: 0 0 0 4px #3987ff22;
}

#root [data-profile-dashboard-user] [class*="rounded-xl"] {
  color: #a9d8ff !important;
  background: #123154 !important;
  border-color: #285581 !important;
}

#root [data-profile-dashboard-form] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 18px;
  padding: 22px !important;
  color: #dce5f3 !important;
  background: #0d1420 !important;
  border: 1px solid #202c3d;
  border-radius: 20px;
}

#root [data-profile-dashboard-form] > * {
  min-width: 0;
}

#root [data-profile-dashboard-form] label,
#root [data-profile-dashboard-form] [class*="text-[#14211b]"],
#root [data-profile-dashboard-form] [class*="dark:text-[#e9f1ec]"] {
  color: #c4d0e1 !important;
}

#root [data-profile-dashboard-form] input,
#root [data-profile-dashboard-form] select {
  min-height: 44px;
  color: #eef4ff !important;
  background: #111b29 !important;
  border-color: #29384d !important;
}

#root [data-profile-dashboard-form] input:focus,
#root [data-profile-dashboard-form] select:focus {
  border-color: #3987ff !important;
  box-shadow: 0 0 0 3px #3987ff22;
}

#root [data-profile-dashboard-form] button[type="submit"] {
  min-height: 44px;
  color: #fff !important;
  background: linear-gradient(115deg, #287ef4, #1760d1) !important;
  border: 0 !important;
}

#root [data-profile-dashboard-form] button:not([type="submit"]) {
  min-height: 44px;
  color: #ff9a9a !important;
  background: #241519 !important;
  border: 1px solid #57303a;
}

[data-profile-dashboard-history] {
  color-scheme: dark;
}

@media (max-width: 760px) {
  #root [data-profile-dashboard-main] {
    padding: 18px 14px 36px !important;
  }

  #root [data-profile-dashboard-shell] {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0 !important;
  }

  #root [data-profile-dashboard-nav] {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 9px !important;
    overflow: visible !important;
  }

  #root [data-profile-dashboard-nav]::before {
    display: none;
  }

  #root [data-profile-dashboard-nav] button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    gap: 5px;
    padding: 8px 5px !important;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
  }

  #root [data-profile-dashboard-user] {
    min-height: 0;
    padding: 17px !important;
  }

  #root [data-profile-dashboard-form] {
    gap: 12px;
    padding: 16px !important;
  }
}

@media (max-width: 480px) {
  #root [data-profile-dashboard-form] {
    grid-template-columns: minmax(0, 1fr);
  }
}
