@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap");
:root {
  --bg: #f5f7fb;
  --card: #fff;
  --ink: #172033;
  --muted: #748097;
  --line: #e7ebf2;
  --brand: #5b4bdb;
  --brand2: #7b6ff0;
  --soft: #f0efff;
  --green: #159c75;
  --gold: #e9a51b;
}
html,
body,
button,
input,
select,
textarea {
  font-family: "Vazirmatn", Vazirmatn, Tahoma, sans-serif;
}
* {
  box-sizing: border-box;
  font-family: "Vazirmatn", Vazirmatn, Tahoma, sans-serif;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", Vazirmatn, Tahoma, sans-serif;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: linear-gradient(135deg, #171744, #4037a2);
  padding: 7vw;
  gap: 8vw;
  color: #fff;
}
.auth-hero {
  align-self: center;
}
.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 36px;
}
.auth h1 {
  font-size: 54px;
  margin: 28px 0 6px;
}
.auth h2 {
  font-size: 25px;
  line-height: 1.7;
  font-weight: 500;
}
.auth-hero p {
  max-width: 520px;
  color: #d5d4ff;
  line-height: 2;
}
.hero-tags {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.hero-tags span {
  background: #ffffff16;
  border: 1px solid #ffffff30;
  border-radius: 100px;
  padding: 9px 15px;
}
.login-card {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 42px;
  align-self: center;
  box-shadow: 0 30px 80px #0003;
}
.login-card h2 {
  font-size: 28px;
  margin: 8px 0;
}
.login-card > p {
  color: var(--muted);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 18px;
}
input {
  width: 100%;
  margin-top: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  outline: none;
}
.primary,
.secondary,
.locked,
.open,
.disabled {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.primary,
.open {
  background: var(--brand);
  color: #fff;
}
.primary:hover,
.open:hover {
  background: #4839c7;
}
.secondary {
  background: #f1f3f7;
  color: var(--ink);
}
.disabled {
  background: #eee;
  color: #888;
}
.login-card .primary {
  width: 100%;
  margin-top: 25px;
}
.login-card small {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
}
.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.alert {
  background: #fff1f1;
  color: #b33;
  padding: 10px;
  border-radius: 10px;
  margin: 10px 0;
}
.app-shell {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 270px;
  background: #fff;
  border-left: 1px solid var(--line);
  padding: 26px 15px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  right: 0;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 12px 25px;
  border-bottom: 1px solid var(--line);
}
.brand > span {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand), #8b7cff);
  border-radius: 14px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.brand b {
  display: block;
  font-size: 19px;
}
.brand small {
  color: var(--muted);
  font-size: 10px;
}
.sidebar nav {
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.nav-section {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.nav {
  border: 0;
  background: transparent;
  text-align: right;
  padding: 11px 12px;
  border-radius: 11px;
  font: inherit;
  color: #59647a;
  cursor: pointer;
}
.nav i {
  font-style: normal;
  width: 28px;
  display: inline-block;
}
.nav.active {
  background: var(--soft);
  color: var(--brand);
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
}
.mini-plan {
  background: linear-gradient(135deg, #f1efff, #fafaff);
  border-radius: 14px;
  padding: 13px;
  color: var(--muted);
  font-size: 11px;
}
.mini-plan b {
  color: var(--brand);
  font-size: 15px;
}
.logout {
  border: 0;
  background: transparent;
  color: #c55;
  width: 100%;
  padding: 14px;
  font: inherit;
  cursor: pointer;
}
.main {
  margin-right: 270px;
  width: calc(100% - 270px);
}
header {
  height: 92px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}
header h2 {
  font-size: 18px;
  margin: 0;
}
header p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.profile-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8e6ff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 35px 42px;
  max-width: 1600px;
}
.hero-card {
  border-radius: 24px;
  padding: 40px;
  background: linear-gradient(120deg, #25205b, #5c4ccf);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
}
.hero-card h1 {
  font-size: 32px;
  margin: 16px 0;
}
.hero-card p {
  color: #dcd8ff;
  max-width: 620px;
  line-height: 2;
}
.pill {
  background: #ffffff20;
  border: 1px solid #ffffff30;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
}
.hero-stat {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  gap: 5px 18px;
  min-width: 190px;
}
.hero-stat strong {
  font-size: 34px;
}
.hero-stat span {
  font-size: 12px;
  color: #dcd8ff;
  align-self: center;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.stat-grid > div,
.recent-box,
.setting-card,
.current-plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.stat-grid b {
  display: block;
  font-size: 23px;
  margin-top: 8px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 32px 0 15px;
}
.section-head h2 {
  font-size: 19px;
  margin: 0;
}
.section-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 700;
}
.recent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.recent:last-child {
  border: 0;
}
.recent > span {
  color: var(--brand);
}
.recent div {
  flex: 1;
}
.recent b,
.recent small {
  display: block;
}
.recent small {
  font-size: 11px;
  color: var(--muted);
}
.recent button {
  border: 0;
  background: var(--soft);
  color: var(--brand);
  padding: 7px 12px;
  border-radius: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 21px;
  transition: 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #2635530d;
}
.product-top {
  display: flex;
  justify-content: space-between;
}
.type {
  font-size: 11px;
  color: var(--brand);
  background: var(--soft);
  padding: 5px 9px;
  border-radius: 7px;
}
.beta {
  font-size: 9px;
  background: #fff4d8;
  color: #b27600;
  padding: 5px 7px;
  border-radius: 6px;
}
.product-icon {
  font-size: 31px;
  margin: 18px 0 8px;
}
.product-card h3 {
  font-size: 17px;
  margin: 5px 0;
}
.product-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  min-height: 65px;
}
.meta {
  display: flex;
  justify-content: space-between;
  color: #8b94a7;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.access {
  font-size: 10px;
  font-weight: 800;
}
.access.normal {
  color: var(--green);
}
.access.silver {
  color: #64748b;
}
.access.gold {
  color: #c88b00;
}
.open,
.locked {
  padding: 8px 11px;
  font-size: 11px;
}
.locked {
  background: #f3f4f6;
  color: #7d8798;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}
.page-title h1 {
  margin: 7px 0;
  font-size: 28px;
}
.page-title p {
  color: var(--muted);
  font-size: 13px;
}
.search {
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 12px;
  width: 260px;
}
.search input {
  border: 0;
  margin: 0;
  padding: 8px;
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.filter,
.report-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
}
.filter.active,
.report-tabs button.active {
  background: var(--soft);
  border-color: #d8d3ff;
  color: var(--brand);
}
.current-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #fff, #f6f5ff);
}
.current-plan span {
  color: var(--muted);
  font-size: 12px;
}
.current-plan h2 {
  margin: 5px 0;
}
.current-plan p {
  font-size: 12px;
  color: var(--muted);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  position: relative;
}
.plan.selected {
  border: 2px solid var(--brand);
  box-shadow: 0 12px 30px #5b4bdb12;
}
.plan-tag {
  font-size: 10px;
  background: var(--soft);
  color: var(--brand);
  padding: 5px 9px;
  border-radius: 100px;
}
.price {
  font-size: 22px;
  font-weight: 800;
  margin: 18px 0;
}
.plan ul {
  list-style: none;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.5;
  min-height: 145px;
}
.plan .primary,
.plan .disabled {
  width: 100%;
}
.report-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.empty {
  background: #fff;
  border: 1px dashed #d8dce6;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.empty.large {
  padding: 65px;
}
.empty h3 {
  color: var(--ink);
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.setting-card h3 {
  margin-top: 0;
}
.setting-card p {
  font-size: 12px;
  color: var(--muted);
  min-height: 45px;
}
.workspace {
  background: #fff;
  border-radius: 22px;
  padding: 35px;
  border: 1px solid var(--line);
}
.workspace h1 {
  font-size: 30px;
}
.workspace > p {
  color: var(--muted);
  line-height: 2;
}
.back {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  margin-bottom: 25px;
}
.workspace-panel {
  margin-top: 30px;
  background: #f8f9fc;
  padding: 30px;
  border-radius: 18px;
  display: flex;
  gap: 25px;
}
.workspace-icon {
  font-size: 50px;
}
.workspace-panel p {
  color: var(--muted);
  line-height: 2;
}
.progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 9px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--brand);
}
@media (max-width: 1000px) {
  .product-grid,
  .plan-grid,
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar {
    width: 220px;
  }
  .main {
    margin-right: 220px;
    width: calc(100% - 220px);
  }
}
@media (max-width: 720px) {
  .auth {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .auth-hero {
    display: none;
  }
  .sidebar {
    display: none;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  .content {
    padding: 20px;
  }
  .product-grid,
  .plan-grid,
  .settings-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: block;
    padding: 25px;
  }
  .hero-stat {
    margin-top: 20px;
  }
  .page-title {
    display: block;
  }
  .search {
    width: 100%;
    margin-top: 15px;
  }
  .mobile-menu {
    display: block;
    border: 0;
    background: none;
    font-size: 20px;
  }
  .workspace-panel {
    display: block;
  }
  .current-plan {
    display: block;
  }
  .current-plan button {
    margin-top: 15px;
  }
}
/* Commercial V2 Admin */
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #f6f7fb;
}
.admin-sidebar {
  padding: 24px;
  background: #171c2c;
  color: #fff;
}
.admin-sidebar button {
  display: block;
  width: 100%;
  text-align: right;
  padding: 12px;
  margin: 5px 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d9def0;
  cursor: pointer;
}
.admin-sidebar button.active,
.admin-sidebar button:hover {
  background: #303a58;
  color: #fff;
}
.admin-main {
  padding: 30px;
  overflow: auto;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.admin-stat,
.admin-card {
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  padding: 18px;
}
.admin-stat b {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: right;
}
.toolbar {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}
.modal {
  position: fixed;
  inset: 0;
  background: #0007;
  display: grid;
  place-items: center;
  z-index: 20;
}
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: min(700px, 92vw);
  max-height: 88vh;
  overflow: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid label {
  display: grid;
  gap: 6px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
}
.form-grid textarea {
  grid-column: 1/-1;
  min-height: 90px;
}
.admin-badge {
  padding: 4px 9px;
  border-radius: 20px;
  background: #eef1f7;
  font-size: 12px;
}
.danger {
  background: #c73b4a;
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 850px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: flex;
    gap: 5px;
    overflow: auto;
  }
  .admin-sidebar button {
    white-space: nowrap;
    width: auto;
  }
}
/* Commercial V4 */
.product-cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin: 12px 0;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.file-list,
.version-list {
  margin-top: 26px;
  background: #f8f9fc;
  border-radius: 16px;
  padding: 20px;
}
.file-row,
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.file-row:last-child,
.ticket-row:last-child {
  border-bottom: 0;
}
.file-row small,
.ticket-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.version-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 10px 0;
}
.version-item span {
  float: left;
  font-size: 11px;
  color: var(--brand);
}
.version-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.video-box {
  margin: 20px 0;
  padding: 18px;
  background: #f4f2ff;
  border-radius: 14px;
}
.video-box a {
  color: var(--brand);
  font-weight: 800;
}
.messages {
  max-height: 430px;
  overflow: auto;
  margin: 15px 0;
}
.message {
  background: #f4f5f8;
  padding: 12px;
  border-radius: 12px;
  margin: 8px 0;
}
.message.admin-msg {
  background: #f0edff;
}
.message p {
  margin: 6px 0;
  line-height: 1.8;
}
.message small {
  color: var(--muted);
}
.notification {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.notification.read {
  opacity: 0.6;
}
.notification p {
  color: var(--muted);
  line-height: 1.8;
}
.admin-table .actions {
  white-space: nowrap;
}
.admin-table button {
  margin: 2px;
}
.admin-sidebar h2 {
  margin: 0 0 15px;
}
.admin-stat span {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1100px) {
  .admin-table {
    min-width: 900px;
  }
  .admin-main {
    overflow-x: auto;
  }
}
/* Ravanyar Role-Based UX */
.role-chip {
  margin: 16px 0 10px;
  padding: 12px;
  border: 1px solid #ffffff16;
  background: #ffffff08;
  border-radius: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.role-chip > span {
  font-size: 22px;
}
.role-chip b,
.role-chip small {
  display: block;
}
.role-chip b {
  font-size: 12px;
}
.role-chip small {
  font-size: 9px;
  color: #aeb6ca;
  line-height: 1.6;
  margin-top: 3px;
}
.nav {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.nav span {
  width: 24px;
  text-align: center;
}
.nav b {
  font-weight: 600;
}
.header-role {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  background: var(--soft);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 7px;
}
.welcome-card {
  border-radius: 24px;
  padding: 34px 38px;
  background: linear-gradient(120deg, #28225f, #6152d8);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  overflow: hidden;
}
.welcome-card.professional {
  background: linear-gradient(120deg, #1e4b63, #377f91);
}
.welcome-card.clinic {
  background: linear-gradient(120deg, #3c315e, #7357a2);
}
.welcome-card.school {
  background: linear-gradient(120deg, #234c4b, #3f8a79);
}
.welcome-card h1 {
  font-size: 30px;
  margin: 14px 0 8px;
}
.welcome-card p {
  color: #e7e5ff;
  line-height: 2;
  max-width: 680px;
  margin: 0;
}
.welcome-icon {
  font-size: 90px;
  filter: drop-shadow(0 15px 25px #0002);
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.hero-actions .secondary {
  background: #ffffff18;
  border-color: #ffffff40;
  color: #fff;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.metric b {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  color: var(--ink);
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.action-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  padding: 18px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 105px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: 0.18s;
  box-shadow: 0 5px 18px #26355308;
}
.action-card:hover {
  transform: translateY(-2px);
  border-color: #cfc9ff;
  box-shadow: 0 12px 25px #26355312;
}
.action-card .action-icon {
  font-size: 27px;
}
.action-card span:nth-child(2) {
  flex: 1;
}
.action-card b,
.action-card small {
  display: block;
}
.action-card b {
  font-size: 14px;
}
.action-card small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 4px;
}
.action-card strong {
  color: var(--brand);
}
.notice-card {
  background: #f7f7ff;
  border: 1px solid #e5e2ff;
  border-radius: 16px;
  padding: 18px;
  margin-top: 20px;
}
.notice-card b {
  color: var(--brand);
}
.notice-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}
.text-btn {
  cursor: pointer;
}
@media (max-width: 1100px) {
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .welcome-card {
    padding: 25px;
    display: block;
  }
  .welcome-icon {
    font-size: 55px;
    margin-top: 20px;
  }
  .metric-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
}
.brand {
  cursor: pointer;
}
.role-chip {
  background: var(--soft);
  border: 1px solid #e5e2ff;
}
.role-chip small {
  color: var(--muted);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 8px;
  background: #f4f5fb;
  padding: 6px;
  border-radius: 14px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.auth-tabs button.active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 16px #26355312;
}
.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-row label {
  margin-top: 18px;
}
.intent-board {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f6f4ff);
  border: 1px solid #e4e0ff;
  box-shadow: 0 18px 40px #5b4bdb0d;
}
.intent-head {
  margin-bottom: 18px;
}
.intent-kicker {
  display: inline-block;
  background: #ece9ff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}
.intent-head h2 {
  margin: 10px 0 6px;
  font-size: 26px;
}
.intent-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.intent-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
}
.intent-grid .action-card {
  min-height: 132px;
}
.action-card.featured {
  background: linear-gradient(135deg, #4d3fd4, #7a6af2);
  color: #fff;
  border: 0;
  box-shadow: 0 16px 32px #5b4bdb33;
}
.action-card.featured small,
.action-card.featured strong {
  color: #efeaff;
}
.suggest-hero {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
  padding: 22px 24px;
  border: 1px solid #ddd7ff;
  border-radius: 20px;
  background: linear-gradient(120deg, #fff, #f3f0ff);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  box-shadow: 0 10px 28px #5b4bdb0f;
}
.suggest-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px #5b4bdb18;
}
.suggest-hero b,
.suggest-hero small {
  display: block;
}
.suggest-hero span:nth-child(3) {
  flex: 1;
}
.suggest-hero small {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.9;
  font-size: 12px;
}
.suggest-icon {
  font-size: 36px;
}
.suggest-badge {
  background: #e9fff6;
  color: #0f8a64;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}
.suggest-hero strong {
  color: var(--brand);
}
@media (max-width: 1100px) {
  .intent-grid,
  .auth-row {
    grid-template-columns: 1fr;
  }
}
.career-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.career-guidance-card {
  position: relative;
  width: 100%;
  min-height: 210px;
  padding: 30px;
  border: 1px solid #dbe4ee;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #f7fafc);
  box-shadow: 0 10px 30px rgba(30, 60, 90, 0.08);

  display: flex;
  align-items: center;
  gap: 20px;

  text-align: right;
  direction: rtl;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.career-guidance-card:hover {
  transform: translateY(-5px);
  border-color: #9bbbd2;
  box-shadow: 0 16px 38px rgba(30, 60, 90, 0.14);
}

.career-card-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;

  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2rem;

  background: #edf6fb;
}

.career-card-content {
  flex: 1;
}

.career-card-content h2 {
  margin: 0 0 9px;

  font-size: 1.15rem;

  color: #173b59;
}

.career-card-content p {
  margin: 0;

  color: #64748b;

  line-height: 1.9;

  font-size: 0.9rem;
}

.career-card-arrow {
  font-size: 1.5rem;
  color: #3a7ca5;

  transition: transform 0.25s ease;
}

.career-guidance-card:hover .career-card-arrow {
  transform: translateX(-5px);
}

/* Video */

.career-video-container {
  margin-top: 28px;
}

.career-video-box {
  width: 100%;

  padding: 12px;

  border-radius: 22px;

  background: #0f172a;

  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.18);
}

.career-video-box video {
  display: block;

  width: 100%;

  max-height: 650px;

  border-radius: 15px;

  background: #000;
}

.career-back-button {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .career-guidance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .career-guidance-card {
    min-height: 170px;
    padding: 22px;
  }

  .career-card-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    font-size: 1.6rem;
  }

  .career-card-content h2 {
    font-size: 1rem;
  }

  .career-card-content p {
    font-size: 0.8rem;
  }
}
/* =========================================================
   روان‌یار — Modern Dashboard Sidebar & Header
   ========================================================= */

:root {
  --ry-primary: #5b4bdb;
  --ry-primary-dark: #4737c7;
  --ry-primary-soft: #f1efff;

  --ry-bg: #f6f7fb;
  --ry-card: #ffffff;

  --ry-text: #182033;
  --ry-text-soft: #6f7890;

  --ry-border: #e8eaf1;

  --ry-success: #22c55e;

  --ry-sidebar-width: 260px;
}

/* =========================
   MAIN LAYOUT
   ========================= */

.app-shell {
  min-height: 100vh;
  display: flex;
  direction: rtl;
  background: var(--ry-bg);
}

/* =========================
   SIDEBAR
   ========================= */

.sidebar {
  width: var(--ry-sidebar-width);
  min-width: var(--ry-sidebar-width);
  height: 100vh;

  position: fixed;
  top: 0;
  right: 0;

  background: #ffffff;

  border-left: 1px solid var(--ry-border);

  z-index: 100;

  box-shadow: -4px 0 24px rgba(30, 35, 60, 0.025);
}

.sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;

  padding: 26px 18px 18px;
}

/* =========================
   BRAND
   ========================= */

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  padding: 0 8px 24px;

  border-bottom: 1px solid #f0f1f5;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  color: white;

  background: linear-gradient(135deg, #6959e8, #4d3bc9);

  box-shadow: 0 8px 20px rgba(91, 75, 219, 0.22);

  font-size: 21px;
}

.brand-text {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.brand-text b {
  color: var(--ry-text);

  font-size: 1.05rem;
  font-weight: 900;
}

.brand-text small {
  color: #9aa1b2;

  font-size: 0.62rem;

  white-space: nowrap;
}

/* =========================
   ROLE CARD
   ========================= */

.role-chip {
  display: flex;
  align-items: center;

  gap: 11px;

  margin: 20px 2px 22px;

  padding: 12px;

  border-radius: 15px;

  background: #fafaff;

  border: 1px solid #ecebfa;
}

.role-avatar {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: var(--ry-primary-soft);

  font-size: 18px;
}

.role-info {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 3px;
}

.role-info b {
  color: var(--ry-text);

  font-size: 0.78rem;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.role-info small {
  color: #9aa1b2;

  font-size: 0.62rem;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   SIDEBAR LABEL
   ========================= */

.sidebar-label {
  padding: 0 10px 9px;

  color: #a1a7b5;

  font-size: 0.62rem;
  font-weight: 800;
}

/* =========================
   NAVIGATION
   ========================= */

.sidebar-nav {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.nav {
  width: 100%;

  min-height: 47px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 0 13px;

  border: 0;
  border-radius: 12px;

  background: transparent;

  color: #747c90;

  cursor: pointer;

  text-align: right;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  font-size: 16px;

  transition: 0.2s ease;
}

.nav b {
  flex: 1;

  font-size: 0.78rem;
  font-weight: 700;

  text-align: right;
}

.nav:hover {
  background: #f7f7fc;

  color: var(--ry-primary);

  transform: translateX(-2px);
}

.nav.active {
  color: var(--ry-primary);

  background: linear-gradient(90deg, #f3f1ff, #f8f7ff);

  box-shadow: inset -3px 0 0 var(--ry-primary);
}

.nav.active .nav-icon {
  background: #e9e6ff;
}

/* =========================
   SIDEBAR BOTTOM
   ========================= */

.sidebar-bottom {
  margin-top: auto;

  padding-top: 16px;

  border-top: 1px solid #f0f1f5;
}

.mini-plan {
  display: flex;
  align-items: center;

  gap: 10px;

  padding: 12px;

  margin-bottom: 9px;

  border-radius: 13px;

  background: #fafaff;
}

.mini-plan-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #efedff;

  font-size: 15px;
}

.mini-plan > div:last-child {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.mini-plan small {
  color: #9aa1b2;

  font-size: 0.58rem;
}

.mini-plan b {
  color: var(--ry-text);

  font-size: 0.72rem;
}

.logout {
  width: 100%;

  min-height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 0;

  border-radius: 11px;

  background: transparent;

  color: #dc5b64;

  font-size: 0.75rem;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;
}

.logout:hover {
  background: #fff2f3;
}

/* =========================
   MAIN
   ========================= */

.main {
  width: calc(100% - var(--ry-sidebar-width));

  min-height: 100vh;

  margin-right: var(--ry-sidebar-width);

  background: var(--ry-bg);
}

/* =========================
   HEADER
   ========================= */

.dashboard-header {
  height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 34px;

  background: rgba(255, 255, 255, 0.86);

  border-bottom: 1px solid var(--ry-border);

  backdrop-filter: blur(14px);

  position: sticky;
  top: 0;

  z-index: 50;
}

.header-info {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.header-breadcrumb {
  display: flex;
  align-items: center;

  gap: 5px;

  color: var(--ry-primary);

  font-size: 0.63rem;
  font-weight: 800;
}

.header-info h2 {
  margin: 3px 0 0;

  color: var(--ry-text);

  font-size: 1.08rem;
  font-weight: 900;
}

.header-info p {
  margin: 1px 0 0;

  color: #969dae;

  font-size: 0.66rem;
}

.hello-wave {
  display: inline-block;

  animation: helloWave 2.5s ease-in-out infinite;
}

@keyframes helloWave {
  0%,
  80%,
  100% {
    transform: rotate(0);
  }

  85% {
    transform: rotate(12deg);
  }

  90% {
    transform: rotate(-8deg);
  }

  95% {
    transform: rotate(8deg);
  }
}

/* =========================
   HEADER ACTIONS
   ========================= */

.header-actions {
  display: flex;
  align-items: center;

  gap: 10px;
}

.header-icon-btn {
  position: relative;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--ry-border);

  border-radius: 12px;

  background: white;

  color: #737b8e;

  cursor: pointer;

  transition: 0.2s ease;
}

.header-icon-btn:hover {
  color: var(--ry-primary);

  border-color: #dcd8ff;

  background: #faf9ff;

  transform: translateY(-1px);
}

.notification-dot {
  position: absolute;

  top: -4px;
  left: -4px;

  min-width: 17px;
  height: 17px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 4px;

  border-radius: 20px;

  background: #ef5350;

  color: white;

  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;

  border: 2px solid white;
}

/* =========================
   PROFILE
   ========================= */

.header-profile {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 5px 7px 5px 10px;

  border: 1px solid var(--ry-border);

  border-radius: 13px;

  background: white;

  cursor: pointer;

  transition: 0.2s ease;
}

.header-profile:hover {
  border-color: #dcd8ff;

  box-shadow: 0 5px 18px rgba(40, 45, 80, 0.06);
}

.profile-dot {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: linear-gradient(135deg, #6959e8, #4d3bc9);

  color: white;

  font-size: 0.78rem;
  font-weight: 900;
}

.profile-info {
  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 1px;
}

.profile-info b {
  color: var(--ry-text);

  font-size: 0.7rem;
}

.profile-info small {
  color: #999fad;

  font-size: 0.57rem;
}

.profile-chevron {
  color: #a0a5b2;

  font-size: 13px;
}

/* =========================
   CONTENT
   ========================= */

.content {
  width: 100%;

  max-width: 1450px;

  margin: 0 auto;

  padding: 30px 34px 50px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  :root {
    --ry-sidebar-width: 220px;
  }

  .dashboard-header {
    padding: 0 22px;
  }

  .content {
    padding: 24px 22px 40px;
  }
}

@media (max-width: 700px) {
  .sidebar {
    width: 74px;
    min-width: 74px;
  }

  .main {
    width: calc(100% - 74px);

    margin-right: 74px;
  }

  .sidebar-inner {
    padding: 20px 10px;
  }

  .brand {
    justify-content: center;

    padding: 0 0 20px;
  }

  .brand-text,
  .role-info,
  .sidebar-label,
  .nav b,
  .mini-plan,
  .logout span:last-child {
    display: none;
  }

  .role-chip {
    justify-content: center;

    padding: 8px;

    background: transparent;
    border: 0;
  }

  .sidebar-nav {
    align-items: center;
  }

  .nav {
    width: 46px;

    justify-content: center;

    padding: 0;
  }

  .nav-icon {
    margin: 0;
  }

  .sidebar-bottom {
    display: flex;
    justify-content: center;
  }

  .logout {
    width: 46px;
    font-size: 0;
  }

  .logout span:first-child {
    font-size: 17px;
  }

  .dashboard-header {
    height: 76px;

    padding: 0 16px;
  }

  .header-info p,
  .profile-info,
  .profile-chevron {
    display: none;
  }

  .header-info h2 {
    font-size: 0.92rem;
  }

  .content {
    padding: 20px 16px 35px;
  }
}
.brand-button {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
}

.brand-button:hover .brand-mark {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(91, 75, 219, 0.28);
}

.brand-mark {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
/* =========================================================
   MODERN PERSONAL DASHBOARD
   ========================================================= */

.dashboard-hero {
  position: relative;

  min-height: 310px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  overflow: hidden;

  margin-bottom: 22px;

  padding: 38px 44px;

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(139, 92, 246, 0.55),
      transparent 32%
    ),
    linear-gradient(135deg, #302477 0%, #5140c9 55%, #6657e9 100%);

  color: white;

  box-shadow: 0 18px 45px rgba(79, 70, 180, 0.18);
}

/* subtle glow */

.dashboard-hero::before {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  left: -120px;
  top: -180px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.07);

  filter: blur(3px);
}

.dashboard-hero-content {
  position: relative;

  z-index: 3;

  max-width: 680px;

  direction: rtl;
}

.dashboard-hero-top {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 16px;
}

.dashboard-hero-badge {
  padding: 6px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.18);

  font-size: 0.68rem;
  font-weight: 800;

  backdrop-filter: blur(10px);
}

.dashboard-hero-status {
  color: rgba(255, 255, 255, 0.72);

  font-size: 0.65rem;
}

.dashboard-hero h1 {
  margin: 0 0 10px;

  color: white;

  font-size: clamp(1.65rem, 2.4vw, 2.3rem);

  font-weight: 900;

  letter-spacing: -0.5px;
}

.dashboard-hero p {
  max-width: 590px;

  margin: 0;

  color: rgba(255, 255, 255, 0.76);

  line-height: 2;

  font-size: 0.86rem;
}

.dashboard-hero-actions {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-top: 24px;
}

.hero-primary-btn,
.hero-secondary-btn {
  min-height: 44px;

  padding: 0 17px;

  border-radius: 12px;

  font-family: inherit;

  font-size: 0.73rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hero-primary-btn {
  display: flex;
  align-items: center;

  gap: 18px;

  border: 0;

  background: white;

  color: #4c3ac8;

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.hero-primary-btn strong {
  font-size: 1rem;
}

.hero-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);

  background: rgba(255, 255, 255, 0.08);

  color: white;

  backdrop-filter: blur(10px);
}

.hero-primary-btn:hover,
.hero-secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   HERO VISUAL
   ========================= */

.dashboard-hero-visual {
  position: relative;

  width: 300px;
  height: 240px;

  flex-shrink: 0;
}

.hero-brain {
  position: absolute;

  width: 105px;
  height: 105px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 32px;

  background: rgba(255, 255, 255, 0.13);

  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);

  font-size: 3.4rem;

  backdrop-filter: blur(12px);

  z-index: 2;

  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}

.hero-orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 255, 255, 0.13);

  border-radius: 50%;
}

.orbit-one {
  width: 190px;
  height: 190px;
}

.orbit-two {
  width: 270px;
  height: 270px;

  border-color: rgba(255, 255, 255, 0.07);
}

.hero-floating-card {
  position: absolute;

  z-index: 3;

  display: flex;
  align-items: center;

  gap: 9px;

  padding: 10px 12px;

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.13);

  border: 1px solid rgba(255, 255, 255, 0.17);

  backdrop-filter: blur(14px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  direction: rtl;
}

.hero-floating-card > span {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.16);

  font-size: 13px;
}

.hero-floating-card div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.hero-floating-card b {
  color: white;

  font-size: 0.62rem;
}

.hero-floating-card small {
  color: rgba(255, 255, 255, 0.62);

  font-size: 0.52rem;
}

.floating-one {
  right: 0;
  top: 16px;
}

.floating-two {
  left: 0;
  bottom: 15px;
}

/* =========================================================
   STAT CARDS
   ========================================================= */

.dashboard-stats {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;

  margin-bottom: 30px;
}

.dashboard-stat-card {
  min-height: 104px;

  display: flex;
  align-items: center;

  gap: 13px;

  padding: 18px;

  border: 1px solid #e8eaf1;

  border-radius: 18px;

  background: white;

  box-shadow: 0 5px 18px rgba(30, 35, 60, 0.035);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dashboard-stat-card:hover {
  transform: translateY(-3px);

  border-color: #ddd9fa;

  box-shadow: 0 12px 28px rgba(50, 45, 100, 0.08);
}

.stat-icon {
  width: 43px;
  height: 43px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  font-size: 18px;
}

.stat-icon.purple {
  background: #efedff;
}

.stat-icon.blue {
  background: #eaf5ff;
}

.stat-icon.green {
  background: #eafaf1;
}

.stat-icon.orange {
  background: #fff4e6;
}

.stat-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 3px;
}

.stat-content span {
  color: #8991a3;

  font-size: 0.62rem;
}

.stat-content strong {
  color: #182033;

  font-size: 1.22rem;

  font-weight: 900;
}

.stat-content small {
  color: #a4aab8;

  font-size: 0.54rem;
}

.stat-content .plan-value {
  font-size: 0.94rem;
}

/* =========================================================
   SECTION
   ========================================================= */

.dashboard-section {
  margin-top: 28px;
}

.dashboard-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 14px;

  direction: rtl;
}

.section-eyebrow {
  color: #6959e8;

  font-size: 0.62rem;
  font-weight: 900;
}

.dashboard-section-header h2 {
  margin: 4px 0 3px;

  color: #182033;

  font-size: 1.15rem;
  font-weight: 900;
}

.dashboard-section-header p {
  margin: 0;

  color: #9299aa;

  font-size: 0.68rem;
}

.dashboard-see-all {
  display: flex;
  align-items: center;

  gap: 7px;

  padding: 8px 12px;

  border: 0;

  background: transparent;

  color: #5b4bdb;

  font-family: inherit;

  font-size: 0.68rem;
  font-weight: 800;

  cursor: pointer;
}

.dashboard-see-all:hover {
  color: #4737c7;
}

.dashboard-see-all span {
  font-size: 1rem;
}

/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.quick-actions-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.quick-action-card {
  position: relative;

  min-height: 175px;

  display: flex;
  align-items: flex-start;

  gap: 14px;

  padding: 22px;

  border: 1px solid #e7e9f0;

  border-radius: 19px;

  background: white;

  text-align: right;

  direction: rtl;

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(30, 35, 60, 0.03);

  transition:
    transform 0.23s ease,
    box-shadow 0.23s ease,
    border-color 0.23s ease;
}

.quick-action-card:hover {
  transform: translateY(-4px);

  border-color: #d9d4fa;

  box-shadow: 0 14px 32px rgba(60, 50, 130, 0.09);
}

.quick-action-card.featured {
  background: linear-gradient(135deg, #5b4bdb, #7668ed);

  border-color: transparent;

  color: white;

  box-shadow: 0 13px 30px rgba(91, 75, 219, 0.18);
}

.quick-action-card.featured .quick-action-body span,
.quick-action-card.featured .quick-action-body p {
  color: rgba(255, 255, 255, 0.68);
}

.quick-action-card.featured .quick-action-body h3 {
  color: white;
}

.quick-action-card.featured .quick-action-arrow {
  color: white;
}

.quick-action-icon {
  width: 45px;
  height: 45px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: #efedff;

  font-size: 19px;
}

.quick-action-icon.blue {
  background: #eaf5ff;
}

.quick-action-icon.orange {
  background: #fff4e6;
}

.quick-action-card.featured .quick-action-icon {
  background: rgba(255, 255, 255, 0.15);
}

.quick-action-body {
  flex: 1;
}

.quick-action-body span {
  color: #9ba2b1;

  font-size: 0.57rem;
  font-weight: 700;
}

.quick-action-body h3 {
  margin: 5px 0 7px;

  color: #182033;

  font-size: 0.86rem;
  font-weight: 900;
}

.quick-action-body p {
  margin: 0;

  color: #8991a2;

  line-height: 1.85;

  font-size: 0.62rem;
}

.quick-action-arrow {
  align-self: flex-end;

  color: #6656df;

  font-size: 1.05rem;

  transition: transform 0.2s ease;
}

.quick-action-card:hover .quick-action-arrow {
  transform: translateX(-4px);
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.dashboard-products-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.dashboard-empty {
  grid-column: 1 / -1;

  min-height: 160px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 7px;

  border: 1px dashed #dfe2ea;

  border-radius: 18px;

  background: white;
}

.dashboard-empty div {
  font-size: 25px;
}

.dashboard-empty b {
  color: #4b5365;

  font-size: 0.75rem;
}

.dashboard-empty span {
  color: #a0a6b4;

  font-size: 0.62rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .dashboard-hero {
    padding: 32px;
  }

  .dashboard-hero-visual {
    width: 250px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .dashboard-hero {
    min-height: auto;

    padding: 28px;
  }

  .dashboard-hero-visual {
    display: none;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .dashboard-hero {
    padding: 24px 20px;

    border-radius: 21px;
  }

  .dashboard-hero h1 {
    font-size: 1.4rem;
  }

  .dashboard-hero p {
    font-size: 0.75rem;
  }

  .dashboard-hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;

    gap: 9px;
  }

  .dashboard-stat-card {
    min-height: 90px;

    padding: 13px;

    gap: 9px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;

    font-size: 15px;
  }

  .stat-content strong {
    font-size: 1rem;
  }

  .stat-content span {
    font-size: 0.55rem;
  }

  .stat-content small {
    display: none;
  }

  .dashboard-section-header h2 {
    font-size: 1rem;
  }

  .quick-action-card {
    min-height: 145px;

    padding: 18px;
  }
}
.career-system-card {
  position: relative;
  width: 100%;
  min-height: 125px;

  display: flex;
  align-items: center;
  gap: 20px;

  padding: 24px 26px;

  border: 1px solid #e3e5ee;
  border-radius: 20px;

  background: #fff;

  direction: rtl;
  text-align: right;

  cursor: pointer;

  box-shadow: 0 6px 22px rgba(30, 35, 60, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.career-system-card:hover {
  transform: translateY(-4px);

  border-color: #d5d0fa;

  box-shadow: 0 15px 35px rgba(70, 55, 150, 0.1);
}

/* آیکون */
.career-system-icon {
  width: 60px;
  height: 60px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 17px;

  background: linear-gradient(135deg, #efedff, #e5e1ff);

  font-size: 27px;
}

/* محتوای اصلی */
.career-system-content {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.career-system-content h3 {
  margin: 0 0 8px;

  color: #182033;

  font-size: 1rem;
  font-weight: 900;
}

/* لینک ورود */
.career-system-link {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #5b4bdb;

  font-size: 0.7rem;
  font-weight: 800;
}

.career-system-link strong {
  font-size: 1rem;

  transition: transform 0.2s ease;
}

.career-system-card:hover .career-system-link strong {
  transform: translateX(-5px);
}

/* فلش سمت چپ */
.career-system-arrow {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: #f5f3ff;
  color: #5b4bdb;

  font-size: 1.15rem;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.career-system-card:hover .career-system-arrow {
  transform: translateX(-4px);
  background: #ece9ff;
}

/* موبایل */
@media (max-width: 600px) {
  .career-system-card {
    min-height: 110px;
    padding: 18px;
    gap: 13px;
  }

  .career-system-icon {
    width: 50px;
    height: 50px;

    border-radius: 14px;

    font-size: 22px;
  }

  .career-system-content h3 {
    font-size: 0.85rem;
  }

  .career-system-link {
    font-size: 0.6rem;
  }

  .career-system-arrow {
    width: 34px;
    height: 34px;

    font-size: 0.95rem;
  }
}
.subscription-current-card {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 24px;

  margin-bottom: 32px;

  background: #ffffff;

  border: 1px solid #e6e7ef;
  border-radius: 22px;

  box-shadow: 0 8px 30px rgba(30, 35, 60, 0.05);
}

.subscription-current-icon {
  width: 58px;
  height: 58px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 17px;

  background: #f1efff;

  color: #5b4bdb;

  font-size: 25px;
  font-weight: 900;
}

.subscription-current-info {
  flex: 1;
}

.subscription-current-info > span {
  display: block;

  margin-bottom: 5px;

  color: #9299aa;

  font-size: 0.65rem;
  font-weight: 700;
}

.subscription-current-info h2 {
  margin: 0 0 5px;

  color: #182033;

  font-size: 1.15rem;
  font-weight: 900;
}

.subscription-current-info p {
  margin: 0 0 4px;

  color: #6f7788;

  font-size: 0.7rem;
}

.subscription-current-info small {
  color: #999fad;

  font-size: 0.62rem;
}

.subscription-plans-section {
  margin-top: 25px;
}

.subscription-section-title {
  margin-bottom: 18px;
}

.subscription-section-title h2 {
  margin: 5px 0;

  color: #182033;

  font-size: 1.15rem;
  font-weight: 900;
}

.subscription-section-title p {
  margin: 0;

  color: #9299aa;

  font-size: 0.68rem;
}

.plan-duration {
  display: inline-flex;

  margin: 8px 0 15px;

  padding: 5px 10px;

  border-radius: 999px;

  background: #f1efff;

  color: #5b4bdb;

  font-size: 0.6rem;
  font-weight: 800;
}

.normal-duration {
  background: #f2f3f6;
  color: #858b99;
}

.plan-current-btn,
.plan-disabled-btn {
  width: 100%;

  padding: 11px 15px;

  border: 0;

  border-radius: 12px;

  font-family: inherit;

  font-size: 0.68rem;
  font-weight: 800;

  cursor: default;
}

.plan-current-btn {
  background: #edf9f1;
  color: #26945a;
}

.plan-disabled-btn {
  background: #f1f2f5;
  color: #8b91a0;
}

.plan button.primary {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  width: 100%;
}

.plan button.primary span {
  font-size: 1rem;

  transition: transform 0.2s ease;
}

.plan button.primary:hover span {
  transform: translateX(-4px);
}

@media (max-width: 700px) {
  .subscription-current-card {
    align-items: flex-start;
    flex-wrap: wrap;

    padding: 18px;
  }

  .subscription-current-info {
    min-width: calc(100% - 80px);
  }

  .subscription-current-card > button {
    width: 100%;
  }
}
/* =========================================
   Career Access - Locked State
========================================= */

.hero-locked-btn {
  gap: 9px;
}

.hero-lock-icon {
  font-size: 14px;
  line-height: 1;
}

/* =========================================
   Quick Career Card
========================================= */

.career-quick-card {
  position: relative;
  overflow: hidden;
}

.career-quick-locked {
  border-color: #e5e5ec;
  background: #fafafd;
}

.career-quick-locked .quick-action-icon {
  background: transparent;
  filter: grayscale(0.25);
  font-size: 20px;
}

.career-quick-locked .quick-action-body span {
  color: #858895;
}

.career-quick-locked .quick-action-body h3 {
  color: #4d5160;
}

.career-quick-locked .quick-action-body p {
  color: #858895;
}

.career-quick-locked .quick-action-arrow {
  background: transparent;
  color: #777b88;
  font-size: 14px;
}

.career-quick-locked:hover {
  border-color: #d9d6ee;
  transform: translateY(-3px);
}

.career-quick-locked:hover .quick-action-icon {
  background: transparent;
  transform: translateY(-2px);
}

.career-quick-locked:hover .quick-action-arrow {
  background: transparent;
}
/* =========================================
   Main Career System Card
========================================= */

.career-system-card {
  position: relative;
  overflow: hidden;
}

.career-system-locked {
  background: #fafafd;
  border-color: #e5e5ec;
}

.career-system-locked .career-system-icon {
  background: #f1f1f5;
  color: #777b88;
  font-size: 20px;
}

.career-system-locked .career-system-content h3 {
  color: #4d5160;
}

.career-system-upgrade {
  color: #777b88 !important;
}

.career-system-locked .career-system-arrow {
  background: #f1f1f5;
  color: #777b88;
  font-size: 14px;
}

.career-system-locked:hover {
  border-color: #d9d6ee;
  box-shadow: 0 15px 35px rgba(70, 55, 150, 0.07);
}

.career-system-locked:hover .career-system-icon {
  transform: translateY(-2px);
  background: #ebe9f3;
}

.career-system-locked:hover .career-system-arrow {
  transform: translateX(-3px);
  background: #e9e7f2;
}

/* =========================================
   Smooth Lock Animation
========================================= */

.career-system-icon,
.career-system-arrow,
.career-quick-card .quick-action-icon,
.career-quick-card .quick-action-arrow {
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {
  .hero-lock-icon {
    font-size: 12px;
  }

  .career-system-locked .career-system-icon {
    font-size: 18px;
  }
}
/* =========================================================
   GLASSMORPHISM AUTH
========================================================= */

/* =========================================================
   RAVANYAR — LIGHT GLASSMORPHISM AUTH
========================================================= */

.glass-auth-page {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  direction: rtl;

  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(124, 105, 239, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 85%,
      rgba(168, 151, 255, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, #f9f8ff 0%, #ffffff 48%, #f5f3ff 100%);

  font-family: inherit;
}

/* =========================================================
   BACKGROUND GLOW
========================================================= */

.auth-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;

  filter: blur(80px);

  opacity: 0.65;
}

.auth-glow-1 {
  width: 420px;
  height: 420px;

  top: -190px;
  right: -120px;

  background: rgba(126, 105, 239, 0.18);
}

.auth-glow-2 {
  width: 360px;
  height: 360px;

  bottom: -170px;
  left: -110px;

  background: rgba(164, 143, 255, 0.16);
}

.auth-glow-3 {
  width: 240px;
  height: 240px;

  top: 40%;
  left: 42%;

  background: rgba(119, 99, 232, 0.08);
}

/* =========================================================
   FLOATING GLASS ORBS
========================================================= */

.auth-orb {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78),
    rgba(128, 108, 240, 0.08)
  );

  border: 1px solid rgba(125, 106, 232, 0.12);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 25px 70px rgba(101, 82, 200, 0.08);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);
}

.auth-orb-1 {
  width: 190px;
  height: 190px;

  top: 7%;
  left: 7%;

  animation: authFloat 8s ease-in-out infinite;
}

.auth-orb-2 {
  width: 95px;
  height: 95px;

  right: 12%;
  bottom: 10%;

  animation: authFloat 6s ease-in-out infinite reverse;
}

@keyframes authFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* =========================================================
   MAIN GLASS CONTAINER
========================================================= */

.glass-auth-container {
  position: relative;

  width: min(1120px, 100%);

  min-height: 680px;

  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  overflow: hidden;

  border-radius: 32px;

  background: rgba(255, 255, 255, 0.64);

  border: 1px solid rgba(255, 255, 255, 0.85);

  box-shadow:
    0 30px 90px rgba(72, 58, 145, 0.1),
    0 8px 30px rgba(72, 58, 145, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(30px);

  -webkit-backdrop-filter: blur(30px);

  z-index: 2;
}

/* =========================================================
   LEFT BRAND SIDE
========================================================= */

.glass-auth-brand {
  position: relative;

  padding: 65px 62px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(
    145deg,
    rgba(123, 103, 237, 0.13),
    rgba(255, 255, 255, 0.52)
  );

  border-left: 1px solid rgba(121, 103, 230, 0.08);
}

.auth-brand-content {
  position: relative;

  z-index: 2;

  max-width: 440px;
}

/* =========================================================
   LOGO
========================================================= */

.auth-brand-logo {
  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 22px;

  color: #6f5edb;

  font-size: 30px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.82),
    rgba(130, 110, 235, 0.16)
  );

  border: 1px solid rgba(126, 107, 229, 0.18);

  box-shadow:
    0 15px 35px rgba(91, 73, 192, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  margin-bottom: 22px;
}

.auth-brand-name {
  color: #25233a;

  font-size: 30px;

  font-weight: 900;

  letter-spacing: -1px;
}

.auth-brand-line {
  width: 55px;
  height: 3px;

  border-radius: 10px;

  margin: 19px 0 27px;

  background: linear-gradient(90deg, #7968e8, rgba(121, 104, 232, 0.08));
}

.glass-auth-brand h1 {
  margin: 0;

  color: #29263d;

  font-size: clamp(34px, 3.4vw, 50px);

  line-height: 1.38;

  letter-spacing: -1.8px;

  font-weight: 900;
}

.glass-auth-brand h1 span {
  color: #7867df;
}

.glass-auth-brand p {
  margin-top: 20px;

  max-width: 410px;

  color: #77748a;

  font-size: 14px;

  line-height: 2;
}

/* =========================================================
   FEATURES
========================================================= */

.auth-feature-list {
  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-top: 38px;
}

.auth-feature {
  display: flex;

  align-items: center;

  gap: 13px;
}

.auth-feature-icon {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  color: #7867df;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85),
    rgba(123, 103, 237, 0.09)
  );

  border: 1px solid rgba(123, 103, 237, 0.12);

  box-shadow:
    0 8px 22px rgba(95, 77, 196, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-feature strong {
  display: block;

  color: #403d51;

  font-size: 12px;

  margin-bottom: 3px;
}

.auth-feature span {
  display: block;

  color: #9996a7;

  font-size: 10px;
}

/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.brand-decoration {
  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(119, 101, 220, 0.07);

  background: rgba(255, 255, 255, 0.15);
}

.decoration-1 {
  width: 430px;
  height: 430px;

  top: -270px;
  left: -260px;
}

.decoration-2 {
  width: 300px;
  height: 300px;

  bottom: -210px;
  right: -180px;
}

/* =========================================================
   RIGHT AUTH PANEL
========================================================= */

.glass-auth-panel {
  display: flex;

  align-items: center;
  justify-content: center;

  padding: 45px;

  background: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   AUTH CARD
========================================================= */

.glass-auth-card {
  width: min(430px, 100%);
}

/* =========================================================
   HEADER
========================================================= */

.glass-auth-card-header {
  text-align: right;

  margin-bottom: 25px;
}

.glass-auth-eyebrow {
  display: inline-flex;

  align-items: center;

  padding: 7px 12px;

  border-radius: 100px;

  color: #7665d7;

  font-size: 10px;

  font-weight: 800;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88),
    rgba(123, 103, 237, 0.1)
  );

  border: 1px solid rgba(123, 103, 237, 0.14);

  box-shadow: 0 7px 20px rgba(90, 72, 185, 0.06);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  margin-bottom: 14px;
}

.glass-auth-card-header h2 {
  margin: 0;

  color: #29263b;

  font-size: 30px;

  font-weight: 900;

  letter-spacing: -1px;
}

.glass-auth-card-header p {
  margin: 9px 0 0;

  color: #9693a4;

  font-size: 12px;
}

/* =========================================================
   TABS
========================================================= */

.glass-auth-tabs {
  position: relative;

  display: grid;

  grid-template-columns: 1fr 1fr;

  padding: 5px;

  margin-bottom: 25px;

  border-radius: 16px;

  background: rgba(117, 99, 220, 0.055);

  border: 1px solid rgba(118, 100, 221, 0.09);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-auth-tabs button {
  position: relative;

  z-index: 2;

  border: 0;

  background: transparent;

  color: #aaa7b7;

  padding: 11px;

  border-radius: 11px;

  cursor: pointer;

  font-family: inherit;

  font-size: 12px;

  font-weight: 600;

  transition: color 0.25s ease;
}

.glass-auth-tabs button.active {
  color: #6555c7;
}

.glass-tab-indicator {
  position: absolute;

  top: 5px;
  bottom: 5px;

  right: 5px;

  width: calc(50% - 5px);

  border-radius: 11px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(125, 105, 232, 0.12)
  );

  border: 1px solid rgba(123, 104, 229, 0.1);

  box-shadow:
    0 5px 16px rgba(91, 73, 190, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-tab-indicator.register {
  transform: translateX(-100%);
}

/* =========================================================
   FORM
========================================================= */

.glass-auth-form {
  display: flex;

  flex-direction: column;

  gap: 16px;
}

.glass-auth-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 11px;
}

.glass-input-group {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

.glass-input-group > span,
.glass-label-row span {
  color: #777486;

  font-size: 10px;

  font-weight: 700;
}

.glass-label-row {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.forgot-password {
  border: 0;

  background: transparent;

  color: #7665d9;

  font-family: inherit;

  font-size: 9px;

  cursor: pointer;
}

/* =========================================================
   INPUT
========================================================= */

.glass-input-wrapper {
  position: relative;

  display: flex;

  align-items: center;
}

.glass-input-icon {
  position: absolute;

  right: 15px;

  z-index: 2;

  color: rgba(111, 94, 204, 0.48);

  font-size: 13px;

  pointer-events: none;
}

.glass-input-wrapper input {
  width: 100%;

  height: 50px;

  border-radius: 14px;

  outline: none;

  border: 1px solid rgba(111, 95, 202, 0.11);

  background: rgba(255, 255, 255, 0.58);

  color: #39364a;

  font-family: inherit;

  font-size: 11px;

  padding: 0 42px 0 42px;

  direction: rtl;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 5px 20px rgba(83, 68, 166, 0.035);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.glass-input-wrapper input::placeholder {
  color: #b2afbd;
}

.glass-input-wrapper input:hover {
  background: rgba(255, 255, 255, 0.78);
}

.glass-input-wrapper input:focus {
  border-color: rgba(112, 95, 219, 0.42);

  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    0 0 0 4px rgba(117, 100, 225, 0.075),
    0 8px 24px rgba(85, 68, 170, 0.06);
}

.password-toggle {
  position: absolute;

  left: 13px;

  border: 0;

  background: transparent;

  color: #aaa6b7;

  cursor: pointer;

  font-size: 12px;
}

.password-toggle:hover {
  color: #7564d5;
}

/* =========================================================
   PASSWORD STRENGTH
========================================================= */

.password-strength {
  margin-top: -5px;
}

.password-strength-bar {
  height: 3px;

  border-radius: 10px;

  overflow: hidden;

  background: rgba(111, 95, 202, 0.08);
}

.password-strength-bar span {
  display: block;

  width: 5%;

  height: 100%;

  border-radius: inherit;

  background: linear-gradient(90deg, #e98a9a, #b19be9, #7564d9);

  transition: width 0.3s ease;
}

.password-strength-info {
  display: flex;

  justify-content: space-between;

  margin-top: 5px;

  color: #aaa7b4;

  font-size: 8px;
}

.password-strength-info strong {
  color: #7665d5;
}

/* =========================================================
   CHECKBOX
========================================================= */

.glass-checkbox {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #9693a3;

  font-size: 9px;

  cursor: pointer;
}

.glass-checkbox input {
  display: none;
}

.checkbox-custom {
  width: 17px;
  height: 17px;

  flex-shrink: 0;

  border-radius: 5px;

  border: 1px solid rgba(111, 95, 202, 0.16);

  background: rgba(255, 255, 255, 0.65);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition: 0.2s ease;
}

.glass-checkbox input:checked + .checkbox-custom {
  background: linear-gradient(135deg, #8877ed, #6857d2);

  border-color: #7564d9;

  box-shadow: 0 5px 14px rgba(105, 86, 209, 0.2);
}

/* =========================================================
   ERROR
========================================================= */

.glass-auth-alert {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 11px 13px;

  margin-bottom: 17px;

  border-radius: 13px;

  background: rgba(255, 242, 244, 0.72);

  border: 1px solid rgba(221, 119, 133, 0.15);

  color: #b76876;

  font-size: 10px;

  line-height: 1.8;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-auth-alert span {
  width: 22px;
  height: 22px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: rgba(221, 119, 133, 0.1);

  color: #c26c7a;

  font-weight: 800;
}

/* =========================================================
   SUBMIT BUTTON — GLASS PURPLE
========================================================= */

.glass-submit-button {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  width: 100%;
  height: 53px;

  margin-top: 4px;

  border-radius: 15px;

  border: 1px solid rgba(255, 255, 255, 0.55);

  color: #ffffff;

  font-family: inherit;

  font-size: 12px;

  font-weight: 800;

  cursor: pointer;

  overflow: hidden;

  background: linear-gradient(
    135deg,
    rgba(132, 113, 238, 0.92),
    rgba(103, 84, 211, 0.88)
  );

  box-shadow:
    0 14px 32px rgba(91, 73, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(67, 51, 155, 0.18);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.glass-submit-button::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 70%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.7s ease;
}

.glass-submit-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 38px rgba(91, 73, 190, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.glass-submit-button:hover::before {
  left: 140%;
}

.glass-submit-button:active {
  transform: translateY(0) scale(0.985);
}

.glass-submit-button strong {
  font-size: 17px;

  transition: transform 0.2s ease;
}

.glass-submit-button:hover strong {
  transform: translateX(-4px);
}

/* =========================================================
   FOOTER
========================================================= */

.glass-auth-footer {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  margin-top: 20px;

  color: #aaa7b4;

  font-size: 9px;
}

.glass-auth-footer button {
  border: 0;

  background: transparent;

  color: #7160d5;

  font-family: inherit;

  font-size: 9px;

  font-weight: 800;

  cursor: pointer;
}

.glass-auth-footer button:hover {
  color: #4f40b7;
}

/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-auth-logo {
  display: none;

  width: 48px;
  height: 48px;

  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  border-radius: 15px;

  color: #7060d6;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(124, 105, 232, 0.13)
  );

  border: 1px solid rgba(120, 102, 226, 0.12);

  box-shadow: 0 10px 25px rgba(91, 73, 190, 0.1);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .glass-auth-page {
    padding: 20px;
  }

  .glass-auth-container {
    grid-template-columns: 1fr;

    min-height: auto;

    max-width: 520px;
  }

  .glass-auth-brand {
    display: none;
  }

  .glass-auth-panel {
    padding: 42px 30px;
  }

  .mobile-auth-logo {
    display: flex;
  }
}

@media (max-width: 560px) {
  .glass-auth-page {
    padding: 12px;
  }

  .glass-auth-container {
    border-radius: 24px;
  }

  .glass-auth-panel {
    padding: 30px 20px;
  }

  .glass-auth-card-header h2 {
    font-size: 27px;
  }

  .glass-auth-row {
    grid-template-columns: 1fr;
  }

  .glass-input-wrapper input {
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orb {
    animation: none;
  }
}
/* =========================================================
   RAVANYAR — SUBSCRIPTION PAGE
   ========================================================= */

.subscription-current-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  margin-top: 28px;
  padding: 28px 30px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(132, 113, 238, 0.14),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(249, 247, 255, 0.92)
    );

  border: 1px solid rgba(132, 113, 238, 0.16);
  border-radius: 24px;

  box-shadow:
    0 18px 50px rgba(48, 42, 88, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  overflow: hidden;
}

/* subtle top glow */
.subscription-current-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(132, 113, 238, 0.05),
    transparent
  );

  opacity: 0.8;
}

/* =========================================================
   CURRENT PLAN ICON
   ========================================================= */

.subscription-current-icon {
  position: relative;
  z-index: 1;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background: linear-gradient(145deg, #8b78ef, #6e5bd6);

  color: white;

  font-size: 25px;
  font-weight: 800;

  box-shadow:
    0 12px 26px rgba(111, 91, 214, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* =========================================================
   CURRENT PLAN INFO
   ========================================================= */

.subscription-current-info {
  position: relative;
  z-index: 1;

  min-width: 0;
}

.subscription-current-info > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 7px;

  color: #858394;

  font-size: 12px;
  font-weight: 700;
}

.subscription-current-info > span::before {
  content: "";

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #72c99a;

  box-shadow: 0 0 0 4px rgba(114, 201, 154, 0.12);
}

.subscription-current-info h2 {
  margin: 0 0 7px;

  color: #252338;

  font-size: 25px;
  font-weight: 900;

  letter-spacing: -0.5px;
}

.subscription-current-info p {
  margin: 0;

  color: #858394;

  font-size: 13px;
  line-height: 1.8;
}

/* =========================================================
   CURRENT PLAN META
   ========================================================= */

.subscription-current-meta {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 15px;
}

.subscription-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;

  min-width: 105px;
  padding: 10px 13px;

  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(132, 113, 238, 0.09);
  border-radius: 13px;
}

.subscription-meta-item small {
  color: #9a97a8;
  font-size: 10px;
}

.subscription-meta-item strong {
  color: #37334c;
  font-size: 13px;
}

/* =========================================================
   PROGRESS
   ========================================================= */

.subscription-progress {
  position: relative;
  z-index: 1;

  margin-top: 17px;
  max-width: 430px;
}

.subscription-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 8px;

  color: #8d899c;
  font-size: 11px;
}

.subscription-progress-head strong {
  color: #6654ca;
  font-weight: 800;
}

.subscription-progress-bar {
  width: 100%;
  height: 7px;

  overflow: hidden;

  background: #eceaf4;

  border-radius: 999px;
}

.subscription-progress-fill {
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(90deg, #6d59d8, #9b89f4);

  box-shadow: 0 2px 8px rgba(109, 89, 216, 0.22);

  transition: width 0.6s ease;
}

/* =========================================================
   CURRENT PLAN ACTIONS
   ========================================================= */

.subscription-current-actions {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;

  min-width: 170px;
}

.subscription-current-actions button {
  width: 100%;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */

.subscription-plans-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-top: 42px;
  margin-bottom: 18px;
}

.subscription-plans-heading h2 {
  margin: 0;

  color: #29263b;

  font-size: 21px;
  font-weight: 900;
}

.subscription-plans-heading p {
  margin: 5px 0 0;

  color: #92909d;

  font-size: 12px;
}

/* =========================================================
   PLAN GRID
   ========================================================= */

.plan-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;

  margin-top: 28px;
}

/* =========================================================
   PLAN CARD
   ========================================================= */

.plan {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 390px;

  padding: 28px 24px 22px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 249, 253, 0.94)
  );

  border: 1px solid #ebe9f2;

  border-radius: 24px;

  box-shadow: 0 10px 30px rgba(40, 35, 70, 0.045);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;

  overflow: hidden;
}

.plan:hover {
  transform: translateY(-6px);

  border-color: rgba(132, 113, 238, 0.3);

  box-shadow: 0 20px 45px rgba(65, 55, 120, 0.11);
}

/* =========================================================
   SELECTED PLAN
   ========================================================= */

.plan.selected {
  border-color: rgba(117, 98, 220, 0.48);

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(132, 113, 238, 0.13),
      transparent 40%
    ),
    linear-gradient(145deg, #ffffff, #f8f6ff);

  box-shadow:
    0 18px 42px rgba(105, 88, 196, 0.13),
    inset 0 0 0 1px rgba(132, 113, 238, 0.04);
}

.plan.selected::before {
  content: "پلن فعلی";

  position: absolute;
  top: 16px;
  left: 16px;

  padding: 6px 10px;

  color: #6351c7;

  background: rgba(132, 113, 238, 0.1);

  border: 1px solid rgba(132, 113, 238, 0.12);

  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;
}

/* =========================================================
   PLAN TITLE
   ========================================================= */

.plan h2 {
  margin: 0 0 12px;

  color: #29263b;

  font-size: 21px;
  font-weight: 900;
}

.plan.selected h2 {
  color: #6251c5;
}

/* =========================================================
   PRICE
   ========================================================= */

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 5px;

  margin-bottom: 23px;

  color: #28243b;

  font-size: 28px;
  font-weight: 950;

  letter-spacing: -0.8px;
}

.plan .price::after {
  content: " تومان";

  color: #9693a3;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0;
}

/* =========================================================
   FEATURES
   ========================================================= */

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 11px;

  flex: 1;

  margin: 0 0 25px;
  padding: 0;

  list-style: none;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  color: #686576;

  font-size: 12px;
  line-height: 1.8;
}

.plan li::first-letter {
  color: #7765d8;
}

.plan li strong {
  color: #6251c7;
}

/* =========================================================
   PLAN BUTTON
   ========================================================= */

.plan .primary {
  width: 100%;

  min-height: 46px;

  border-radius: 14px;

  font-size: 12px;
  font-weight: 800;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.plan .primary:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 22px rgba(109, 89, 216, 0.18);
}

.plan.selected .primary {
  background: linear-gradient(135deg, #7562dd, #6552c8);
}

/* =========================================================
   SILVER / GOLD VISUAL DIFFERENCE
   ========================================================= */

.plan:nth-child(2) {
  border-top: 3px solid #a7a9b4;
}

.plan:nth-child(3) {
  border-top: 3px solid #d5a943;
}

.plan:nth-child(3)::after {
  content: "پیشنهاد ویژه";

  position: absolute;
  top: 17px;
  left: 17px;

  padding: 6px 10px;

  color: #9a7018;

  background: rgba(213, 169, 67, 0.11);

  border: 1px solid rgba(213, 169, 67, 0.18);

  border-radius: 999px;

  font-size: 10px;
  font-weight: 800;
}

/* اگر پلن طلایی انتخاب شده، badge فعلی جای پیشنهاد ویژه را بگیرد */
.plan:nth-child(3).selected::after {
  display: none;
}

/* =========================================================
   ORDERS BUTTON
   ========================================================= */

[data-orders] {
  min-height: 44px;

  padding: 0 18px;

  border-radius: 13px;

  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

[data-orders]:hover {
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscription-current-card {
    grid-template-columns: auto 1fr;
  }

  .subscription-current-actions {
    grid-column: 1 / -1;

    flex-direction: row;
    justify-content: flex-start;
  }

  .subscription-current-actions button {
    width: auto;
  }
}

@media (max-width: 720px) {
  .subscription-current-card {
    grid-template-columns: 1fr;

    gap: 17px;

    padding: 22px;
  }

  .subscription-current-icon {
    width: 55px;
    height: 55px;

    border-radius: 17px;
  }

  .subscription-current-info h2 {
    font-size: 21px;
  }

  .subscription-current-meta {
    flex-wrap: wrap;
  }

  .subscription-current-actions {
    flex-direction: column;
  }

  .subscription-current-actions button {
    width: 100%;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: auto;
  }

  .subscription-plans-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================
   SUBSCRIPTION DETAILS
   شروع / پایان / زمان باقی‌مانده
========================================= */

.subscription-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.subscription-detail {
  position: relative;
  min-height: 88px;
  padding: 17px 18px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;

  border: 1px solid rgba(130, 118, 238, 0.12);
  border-radius: 16px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 247, 253, 0.92)
  );

  box-shadow: 0 4px 14px rgba(45, 38, 90, 0.05);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.subscription-detail:hover {
  transform: translateY(-3px);

  border-color: rgba(132, 113, 238, 0.28);

  box-shadow: 0 10px 24px rgba(45, 38, 90, 0.09);
}

/* عنوان */

.subscription-detail > span {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #858795;

  font-size: 12px;
  font-weight: 600;
}

/* آیکون کوچک قبل از عنوان */

.subscription-detail > span::before {
  content: "";
  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: #8471ee;

  box-shadow: 0 0 0 4px rgba(132, 113, 238, 0.09);
}

/* مقدار */

.subscription-detail > strong {
  display: flex;
  align-items: baseline;
  gap: 5px;

  color: #252638;

  font-size: 16px;
  font-weight: 800;

  line-height: 1.5;
}

/* واحد روز */

.subscription-detail > strong small {
  color: #858795;

  font-size: 12px;
  font-weight: 600;
}

/* =========================================
   SUBSCRIPTION PROGRESS
   کارت مدت باقی‌مانده
========================================= */

.subscription-progress {
  margin-top: 16px;
  padding: 20px 22px;

  border: 1px solid rgba(132, 113, 238, 0.14);
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(132, 113, 238, 0.075),
    rgba(255, 255, 255, 0.96)
  );

  box-shadow: 0 5px 18px rgba(45, 38, 90, 0.045);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.subscription-progress:hover {
  transform: translateY(-2px);

  border-color: rgba(132, 113, 238, 0.24);

  box-shadow: 0 10px 26px rgba(45, 38, 90, 0.08);
}

/* =========================================
   عنوان Progress
========================================= */

.subscription-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 12px;
}

.subscription-progress-top span {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #666978;

  font-size: 13px;
  font-weight: 600;
}

.subscription-progress-top span::before {
  content: "◷";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 27px;
  height: 27px;

  border-radius: 8px;

  color: #8471ee;

  background: rgba(132, 113, 238, 0.1);

  font-size: 15px;
}

/* تعداد روز */

.subscription-progress-top strong {
  color: #6f5bd3;

  font-size: 14px;
  font-weight: 800;
}

/* =========================================
   Progress Track
========================================= */

.subscription-progress-track {
  position: relative;

  width: 100%;
  height: 10px;

  overflow: hidden;

  border-radius: 999px;

  background: #ebeaf2;

  box-shadow: inset 0 1px 2px rgba(40, 35, 70, 0.08);
}

/* Progress Bar */

.subscription-progress-bar {
  position: relative;

  height: 100%;

  min-width: 8px;

  border-radius: inherit;

  background: linear-gradient(90deg, #7562df, #9888f3);

  box-shadow: 0 2px 8px rgba(117, 98, 223, 0.28);

  transition: width 0.7s ease;
}

/* درخشش متحرک روی Progress */

.subscription-progress-bar::after {
  content: "";

  position: absolute;
  top: 0;
  left: -80px;

  width: 80px;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );

  animation: subscriptionProgressShine 2.8s infinite;
}

@keyframes subscriptionProgressShine {
  0% {
    left: -80px;
  }

  55% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 600px) {
  .subscription-progress {
    padding: 17px;
    border-radius: 15px;
  }

  .subscription-progress-top span {
    font-size: 12px;
  }

  .subscription-progress-top strong {
    font-size: 13px;
  }

  .subscription-progress-track {
    height: 9px;
  }
}
