/*! Extracted from the inline <style> in Modules/Frontend/Resources/views/components/auth/register.blade.php */

  * { box-sizing: border-box; }

  body { margin: 0; padding: 0; font-family: 'Lexend Deca', sans-serif; background: #f5f4f2; }

  .rw-register-wrap {
    display: flex;
    min-height: 100vh;
  }

  /* ── LEFT: form panel ── */
  .rw-register-form-panel {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow-y: auto;
    padding: 48px 56px 48px;
  }

  .rw-register-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2d2515, #1a1710 70%);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
    padding: 8px;
    margin-bottom: 40px;
  }
  .rw-register-logo img { height: 60px; width: auto; object-fit: contain; }

  .rw-register-heading { font-size: 1.65rem; font-weight: 700; color: #111; margin: 0 0 6px; }
  .rw-register-subheading { font-size: 0.9rem; color: #888; margin: 0 0 36px; }

  .rw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .rw-form-grid .rw-full { grid-column: 1 / -1; }

  .rw-field { margin-bottom: 22px; }
  .rw-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 7px;
    letter-spacing: 0.01em;
  }
  .rw-field label .req { color: #e53e3e; margin-left: 2px; }

  .rw-input-wrap { position: relative; }
  .rw-input-wrap input,
  .rw-input-wrap textarea,
  .rw-input-wrap select {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 1.5px solid #e4e4e4;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #222;
    background: #fafafa;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
  }
  .rw-input-wrap input::placeholder,
  .rw-input-wrap textarea::placeholder { color: #bbb; }
  .rw-input-wrap input:focus,
  .rw-input-wrap textarea:focus {
    border-color: #c9a227;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,35,90,.08);
  }
  .rw-input-wrap input[type="file"] { padding: 8px 14px; }
  .rw-input-wrap textarea { resize: vertical; min-height: 90px; padding: 12px 14px; }
  .rw-input-wrap .rw-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
  }
  .rw-input-wrap.rw-toggle-wrap .rw-icon { pointer-events: auto; cursor: pointer; }

  .rw-field-note { font-size: 0.76rem; color: #aaa; margin-top: 5px; }
  .rw-field .text-danger { font-size: 0.78rem; color: #e53e3e; margin-top: 4px; display: block; }
  .rw-field .invalid-feedback { font-size: 0.78rem; color: #e53e3e; margin-top: 4px; display: none; }

  /* gallery thumbnails (vendor's optional image gallery) */
  .rw-gallery-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .rw-gallery-preview img { width: 68px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid #e6e6e6; }

  /* gender radios */
  .rw-gender-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 2px; }
  .rw-gender-option { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 0.88rem; color: #444; }
  .rw-gender-option input[type=radio] { accent-color: #c9a227; width: 15px; height: 15px; cursor: pointer; }

  /* divider */
  .rw-section-divider {
    grid-column: 1 / -1;
    border: none;
    border-top: 1.5px solid #f0f0f0;
    margin: 8px 0 18px;
  }

  /* submit row */
  .rw-submit-row { grid-column: 1 / -1; margin-top: 10px; }
  .rw-btn-submit {
    display: block;
    width: 100%;
    padding: 13px;
    background: #c9a227;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    font-family: inherit;
    letter-spacing: 0.02em;
  }
  .rw-btn-submit:hover { background: #0f1638; }
  .rw-btn-submit:active { transform: scale(.99); }
  .rw-btn-submit:disabled { opacity: .6; cursor: not-allowed; }

  .rw-login-hint {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    font-size: 0.87rem;
    color: #888;
  }
  .rw-login-hint a { color: #c9a227; font-weight: 600; text-decoration: none; }
  .rw-login-hint a:hover { text-decoration: underline; }

  /* ── RIGHT: branding panel ── */
  .rw-register-brand-panel {
    flex: 0 0 42%;
    background: linear-gradient(160deg, #0f0d0a, #1e1a12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 64px 52px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
  .rw-register-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(201,162,39,.06) 0%, transparent 65%),
                radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.03) 0%, transparent 55%);
    pointer-events: none;
  }

  .rw-brand-badge {
    display: inline-block;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.75rem;
    color: rgba(255,255,255,.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }

  .rw-brand-headline {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px;
    position: relative;
  }
  .rw-brand-headline em {
    font-style: normal;
    color: #c9a227;
  }

  .rw-brand-divider {
    width: 44px;
    height: 3px;
    background: #c9a227;
    border-radius: 2px;
    margin-bottom: 24px;
  }

  .rw-brand-desc {
    font-size: 0.97rem;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    margin: 0 0 44px;
    max-width: 320px;
  }

  .rw-brand-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
  .rw-brand-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255,255,255,.65);
  }
  .rw-brand-features li .rw-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: rgba(255,255,255,.7);
  }

  /* responsive */
  @media (max-width: 900px) {
    .rw-register-wrap { flex-direction: column; }
    .rw-register-brand-panel { position: static; height: auto; padding: 40px 32px; min-height: unset; }
    .rw-register-form-panel { padding: 36px 28px; }
    .rw-form-grid { grid-template-columns: 1fr; }
    .rw-register-logo { margin-bottom: 28px; }
  }
  @media (max-width: 540px) {
    .rw-register-form-panel { padding: 28px 20px; }
    .rw-brand-headline { font-size: 1.8rem; }
  }

  /* ── RTL ── */
  [dir="rtl"] .rw-field label .req { margin-left: 0; margin-right: 2px; }

  [dir="rtl"] .rw-input-wrap input,
  [dir="rtl"] .rw-input-wrap textarea,
  [dir="rtl"] .rw-input-wrap select {
    padding: 10px 14px 10px 40px;
  }

  [dir="rtl"] .rw-input-wrap input[type="file"] { padding: 8px 14px; }
  [dir="rtl"] .rw-input-wrap textarea { padding: 12px 14px; }

  [dir="rtl"] .rw-input-wrap .rw-icon { right: auto; left: 13px; }
  /* intl-tel-input (v25) has its own [dir=rtl] handling — it moves the country
     control to the right and pads the input accordingly, opposite the .rw-icon. */
