/* ============================================================
   registrasi.css — gaya khusus halaman registrasi.html.
   Memuat variabel desain dari common.css (dimuat lebih dulu).
   ============================================================ */
:root{ --paper: #FBF8F1; --line: #E7E0D2; }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Inter', system-ui, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
    h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
    a { color: inherit; text-decoration: none; }

    /* NAV */
    .nav { background: var(--pine); position: sticky; top: 0; z-index: 30; }
    .nav-in { max-width: 980px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
    .brand { display: flex; align-items: center; gap: 12px; color: #FBF8F1; }
    .brand .mk { width: 42px; height: 42px; border-radius: 11px; background: var(--gold); overflow: hidden; display: grid; place-items: center; flex: none; }
    .brand .mk img { width: 100%; height: 100%; object-fit: cover; }
    .brand b { font-family: 'Fraunces'; font-weight: 600; font-size: 16px; line-height: 1.1; display: block; }
    .brand small { font-size: 10px; letter-spacing: .05em; opacity: .8; }
    .nav-in .back { color: #FBF8F1; font-size: 13.5px; font-weight: 500; opacity: .9; padding: 8px 4px; }
    .nav-in .back:hover { opacity: 1; }

    /* HEADER STRIP */
    .head { background: linear-gradient(180deg, var(--pine), var(--pine-2)); color: #FBF8F1; padding: 42px 22px 56px; text-align: center; }
    .head .eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
    .head h1 { font-size: clamp(26px, 5vw, 36px); margin: 12px 0 10px; }
    .head p { color: #CFE0DA; max-width: 560px; margin: 0 auto; font-size: 15px; }

    /* CARD */
    .wrap { max-width: 760px; margin: -34px auto 60px; padding: 0 18px; }
    .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 48px -28px rgba(27, 59, 54, .4); padding: 30px clamp(20px, 4vw, 38px); }

    .alert { display: none; border-radius: 11px; padding: 13px 16px; font-size: 14px; margin-bottom: 20px; }
    .alert.err { display: block; background: var(--clay-soft); color: var(--clay); border: 1px solid #e4bdb2; }

    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
    .field { display: flex; flex-direction: column; gap: 6px; }
    .field.full { grid-column: 1 / -1; }
    label { font-size: 13px; font-weight: 600; color: var(--pine); }
    label .req { color: var(--clay); }
    .hint { font-size: 11.5px; color: var(--faint); font-weight: 400; }
    input, select, textarea {
      font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
      border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; transition: .15s;
    }
    input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
    textarea { resize: vertical; min-height: 78px; }
    select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237B7567' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }

    .consent { margin-top: 22px; background: var(--pine-soft); border-radius: 11px; padding: 13px 15px; font-size: 13px; color: var(--ink); line-height: 1.5; }
    .consent label { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
    .consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--pine); }
    .actions { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .btn { font-family: inherit; font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 11px; border: none; cursor: pointer; transition: .18s; }
    .btn-gold { background: var(--gold); color: #15302B; }
    .btn-gold:hover { filter: brightness(1.07); transform: translateY(-1px); }
    .btn-gold:disabled { opacity: .6; cursor: default; transform: none; filter: none; }
    .btn-outline { background: #fff; color: var(--pine); border: 1px solid var(--line); }
    .btn-outline:hover { border-color: var(--pine-2); }
    .note { font-size: 12.5px; color: var(--muted); }

    .sectitle { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 4px 0 14px; }

    /* SUCCESS */
    .done { display: none; text-align: center; padding: 18px 6px; }
    .done .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--pine-soft); color: var(--pine); display: grid; place-items: center; margin: 0 auto 18px; font-size: 36px; }
    .done h2 { font-size: 24px; margin-bottom: 10px; }
    .done p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

    footer { text-align: center; padding: 26px 18px 40px; color: var(--faint); font-size: 12.5px; }

    @media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
