/* =========================================================
   1) ROOT VARIABLES
   ========================================================= */
:root {
  --bg: #f7f6f3;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-soft: #fbfaf7;

  --border: rgba(51, 51, 51, 0.08);
  --border-strong: rgba(51, 51, 51, 0.12);

  --text: #333333;
  --text-soft: #5f5a54;
  --text-muted: #8b847d;

  --primary: #333333;
  --primary-2: #4a4540;
  --primary-3: #b0732b;
  --primary-4: #c58b46;

  --success: #00a76e;
  --danger: #b55f5f;

  --shadow-soft: 0 18px 40px rgba(51, 51, 51, 0.08);
  --shadow-card: 0 26px 60px rgba(51, 51, 51, 0.1);
  --shadow-hover: 0 30px 70px rgba(51, 51, 51, 0.14);

  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;

  --container: 1320px;
}

/* =========================================================
   2) GLOBAL RESET / BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(176, 115, 43, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(51, 51, 51, 0.06), transparent 28%),
    linear-gradient(180deg, #faf8f5 0%, #f5f2ee 100%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* =========================================================
   3) ACCESSIBILITY
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   4) HEADER / NAVBAR WRAPPER
   ========================================================= */
.site-header {
  position: relative;
  z-index: 200;
  padding: 18px 24px 20px;
}

.navbar-wrapper {
  width: 100%;
}

.main-navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4px;
}

.navbar-shell {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(51, 51, 51, 0.06);
  backdrop-filter: blur(16px);
}

.navbar-container {
  min-height: 92px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

/* =========================================================
   5) NAVBAR BRAND / MOBILE MENU BUTTON
   ========================================================= */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-brand img {
  width: 128px;
  height: auto;
  object-fit: contain;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #f7f4ef);
  box-shadow: 0 8px 22px rgba(51, 51, 51, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.menu-button:hover {
  transform: translateY(-1px);
  color: var(--primary-3);
  box-shadow: 0 12px 24px rgba(51, 51, 51, 0.1);
}

/* =========================================================
   6) NAVBAR LAYOUT / LINKS
   ========================================================= */
.navbar-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.nav-link,
.dropdown-toggle,
.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.dropdown-toggle:hover,
.user-trigger:hover,
.nav-link:focus-visible,
.dropdown-toggle:focus-visible,
.user-trigger:focus-visible {
  color: var(--primary-3);
  outline: none;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #333333, #4a4540);
  box-shadow:
    0 14px 24px rgba(51, 51, 51, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.join-btn:hover,
.join-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 30px rgba(51, 51, 51, 0.2),
    0 10px 20px rgba(176, 115, 43, 0.12);
  outline: none;
}

/* =========================================================
   7) DROPDOWNS
   ========================================================= */
.dropdown,
.user-dropdown-container {
  position: relative;
}

.dropdown-content,
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  min-width: 240px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 50px rgba(51, 51, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 50;
}

.dropdown-content {
  left: 0;
}

.user-dropdown-menu {
  right: 0;
}

.dropdown-content a,
.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover,
.user-dropdown-menu a:hover,
.dropdown-content a:focus-visible,
.user-dropdown-menu a:focus-visible {
  background: #f7f4ef;
  color: var(--primary-3);
  outline: none;
}

.user-dropdown-menu .divider {
  height: 1px;
  margin: 8px 14px;
  background: rgba(51, 51, 51, 0.08);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.is-open .dropdown-content,
.user-dropdown-container:hover .user-dropdown-menu,
.user-dropdown-container:focus-within .user-dropdown-menu,
.user-dropdown-container.is-open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hello-label {
  color: var(--text-muted);
  font-weight: 400;
}

#username {
  color: #333333;
  font-weight: 700;
}

.dropdown-icon {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.dropdown.is-open .dropdown-icon,
.user-dropdown-container.is-open .dropdown-icon {
  transform: rotate(180deg);
}

/* =========================================================
   8) DASHBOARD SECTION / HEADER
   ========================================================= */
.dashboard-section {
  padding: 28px 24px 72px;
}

.dashboard-wrapper {
  max-width: 1120px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 28px;
}

.dashboard-header h1 {
  margin: 0 0 10px;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dashboard-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================================================
   9) DASHBOARD GRID / CARDS
   ========================================================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-card {
  position: relative;
  min-height: 338px;
  padding: 28px 28px 26px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(51, 51, 51, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 250, 247, 0.94));
  box-shadow: var(--shadow-card);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.dashboard-card::before,
.dashboard-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-card::before {
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.06));
  opacity: 0.85;
}

.dashboard-card::after {
  top: -90px;
  right: -60px;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 115, 43, 0.16), transparent 68%);
}

.dashboard-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 115, 43, 0.18);
  box-shadow: var(--shadow-hover);
}

/* =========================================================
   10) CARD ICON / CONTENT / BUTTON
   ========================================================= */
.card-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--primary-3);
  font-size: 1.3rem;
  background: linear-gradient(145deg, rgba(247, 241, 232, 0.98), rgba(251, 250, 247, 0.96));
  border: 1px solid rgba(176, 115, 43, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 22px rgba(176, 115, 43, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover .card-icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 30px rgba(176, 115, 43, 0.12);
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 78px);
  max-width: 72%;
}

.card-content h2 {
  margin: 0 0 10px;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.card-content p,
.integration-label,
.clinic-info li {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.78;
}

.card-content p {
  margin-bottom: 18px;
}

.integration-label {
  margin-bottom: 14px;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  background: linear-gradient(135deg, #333333, #4a4540);
  box-shadow:
    0 12px 22px rgba(51, 51, 51, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    gap 0.25s ease,
    filter 0.25s ease;
}

.card-link span {
  transition: transform 0.25s ease;
}

.dashboard-card:hover .card-link {
  transform: translateY(-2px);
  gap: 14px;
  filter: brightness(1.03);
  box-shadow:
    0 18px 30px rgba(51, 51, 51, 0.24),
    0 10px 20px rgba(176, 115, 43, 0.12);
}

.dashboard-card:hover .card-link span {
  transform: translateX(4px);
}

/* =========================================================
   11) CARD DECORATIVE ART
   ========================================================= */
.card-art {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 150px;
  height: 150px;
  opacity: 0.17;
  pointer-events: none;
}

.card-art::before,
.card-art::after {
  content: "";
  position: absolute;
  background: rgba(176, 115, 43, 0.72);
}

/* Card 1 */
.dashboard-card:nth-child(1) .card-art::before {
  top: 22px;
  right: 30px;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  transform: rotate(-12deg);
}

.dashboard-card:nth-child(1) .card-art::after {
  top: 48px;
  right: 56px;
  width: 46px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 20px 0 0 rgba(176, 115, 43, 0.5);
  transform: rotate(-12deg);
}

/* Card 2 */
.dashboard-card:nth-child(2) .card-art::before {
  top: 12px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.dashboard-card:nth-child(2) .card-art::after {
  right: 12px;
  bottom: 26px;
  width: 98px;
  height: 44px;
  border-radius: 50px;
  box-shadow: -54px -24px 0 -18px rgba(176, 115, 43, 0.52);
}

/* Card 3 */
.dashboard-card:nth-child(3) .card-art::before {
  top: 28px;
  right: 16px;
  width: 92px;
  height: 34px;
  border-radius: 999px;
  transform: rotate(35deg);
}

.dashboard-card:nth-child(3) .card-art::after {
  top: 62px;
  right: 42px;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  transform: rotate(35deg);
}

/* Card 4 */
.dashboard-card:nth-child(4) .card-art::before {
  top: 12px;
  right: 34px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.dashboard-card:nth-child(4) .card-art::after {
  right: 18px;
  bottom: 18px;
  width: 96px;
  height: 44px;
  border-radius: 40px;
  box-shadow: -56px -26px 0 -18px rgba(176, 115, 43, 0.46);
}

/* Card 5 */
.dashboard-card:nth-child(5) .card-art::before,
.dashboard-card:nth-child(5) .card-art::after {
  background: transparent;
  border: 2px solid rgba(176, 115, 43, 0.54);
  border-radius: 18px;
}

.dashboard-card:nth-child(5) .card-art::before {
  inset: 20px 24px 42px 24px;
  transform: rotate(10deg);
}

.dashboard-card:nth-child(5) .card-art::after {
  inset: 44px 12px 18px 42px;
  transform: rotate(-10deg);
}

/* Card 6 */
.dashboard-card:nth-child(6) .card-art::before {
  top: 16px;
  right: 32px;
  width: 76px;
  height: 76px;
  clip-path: polygon(50% 0%, 100% 36%, 82% 100%, 18% 100%, 0% 36%);
  opacity: 0.55;
}

.dashboard-card:nth-child(6) .card-art::after {
  right: 18px;
  bottom: 26px;
  width: 96px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 -18px 0 0 rgba(176, 115, 43, 0.36);
}

/* =========================================================
   12) INTEGRATION / COPY AREA
   ========================================================= */
.integration-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.integration-code {
  display: inline-block;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(176, 115, 43, 0.14);
  background: linear-gradient(145deg, rgba(247, 241, 232, 0.96), rgba(251, 250, 247, 0.96));
  color: #4a4540;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  word-break: break-all;
}

.copy-btn {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  color: #4a4540;
  background: linear-gradient(145deg, #ffffff, #f7f4ef);
  box-shadow:
    0 10px 18px rgba(51, 51, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  transform: translateY(-2px);
  color: var(--primary-3);
  box-shadow:
    0 14px 24px rgba(51, 51, 51, 0.12),
    0 0 0 4px rgba(176, 115, 43, 0.10);
  outline: none;
}

.copy-btn.is-copied {
  color: var(--success);
}

.copy-feedback {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
}

.copy-feedback.is-error {
  color: var(--danger);
}

/* =========================================================
   13) CLINIC INFO LIST
   ========================================================= */
.clinic-info {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.clinic-info li + li {
  margin-top: 10px;
}

.clinic-info strong {
  color: #333333;
  font-weight: 800;
}

/* =========================================================
   14) CARD ANIMATIONS
   ========================================================= */
.dashboard-card {
  animation: cardReveal 0.75s ease both;
}

.dashboard-card:nth-child(1) {
  animation-delay: 0.04s;
}

.dashboard-card:nth-child(2) {
  animation-delay: 0.1s;
}

.dashboard-card:nth-child(3) {
  animation-delay: 0.16s;
}

.dashboard-card:nth-child(4) {
  animation-delay: 0.22s;
}

.dashboard-card:nth-child(5) {
  animation-delay: 0.28s;
}

.dashboard-card:nth-child(6) {
  animation-delay: 0.34s;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   15) FOOTER WRAPPER
   ========================================================= */

.rx-footer {
  padding: 18px 24px 28px;
}

.rx-footer-shell {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 36px 22px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.98), rgba(0, 0, 0, 0.96));
  box-shadow:
    0 28px 60px rgba(51, 51, 51, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rx-footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 115, 43, 0.12), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 36%, rgba(255, 255, 255, 0.01));
}

.rx-footer-shell::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 115, 43, 0.14), transparent 68%);
  pointer-events: none;
}

.rx-footer-top,
.rx-footer-bottom {
  position: relative;
  z-index: 1;
}

.rx-footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 2fr);
  gap: 34px;
  padding-bottom: 28px;
}

.rx-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 154px;
  min-height: 76px;
  padding: 16px 20px;
  background: #ffffff;
}

.rx-footer-logo {
  max-width: 118px;
  height: auto;
}

.rx-footer-description {
  max-width: 390px;
  margin: 24px 0 28px;
  color: rgba(240, 236, 230, 0.88);
  font-size: 15px;
  line-height: 1.85;
}

.rx-footer-emergency {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rx-footer-emergency-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #b0732b;
  background: linear-gradient(180deg, rgba(176, 115, 43, 0.18), rgba(176, 115, 43, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-footer-emergency-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rx-footer-emergency-number {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.rx-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.rx-footer-column h4 {
  margin: 8px 0 18px;
  padding-bottom: 14px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.rx-footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176, 115, 43, 0.95), rgba(176, 115, 43, 0));
}

.rx-footer-column a,
.rx-contact-item a {
  text-decoration: none;
  color: rgba(240, 236, 230, 0.9);
  font-size: 15px;
  line-height: 1.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.rx-footer-column a:hover,
.rx-contact-item a:hover,
.rx-footer-column a:focus-visible,
.rx-contact-item a:focus-visible {
  color: #b0732b;
  outline: none;
}

.rx-footer-column:not(.rx-footer-contact):not(.rx-footer-form-col) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rx-contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.rx-contact-item + .rx-contact-item {
  margin-top: 14px;
}

.rx-contact-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #b0732b;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-contact-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rx-footer-form {
  display: grid;
  gap: 14px;
  max-width: 240px;
}

.rx-footer-input {
  height: 52px;
  width: 100%;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rx-footer-input::placeholder {
  color: rgba(240, 236, 230, 0.6);
}

.rx-footer-submit {
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #333333, #333333);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.rx-footer-submit:hover,
.rx-footer-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
  outline: none;
}

.footer-form-feedback {
  min-height: 18px;
  margin: 0;
  color: rgba(176, 115, 43, 0.96);
  font-size: 0.85rem;
  line-height: 1.5;
}

.rx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-footer-copy {
  margin: 0;
  color: rgba(240, 236, 230, 0.74);
  font-size: 0.95rem;
}

.rx-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rx-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  color: #f0ece6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.rx-social-link:hover,
.rx-social-link:focus-visible {
  transform: translateY(-2px);
  color: #b0732b;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* =========================================================
   25) RESPONSIVE - 900PX
   ========================================================= */
@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .navbar-container {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 18px;
  }

  .navbar-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(15, 37, 74, 0.08);
  }

  .navbar-right.is-open {
    display: flex;
  }

  .nav-center {
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link,
  .dropdown-toggle,
  .join-btn,
  .user-trigger {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 4px;
  }

  .join-btn {
    margin-top: 4px;
    justify-content: center;
  }

  .dropdown-content,
  .user-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 16px;
    border-color: rgba(15, 37, 74, 0.06);
  }

  .dropdown.is-open .dropdown-content,
  .user-dropdown-container.is-open .user-dropdown-menu {
    display: block;
  }

  .user-dropdown-container {
    width: 100%;
  }
}

/* =========================================================
   26) RESPONSIVE - 760PX
   ========================================================= */
@media (max-width: 760px) {
  .dashboard-card {
    min-height: auto;
    padding: 24px 22px 22px;
  }

  .card-content {
    max-width: 100%;
  }

  .card-art {
    display: none;
  }

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

  .card-link {
    width: 100%;
    min-width: 0;
  }

  .integration-row {
    align-items: stretch;
  }

  .integration-code {
    width: 100%;
  }

  .copy-btn {
    width: 100%;
    height: 48px;
  }

  .rx-footer-shell {
    padding: 28px 22px 20px;
    border-radius: 28px;
  }

  .rx-footer-links {
    grid-template-columns: 1fr;
  }

  .rx-footer-form {
    max-width: 100%;
  }
}

/* =========================================================
   27) RESPONSIVE - 560PX
   ========================================================= */
@media (max-width: 560px) {
  .site-header {
    padding-top: 12px;
  }

  .dashboard-section {
    padding-top: 20px;
    padding-bottom: 56px;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }

  .dashboard-header p {
    font-size: 0.98rem;
  }

  .navbar-shell {
    border-radius: 22px;
  }

  .navbar-brand img {
    width: 112px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .dashboard-card {
    border-radius: 26px;
  }

  .rx-footer-top {
    gap: 26px;
    padding-bottom: 24px;
  }

  .rx-footer-emergency {
    width: 100%;
  }

  .rx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   28) REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}