/* ===== REGISTER PROFILE LAYOUT ===== */

.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .register-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.register-left,
.register-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* reuse card look */
.reg-card,
.reg-info-card {
  padding: 14px;
}

.reg-section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #f9fafb;
}

/* form rows / fields */

.reg-row {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .reg-row {
    flex-direction: column;
  }
}

.reg-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reg-field label {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reg-field input,
.reg-field select,
.reg-field textarea {
  background: #0b1120;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #f9fafb;
}

.reg-field textarea {
  resize: vertical;
  min-height: 120px;
}

.reg-field input:focus,
.reg-field select:focus,
.reg-field textarea:focus {
  outline: none;
  border-color: #e11d48;
}

/* checkbox / radio groups */

.reg-checkbox-group,
.reg-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: #e5e7eb;
}

.reg-checkbox-group label,
.reg-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reg-checkbox-wrap {
  row-gap: 4px;
}

/* rates table in form */

.reg-rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 10px;
}

.reg-rates-table th,
.reg-rates-table td {
  padding: 6px 4px;
  text-align: left;
}

.reg-rates-table thead th {
  border-bottom: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.reg-rates-table tbody tr:nth-child(odd) td {
  background: #020617;
}

.reg-rates-table input {
  width: 100%;
  box-sizing: border-box;
}

/* uploads */

.photo-upload-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.upload-label {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.photo-upload-box input[type="file"] {
  padding: 8px;
  background: #020617;
}

/* info text */

.reg-info-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #d1d5db;
}

.reg-info-text {
  font-size: 13px;
  color: #d1d5db;
}

/* submit button */

.reg-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 999px;
  background: #e11d48;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.reg-submit-btn:hover {
  background: #be123c;
}

/* ===== SMALL HINT + ERROR STATES (for Username / Password / Email etc.) ===== */

.reg-hint {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

.reg-error-msg {
  font-size: 11px;
  color: #fca5a5;
  margin-top: 4px;
}

.reg-field input.reg-error,
.reg-field select.reg-error,
.reg-field textarea.reg-error {
  border-color: #f87171;
  background-color: rgba(248, 113, 113, 0.06);
}

/* ===== PASSWORD TOGGLE (EYE ICON) ===== */

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 34px; /* space for eye icon */
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle .password-eye {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.password-toggle:hover .password-eye {
  color: #e5e7eb;
}

/* ===== UPGRADE PAID PROFILE (EDIT PAGE SIDEBAR) ===== */

.upgrade-card .reg-info-text {
  margin-bottom: 10px;
}

.upgrade-plan {
  border-radius: 12px;
  padding: 10px 11px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 10px;
}

.upgrade-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.upgrade-plan-name {
  font-size: 13px;
  font-weight: 600;
  color: #f9fafb;
}

.upgrade-plan-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

.upgrade-plan-desc {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 6px;
}

.upgrade-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.upgrade-duration-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* buttons */

.upgrade-btn {
  width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: #e11d48;
  color: #ffffff;
}

.upgrade-btn:hover {
  background: #be123c;
}

.upgrade-btn--outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #f9fafb;
}

.upgrade-btn--outline:hover {
  border-color: #e11d48;
}

/* subtle plan accent variations */

.upgrade-plan--diamond {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2);
}

.upgrade-plan--gold .upgrade-plan-tag {
  background: rgba(249, 115, 22, 0.2);
  color: #fed7aa;
}
/* ==== UPGRADE SIDEBAR CARD ==== */

.upgrade-card {
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), transparent 55%),
    #020617;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.upgrade-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.current-plan-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* individual plans */

.upgrade-plan {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.upgrade-plan--diamond {
  border-color: #f97316;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.26), transparent 60%),
    #020617;
}

.upgrade-plan--gold {
  margin-top: 10px;
  border-color: rgba(234, 179, 8, 0.7);
  background:
    radial-gradient(circle at bottom left, rgba(250, 204, 21, 0.18), transparent 60%),
    #020617;
}

.upgrade-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.upgrade-plan-name {
  font-size: 13px;
  font-weight: 600;
  color: #f9fafb;
}

.upgrade-plan-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 250, 252, 0.3);
  color: #facc15;
}

.upgrade-plan--diamond .upgrade-plan-tag {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.7);
}

.upgrade-plan-desc {
  margin: 0 0 8px;
  font-size: 12px;
  color: #e5e7eb;
}

/* durations */

.upgrade-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 9px;
  font-size: 12px;
}

.upgrade-duration-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid transparent;
  cursor: pointer;
}

.upgrade-duration-row input[type="radio"] {
  accent-color: #e11d48;
}

/* buttons */

.upgrade-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #e11d48;
  color: #f9fafb;
}

.upgrade-btn:hover {
  background: #be123c;
}

.upgrade-btn--outline {
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.55);
}

.upgrade-btn--outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* free option */

.upgrade-free {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  text-align: center;
}

.upgrade-free-btn {
  margin-top: 4px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

.upgrade-free-btn:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* small screens: stack header row */
@media (max-width: 640px) {
  .upgrade-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

