/* ══════════════════════════════════════════════
   REGISTER / LOGIN PAGE — Altitude Motion
   ══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.rg-body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════
   SPLIT LAYOUT
   ══════════════════════════════════════════════ */
.rg-wrapper {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── LEFT BRAND PANEL ── */
.rg-brand {
  position: relative;
  width: 46%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0f1a0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.rg-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(26, 92, 54, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(26, 92, 54, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* 45° diagonal cut on brand panel — matching triangle taken to right panel */
.rg-brand::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 clamp(90px, 9vw, 130px) clamp(90px, 9vw, 130px) 0;
  border-color: transparent #fafaf8 transparent transparent;
}

.rg-brand-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  flex: 1;
  width: 100%;
}

.rg-brand-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
}

/* Brand Logo */
.rg-brand-logo {
  display: block;
  margin-bottom: 48px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-brand-logo-icon {
  display: block;
  width: var(--brand-logo-hero-width);
  height: calc(var(--brand-logo-hero-width) / var(--brand-logo-ratio-num));
  background-color: #fff;
  -webkit-mask-image: var(--site-logo-url, url("../../images/logo-desktop-center.webp"));
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--site-logo-url, url("../../images/logo-desktop-center.webp"));
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.rg-brand-content {
  position: relative;
  z-index: 2;
}

.rg-brand-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.2;
}

.rg-brand-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 300px;
  margin: 0 auto;
}

.rg-brand-footer {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.rg-brand-copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── RIGHT MAIN PANEL ── */
.rg-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background: #fafaf8;
}


/* ── Corner Triangle + Close Icon ── */
.rg-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: clamp(90px, 9vw, 130px);
  height: clamp(90px, 9vw, 130px);
  overflow: hidden;
  pointer-events: none;
}

/* The green triangle */
.rg-corner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 clamp(90px, 9vw, 130px) clamp(90px, 9vw, 130px) 0;
  border-color: transparent #0f1a0d transparent transparent;
}

.rg-close {
  position: absolute;
  top: clamp(16px, 1.8vw, 26px);
  right: clamp(14px, 1.5vw, 22px);
  z-index: 11;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-close:hover {
  transform: scale(1.15);
}

.rg-close:active {
  transform: scale(0.9);
}

.rg-close-line {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-close-line--1 { transform: rotate(45deg); }
.rg-close-line--2 { transform: rotate(-45deg); }

.rg-close:hover .rg-close-line {
  background: #fff;
}

.rg-close:hover .rg-close-line--1 {
  transform: rotate(45deg) scaleX(1.25);
}

.rg-close:hover .rg-close-line--2 {
  transform: rotate(-45deg) scaleX(1.25);
}

.rg-mobile-header { display: none; }

.rg-form-container {
  width: 100%;
  max-width: 420px;
  margin-top: auto;
  margin-bottom: auto;
}

/* ══════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════ */
.rg-tabs {
  display: flex;
  position: relative;
  margin-bottom: 36px;
  border-bottom: 1px solid #d1d6c9;
  transition: opacity 0.3s, max-height 0.3s, margin 0.3s;
  max-height: 60px;
  overflow: hidden;
}

.rg-tabs.is-hidden {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.rg-tab {
  flex: 1;
  padding: 14px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #a3ad98;
  cursor: pointer;
  transition: color 0.25s;
  position: relative;
  text-align: center;
}

.rg-tab:hover { color: #555; }
.rg-tab.is-active { color: #0f1a0d; }

.rg-tab-indicator {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: #0f1a0d;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════
   PANELS
   ══════════════════════════════════════════════ */
.rg-panel {
  display: none;
}

.rg-panel.is-active {
  display: block;
  animation: rgFadeIn 0.35s ease both;
}

@keyframes rgFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════ */
.rg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rg-form-intro {
  font-size: 12.5px;
  color: #a3ad98;
  line-height: 1.7;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

/* ── Field ── */
.rg-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rg-field label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
}

.rg-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Input Wrapper ── */
.rg-input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid #d1d6c9;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
  position: relative;
}

.rg-input-wrap.is-focused {
  border-color: #1a5c36;
  box-shadow: 0 0 0 3px rgba(26, 92, 54, 0.08);
}

.rg-input-wrap.has-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.rg-input-icon {
  flex-shrink: 0;
  margin-left: 14px;
  color: #a3ad98;
  transition: color 0.25s;
}

.rg-input-wrap.is-focused .rg-input-icon { color: #1a5c36; }

.rg-input-wrap input {
  flex: 1;
  height: 100%;
  padding: 0 14px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: #111;
  background: transparent;
  -webkit-appearance: none;
}

.rg-input-wrap input::placeholder {
  color: #bbb;
}

/* ── Phone field ── */
.rg-input-wrap--phone {
  gap: 0;
}

.rg-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 0 14px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  border-right: 1px solid #d1d6c9;
  padding-right: 12px;
  flex-shrink: 0;
  user-select: none;
}

.rg-phone-prefix svg {
  flex-shrink: 0;
}

.rg-input-wrap--phone input {
  padding-left: 12px;
}

/* ── Password toggle ── */
.rg-toggle-pass {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  background: none;
  border: none;
  color: #a3ad98;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}

.rg-toggle-pass:hover { color: #555; }

.rg-toggle-pass .eye-closed { display: none; }
.rg-toggle-pass.is-visible .eye-open { display: none; }
.rg-toggle-pass.is-visible .eye-closed { display: block; }

/* ── Password strength ── */
.rg-pass-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s;
}

.rg-pass-strength.is-visible {
  opacity: 1;
  max-height: 24px;
}

.rg-pass-bar {
  flex: 1;
  height: 3px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.rg-pass-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 0.35s ease, background 0.35s ease;
}

.rg-pass-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  transition: color 0.35s;
}

/* ── Error messages ── */
.rg-field-error {
  font-size: 11px;
  color: #c0392b;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.25s;
}

.rg-field-error.is-visible {
  min-height: 16px;
  max-height: 30px;
  opacity: 1;
}

/* ── Checkbox & field row ── */
.rg-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.rg-checkbox input {
  display: none;
}

.rg-checkbox-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #d1d6c9;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
  margin-top: 1px;
}

.rg-checkbox-mark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-checkbox input:checked + .rg-checkbox-mark {
  background: #0f1a0d;
  border-color: #0f1a0d;
}

.rg-checkbox input:checked + .rg-checkbox-mark::after {
  transform: rotate(45deg) scale(1);
}

.rg-checkbox-text {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.rg-checkbox-text a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rg-checkbox-text a:hover {
  color: #1a5c36;
}

.rg-checkbox--terms {
  margin-top: -4px;
}

.rg-forgot-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: #a3ad98;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.rg-forgot-link:hover { color: #1a5c36; }

/* ══════════════════════════════════════════════
   SUBMIT BUTTON
   ══════════════════════════════════════════════ */
.rg-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: #0f1a0d;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rg-submit:hover {
  background: #1a5c36;
  letter-spacing: 2.8px;
}

.rg-submit:active {
  transform: scale(0.99);
}

.rg-submit--outline {
  background: transparent;
  color: #0f1a0d;
  border: 1.5px solid #0f1a0d;
}

.rg-submit--outline:hover {
  background: #0f1a0d;
  color: #fff;
}

/* Loading state */
.rg-submit.is-loading .rg-submit-text { opacity: 0; }
.rg-submit.is-loading .rg-submit-loader {
  opacity: 1;
}

.rg-submit-loader {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  animation: rgSpin 0.7s linear infinite;
}

@keyframes rgSpin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   DIVIDER
   ══════════════════════════════════════════════ */
.rg-divider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rg-divider::before,
.rg-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d1d6c9;
}

.rg-divider span {
  font-size: 9px;
  font-weight: 700;
  color: #a3ad98;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════
   SOCIAL BUTTONS
   ══════════════════════════════════════════════ */
.rg-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rg-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border: 1.5px solid #d1d6c9;
  background: #fff;
  border-radius: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.rg-social-btn:hover {
  border-color: #a3ad98;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rg-social-btn:active {
  background: #f8f9f5;
}

/* ══════════════════════════════════════════════
   FORGOT PASSWORD PANEL
   ══════════════════════════════════════════════ */
.rg-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  padding: 0;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.rg-back-btn:hover { color: #111; }

.rg-forgot-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
}

.rg-forgot-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
}

.rg-forgot-success.is-visible {
  display: flex;
  animation: rgFadeIn 0.4s ease both;
}

.rg-forgot-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(26, 92, 54, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-forgot-success-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.rg-forgot-success-text {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  max-width: 300px;
}

/* ══════════════════════════════════════════════
   HOME LINK
   ══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.rg-footer {
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-top: 1px solid #e8ebe4;
}

.rg-footer-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.rg-footer-link {
  font-size: 10px;
  font-weight: 600;
  color: #a3ad98;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  transition: color 0.2s;
}

.rg-footer-link:hover {
  color: #1a5c36;
}

.rg-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d1d6c9;
  flex-shrink: 0;
}

.rg-footer-copy {
  font-size: 9px;
  color: #c5cbbe;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ══════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════ */
.rg-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.rg-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.rg-toast--success {
  background: #0f1a0d;
  color: #fff;
}

.rg-toast--error {
  background: #c0392b;
  color: #fff;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet & below
   ══════════════════════════════════════════════ */
@media (max-width: 980px) {
  .rg-brand { display: none; }

  .rg-corner {
    position: fixed;
    z-index: 20;
    width: 80px;
    height: 80px;
  }

  .rg-corner::before {
    border-width: 0 80px 80px 0;
  }

  .rg-close {
    top: 10px;
    right: 10px;
  }

  .rg-close-line { width: 13px; }

  .rg-main {
    justify-content: flex-start;
    padding: 0 24px 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  /* Mobile header bar with brand logo (cart.html style) */
  .rg-mobile-header {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin-bottom: 12px;
  }

  .rg-mobile-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px var(--brand-plate-pad-x, 0px) 14px;
    background: var(--brand-900, #0a1f19);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    text-decoration: none;
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% 86%,
      0% 100%
    );
  }

  .rg-mobile-brand-logo {
    width: var(--brand-logo-width-mobile);
    height: auto;
    aspect-ratio: var(--brand-logo-ratio);
    display: block;
    position: relative;
    flex-shrink: 0;
  }

  .rg-mobile-brand-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #fff;
    -webkit-mask-image: var(--site-logo-url, url("../../images/logo-desktop-center.webp"));
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--site-logo-url, url("../../images/logo-desktop-center.webp"));
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  .rg-form-container {
    max-width: 420px;
    padding-top: 16px;
  }

  .rg-footer {
    padding-top: 28px;
    padding-bottom: 20px;
    margin-top: auto;
  }

  .rg-form-container {
    margin-top: 0;
    margin-bottom: 0;
  }

  .rg-mobile-header + .rg-form-container {
    padding-top: 8px;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Small mobile
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .rg-main {
    padding: 0 20px 32px;
  }

  .rg-tabs {
    margin-bottom: 24px;
  }

  .rg-tab {
    font-size: 10px;
    letter-spacing: 1.2px;
    padding: 12px 0;
  }

  .rg-form {
    gap: 16px;
  }

  .rg-input-wrap {
    height: 46px;
  }

  .rg-submit {
    height: 48px;
  }

  .rg-field-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rg-form-intro {
    font-size: 12px;
  }

  .rg-home-link {
    margin-top: 28px;
  }

  .rg-toast {
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(20px);
    text-align: center;
    white-space: normal;
  }

  .rg-toast.is-visible {
    transform: translateX(0) translateY(0);
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Large desktop
   ══════════════════════════════════════════════ */
@media (min-width: 1400px) {
  .rg-brand { width: 50%; }

  .rg-brand-logo-icon {
    width: calc(var(--brand-logo-hero-width) * 1.16);
    height: calc(var(--brand-logo-hero-width) * 1.16 / var(--brand-logo-ratio-num));
  }

  .rg-brand-title {
    font-size: 2.4rem;
  }

  .rg-form-container {
    max-width: 440px;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Short screens (landscape mobile)
   ══════════════════════════════════════════════ */
@media (max-height: 700px) and (min-width: 981px) {
  .rg-brand-logo { margin-bottom: 28px; }
  .rg-main { padding: 24px; }
  .rg-form { gap: 14px; }
  .rg-input-wrap { height: 44px; }
  .rg-submit { height: 46px; }
}

/* ══════════════════ Moose Mood Community referansı ══════════════════ */
.rg-comunity {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  margin: 28px auto 0;
  padding: 12px 14px 12px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  text-align: left;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.rg-comunity:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

.rg-comunity-mark img {
  display: block;
  width: 42px;
  height: 42px;
  padding: 3px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
}

.rg-comunity-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rg-comunity-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.rg-comunity-desc {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.rg-comunity-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, color 0.25s ease;
}

.rg-comunity:hover .rg-comunity-arrow {
  color: #fff;
}

/* Community oran değişikliği bilgilendirmesi (üyelik sözleşmesi md. 5) */
.rg-terms-note {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.7rem;
  background: rgba(0, 0, 0, 0.03);
  border-left: 2px solid #c8c8c4;
  font-size: 11px;
  line-height: 1.55;
  color: #6b6b6f;
}

.rg-terms-note a {
  color: inherit;
  text-decoration: underline;
}
