.client-dashboard {
  padding: 132px 0 72px;
}

.dashboard-intro {
  padding: 30px;
  border-radius: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-intro h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 10px;
}

.client-welcome-message {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 22px;
  display: grid;
  gap: 8px;
  width: min(720px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  background:
    radial-gradient(circle at 14% 20%, rgba(45, 212, 191, 0.24), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(96, 165, 250, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(8, 47, 73, 0.78), rgba(15, 23, 42, 0.72));
  padding: 22px 24px;
  box-shadow:
    0 22px 46px rgba(2, 6, 23, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 42px rgba(6, 182, 212, 0.12);
}

.client-welcome-message::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.1) 42%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%);
  opacity: 0.72;
}

.client-welcome-message::after {
  content: '';
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(96, 165, 250, 0.1));
  transform: rotate(10deg);
  opacity: 0.7;
  z-index: -1;
}

.client-welcome-message[hidden] {
  display: none;
}

.client-welcome-message strong {
  max-width: calc(100% - 88px);
  color: #f8fafc;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 0 28px rgba(6, 182, 212, 0.26);
  overflow-wrap: anywhere;
}

.client-welcome-message span {
  max-width: 58ch;
  color: rgba(223, 242, 255, 0.88);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  width: min(500px, 100%);
}

.dashboard-menu-wrap {
  margin-top: 20px;
}

.dashboard-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-menu-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #d9f0ff;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
}

.dashboard-menu-item:hover,
.dashboard-menu-item:focus-visible {
  border-color: rgba(34, 147, 238, 0.3);
}

.dashboard-menu-item.is-active {
  border-color: rgba(11, 91, 215, 0.45);
  background: linear-gradient(130deg, rgba(11, 91, 215, 0.24), rgba(34, 147, 238, 0.16));
  color: #f4fcff;
}

.kpi-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-card strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  margin-bottom: 3px;
  color: var(--highlight);
}

.kpi-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.dashboard-menu-panels {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-panel {
  min-width: 0;
  width: 100%;
}

.dashboard-panel > *,
.dashboard-panel section,
.dashboard-panel .billing-summary,
.dashboard-panel .profile-overview-grid,
.dashboard-panel .profile-action-grid,
.dashboard-panel .profile-settings-grid,
.dashboard-panel .support-grid,
.dashboard-panel .service-list,
.dashboard-panel .table-wrap {
  min-width: 0;
}

.dashboard-panel .table-wrap {
  max-width: 100%;
}

.dashboard-panel[hidden] {
  display: none;
}

.dashboard-card {
  padding: 24px;
  border-radius: 24px;
}

.support-card {
  grid-column: 1 / -1;
}

.dashboard-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card-note {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.profile-warning {
  margin-top: 0;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 196, 68, 0.38);
  background: rgba(109, 61, 20, 0.26);
  color: #ffe2b8;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: -4px -4px 18px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(117, 210, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(7, 19, 38, 0.86), rgba(8, 47, 73, 0.58)),
    radial-gradient(circle at 92% 8%, rgba(45, 212, 191, 0.2), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.profile-hero::after {
  content: '';
  position: absolute;
  inset: auto 20px 0 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.42), transparent);
}

.profile-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.profile-avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.28), rgba(96, 165, 250, 0.3)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(206, 241, 255, 0.22);
  color: #effaff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.profile-display-name {
  margin: 4px 0 0;
  color: #f4fbff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-handle {
  margin: 4px 0 0;
  color: rgba(216, 236, 250, 0.78);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.profile-status-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 8px;
  color: rgba(216, 236, 250, 0.82);
  font-size: 0.84rem;
  white-space: nowrap;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.profile-completion-panel,
.profile-insight-card,
.profile-action-card,
.profile-settings-panel,
.profile-security-panel,
.profile-form-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.profile-completion-panel,
.profile-insight-card {
  min-width: 0;
  border-radius: 16px;
  padding: 14px;
}

.profile-completion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-completion-head span,
.profile-insight-card span,
.profile-action-card span {
  color: rgba(211, 237, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-completion-head strong,
.profile-insight-card strong,
.profile-action-card strong {
  color: #f2fbff;
  font-family: 'Poppins', sans-serif;
  overflow-wrap: anywhere;
}

.profile-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(4, 12, 24, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.profile-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #06b6d4, #60a5fa);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.32);
  transition: width 0.45s ease;
}

.profile-completion-panel p,
.profile-insight-card p {
  margin: 10px 0 0;
  color: rgba(215, 236, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.4;
}

.profile-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.profile-action-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  width: 100%;
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.profile-action-card:hover,
.profile-action-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.28);
  background: linear-gradient(135deg, rgba(20, 88, 61, 0.2), rgba(34, 147, 238, 0.1));
}

.profile-action-card small {
  color: rgba(215, 236, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.profile-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.profile-settings-panel,
.profile-security-panel {
  min-width: 0;
  border-radius: 18px;
  padding: 16px;
}

.profile-settings-panel .subsection-title,
.profile-security-panel .subsection-title {
  margin-top: 0;
}

.profile-form-card {
  border-radius: 16px;
  padding: 14px;
}

.profile-health-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-health-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-health-item > span {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.13);
}

.profile-health-item.is-ready > span {
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
}

.profile-health-item.is-info > span {
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.13);
}

.profile-health-item strong {
  display: block;
  color: #eefaff;
  font-size: 0.92rem;
}

.profile-health-item small {
  display: block;
  margin-top: 2px;
  color: rgba(215, 236, 255, 0.66);
  line-height: 1.35;
}

.subsection-title {
  margin-top: 18px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #eaf6ff;
}

.dashboard-form {
  display: grid;
  gap: 10px;
}

.dashboard-form label {
  color: #dbeafe;
  font-weight: 700;
  font-size: 0.92rem;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea,
.message-form input {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
}

.dashboard-form textarea {
  resize: vertical;
}

.dashboard-form input::placeholder,
.dashboard-form textarea::placeholder,
.message-form input::placeholder {
  color: #9fb6ce;
}

.dashboard-form .btn {
  margin-top: 6px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-item {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item.service-item-usage-alert {
  border-color: rgba(255, 94, 94, 0.38);
  background: linear-gradient(145deg, rgba(58, 13, 13, 0.46), rgba(255, 97, 97, 0.08));
}

.service-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.95rem;
}

.service-detail-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-detail-row dt {
  color: rgba(220, 237, 255, 0.72);
  font-weight: 700;
}

.service-detail-row dd {
  margin: 0;
  color: rgba(241, 248, 255, 0.95);
  overflow-wrap: anywhere;
}

.service-usage-warning {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 99, 99, 0.38);
  background: rgba(116, 23, 23, 0.28);
  color: #ffd9d9;
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-usage-warning strong {
  color: #ffe7a8;
}

.service-usage-alert-summary {
  margin-top: 8px;
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(122, 214, 255, 0.34);
  background: rgba(20, 62, 98, 0.24);
  color: #d9f1ff;
}

.service-usage-alert-summary.is-over {
  border-color: rgba(255, 101, 101, 0.34);
  background: rgba(118, 23, 23, 0.24);
  color: #ffd7d7;
}

.service-usage-alert-summary.is-error {
  border-color: rgba(255, 170, 92, 0.38);
  background: rgba(109, 61, 20, 0.26);
  color: #ffe2b8;
}

.service-usage-alert-summary.is-ok {
  border-color: rgba(79, 216, 151, 0.36);
  background: rgba(20, 88, 61, 0.24);
  color: #d8ffe9;
}

.service-item-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.service-item-actions-controls {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.linode-config-panel {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(147, 201, 255, 0.24);
  background: linear-gradient(145deg, rgba(9, 28, 52, 0.62), rgba(4, 16, 31, 0.72));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.linode-config-note {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(204, 231, 247, 0.92);
}

.linode-config-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.linode-config-row {
  display: grid;
  gap: 6px;
}

.linode-config-row label {
  font-size: 0.82rem;
  color: rgba(216, 236, 250, 0.95);
  font-weight: 700;
}

.linode-config-row select,
.linode-config-row input {
  border: 1px solid rgba(180, 223, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

.linode-output {
  border-radius: 12px;
  border: 1px solid rgba(172, 209, 236, 0.32);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.linode-output.info {
  border-color: rgba(122, 214, 255, 0.34);
}

.linode-output.success {
  border-color: rgba(39, 227, 142, 0.4);
}

.linode-output.error {
  border-color: rgba(255, 94, 94, 0.45);
}

.linode-output p {
  margin: 0;
  font-size: 0.84rem;
  color: #dff3ff;
}

.linode-bandwidth-chart {
  margin-top: 10px;
  padding: 14px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(82, 199, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(10, 31, 55, 0.9), rgba(4, 17, 32, 0.94)),
    radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.24), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(1, 8, 20, 0.24);
}

.linode-bandwidth-chart.is-over-limit {
  border-color: rgba(255, 108, 108, 0.44);
  background:
    linear-gradient(135deg, rgba(64, 20, 23, 0.9), rgba(18, 15, 29, 0.96)),
    radial-gradient(circle at 14% 0%, rgba(255, 94, 94, 0.2), transparent 34%);
}

.linode-bandwidth-chart-head,
.linode-bandwidth-meter-head,
.linode-bandwidth-limit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.linode-bandwidth-chart-head span,
.linode-bandwidth-meter-head span,
.linode-bandwidth-limit-head span {
  color: rgba(211, 237, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.linode-bandwidth-chart-head strong {
  color: #f2fbff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
}

.linode-bandwidth-meter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.linode-bandwidth-meter,
.linode-bandwidth-limit {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(170, 220, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  padding: 11px;
}

.linode-bandwidth-meter-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}

.linode-bandwidth-meter-head strong,
.linode-bandwidth-limit-head strong {
  color: #effaff;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.linode-bandwidth-track,
.linode-bandwidth-limit-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(5, 15, 28, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.linode-bandwidth-track span,
.linode-bandwidth-limit-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.34);
  animation: linodeBandwidthMeterFill 0.72s ease-out both;
}

.linode-bandwidth-meter-outbound .linode-bandwidth-track span {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.34);
}

.linode-bandwidth-meter-total .linode-bandwidth-track span {
  background: linear-gradient(90deg, #22c55e, #84cc16);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.3);
}

.linode-bandwidth-limit {
  display: grid;
  gap: 9px;
  background: rgba(8, 20, 36, 0.7);
}

.linode-bandwidth-chart.is-over-limit .linode-bandwidth-limit-track span {
  background: linear-gradient(90deg, #f97316, #ef4444);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.36);
}

@keyframes linodeBandwidthMeterFill {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-active {
  background: rgba(39, 227, 142, 0.14);
  color: #c5fbe0;
  border-color: rgba(39, 227, 142, 0.24);
}

.status-pending {
  background: rgba(255, 196, 68, 0.15);
  color: #ffe2a4;
  border-color: rgba(255, 196, 68, 0.24);
}

.status-paid {
  background: rgba(11, 91, 215, 0.16);
  color: #d9efff;
  border-color: rgba(34, 147, 238, 0.24);
}

.status-due {
  background: rgba(255, 94, 94, 0.16);
  color: #ffd0d0;
  border-color: rgba(255, 94, 94, 0.24);
}

.status-warning {
  background: rgba(255, 196, 68, 0.2);
  color: #ffe3a8;
  border-color: rgba(255, 196, 68, 0.32);
}

.status-expired {
  background: rgba(255, 84, 84, 0.24);
  color: #ffd0d0;
  border-color: rgba(255, 84, 84, 0.42);
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.summary-chip {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.summary-chip strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.invoice-table th,
.invoice-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.invoice-table th {
  color: #dbeafe;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.table-action {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}

.table-action:hover,
.table-action:focus-visible {
  border-color: rgba(34, 147, 238, 0.25);
}

.table-action.danger {
  border-color: rgba(255, 94, 94, 0.35);
  color: #ffd0d0;
}

.table-action.danger:hover,
.table-action.danger:focus-visible {
  border-color: rgba(255, 94, 94, 0.55);
}

.table-action.success {
  border-color: rgba(39, 227, 142, 0.32);
  color: #cbffe5;
}

.table-action.success:hover,
.table-action.success:focus-visible {
  border-color: rgba(39, 227, 142, 0.5);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.support-grid > section {
  min-width: 0;
}

.ticket-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.ticket-list li {
  list-style: none;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-item-head strong {
  margin-bottom: 0;
}

.ticket-item {
  cursor: pointer;
}

.ticket-item.active {
  border-color: rgba(34, 147, 238, 0.28);
  background: linear-gradient(135deg, rgba(11, 91, 215, 0.18), rgba(34, 147, 238, 0.08));
}

.ticket-list li strong {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 6px;
}

.ticket-list li p {
  margin-top: 8px;
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}

.message-thread {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
}

.message-bubble {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-bubble.incoming {
  background: rgba(255, 255, 255, 0.05);
}

.message-bubble.outgoing {
  background: rgba(11, 91, 215, 0.14);
  border-color: rgba(34, 147, 238, 0.24);
}

.message-bubble strong {
  display: block;
  margin-bottom: 5px;
  color: #dff6ff;
}

.message-bubble p {
  margin-bottom: 6px;
}

.message-bubble time {
  color: #9fb6ce;
  font-size: 0.8rem;
}

.message-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

#profileEmail:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.client-status {
  min-height: 28px;
  margin-top: 16px;
  font-weight: 700;
  color: #d7ecff;
}

.client-status.success {
  color: #9df8c8;
}

.client-status.error {
  color: #ffb4b4;
}

.client-status.banned,
.client-status.suspended {
  color: #ff3b3b;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-status.info {
  color: #d7ecff;
}

.client-banned-screen {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.client-banned-screen h1 {
  margin: 0;
  color: #ff3b3b;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.confirm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  padding: 18px;
  background: rgba(2, 11, 20, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
}

.confirm-modal-backdrop.visible {
  display: flex;
}

.confirm-modal {
  width: min(440px, 100%);
  border-radius: 22px;
  padding: 22px;
}

.confirm-modal h3 {
  margin-bottom: 8px;
}

.confirm-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.renew-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: 18px;
  background: rgba(2, 11, 20, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
}

.renew-contact-backdrop.visible {
  display: flex;
}

.renew-contact-modal {
  width: min(460px, 100%);
  border-radius: 22px;
  padding: 22px;
}

.renew-contact-modal h3 {
  margin-bottom: 8px;
}

.renew-contact-target {
  margin-top: 8px;
  font-size: 0.93rem;
  color: #eaf6ff;
}

.renew-contact-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.renew-contact-cancel {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .dashboard-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .profile-overview-grid,
  .profile-action-grid,
  .profile-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-completion-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .client-dashboard {
    padding-top: 122px;
  }

  .dashboard-menu {
    gap: 8px;
    padding: 10px;
  }

  .dashboard-menu-item {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .dashboard-intro,
  .dashboard-card {
    padding: 20px;
  }

  .dashboard-intro {
    flex-direction: column;
  }

  .client-welcome-message {
    border-radius: 18px;
    padding: 18px;
  }

  .client-welcome-message strong {
    max-width: 100%;
  }

  .client-welcome-message::after {
    width: 60px;
    height: 60px;
    right: 14px;
    bottom: 14px;
    opacity: 0.42;
  }

  .profile-hero,
  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-status-stack {
    justify-items: start;
    white-space: normal;
  }

  .profile-overview-grid,
  .profile-action-grid,
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }

  .profile-completion-panel {
    grid-column: auto;
  }

  .dashboard-kpis,
  .billing-summary {
    grid-template-columns: 1fr;
  }

  .linode-bandwidth-meter-grid {
    grid-template-columns: 1fr;
  }

  .linode-bandwidth-chart-head,
  .linode-bandwidth-limit-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .message-form {
    grid-template-columns: 1fr;
  }

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

  .confirm-modal-actions {
    flex-direction: column;
  }

  .ticket-item-head {
    align-items: stretch;
  }
}
