.account-main {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 56px 24px;
}

.account-shell {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}

.account-side h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 14px 0 18px;
  font-weight: 900;
}

.account-side h1 .accent-red {
  color: var(--red-bright);
}

.account-side h1 .accent-blue {
  color: var(--cyan);
}

.account-side > p {
  color: #b7c0ce;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 26px;
}

.account-notes-stack {
  display: grid;
  gap: 14px;
}

.account-side-note {
  padding: 16px 18px;
  display: grid;
  gap: 4px;
}

.account-side-note b {
  color: #fff;
  font-size: 14.5px;
}

.account-side-note small {
  color: var(--muted);
  font-size: 13px;
}

.account-card {
  padding: 28px;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  background: #0b0c11;
  border: 1px solid #2b2432;
  border-radius: 9px;
  margin-bottom: 24px;
}

.account-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  font-size: 12.5px;
  transition: all 0.15s ease;
}

.account-tabs button:hover {
  color: #fff;
}

.account-tabs button.active {
  background: linear-gradient(135deg, var(--red), #9c1828);
  color: #fff;
  box-shadow: 0 0 14px rgba(226, 42, 62, 0.4);
}

.account-form h2,
.profile-head h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.account-form > p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: #d5dce8;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
}

.account-form input:not([type="checkbox"]) {
  width: 100%;
  background: #0b0d13;
  color: #fff;
  border: 1px solid #2e3446;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-form input:not([type="checkbox"]):focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57, 200, 255, 0.18);
}

.account-form .show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}

.account-form .show-password input {
  accent-color: var(--red);
}

.account-submit {
  width: 100%;
  margin-top: 14px;
}

.forgot-inline-btn {
  display: inline-block;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.forgot-inline-btn:hover {
  text-decoration: underline;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #262938;
}

.profile-head h2 {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.profile-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 20px 0;
}

.profile-tiles > div {
  border: 1px solid #2c2533;
  border-left: 3px solid var(--red);
  border-radius: 9px;
  background: #0e1017;
  padding: 14px;
}

.profile-tiles > div:nth-child(even) {
  border-left-color: var(--blue);
}

.profile-tiles small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.profile-tiles strong {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  color: #fff;
}

.bot-credentials {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #3d2431;
  border-radius: 10px;
  background: #0d0f16;
}

.bot-credentials h3 {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-id-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 13px;
  background: #08090e;
  border: 1px solid #252b3b;
  border-radius: 8px;
  font-size: 13px;
}

.bot-id-row strong {
  color: var(--cyan);
  font-family: Consolas, monospace;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.bot-id-row button {
  margin-left: auto;
}

.bot-account-note {
  font-size: 12.5px;
  line-height: 1.55;
  color: #9ecae3;
  margin: 12px 0 0;
}

.bot-password-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #232736;
}

.order-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #262b3a;
  background: #0d0f16;
  padding: 11px 13px;
  border-radius: 8px;
}

.order-item b {
  color: #fff;
}

#account-message {
  font-size: 13px;
  color: var(--cyan);
  line-height: 1.5;
  min-height: 20px;
  margin: 16px 0 0;
  font-weight: 600;
}

@media (max-width: 960px) {
  .account-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .account-card {
    padding: 20px 16px;
  }
  .profile-tiles {
    grid-template-columns: 1fr;
  }
  .account-tabs {
    grid-template-columns: 1fr;
  }
}
