:root {
    --bg: #ffffff;
    --text: #0a0a0a;
    --muted: #525252;
    --border: #e5e5e5;
    --wash: #fafafa;
    --shadow: 0 12px 30px rgba(0,0,0,.06);
    --radius: 14px;
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px;
  }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .byline { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: .05em; }
  .dre-id-nav { font-size: 12px; color: var(--muted); opacity: 0.8; }

  /* LAYOUT */
  .page { max-width: 1100px; margin: 0 auto; padding: 40px 18px; }
  .hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
  @media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

  h1 { font-size: 2.2rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px; }
  .subhead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }

  /* CARD & FORM */
  .card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  .card-body { padding: 24px; }

  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .full-width { grid-column: 1 / -1; }
  
  .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
  
  .input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
  }
  .input:focus { border-color: #000; outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }

  /* PASSWORD TOGGLE */
  .pw-wrap { position: relative; }
  .pw-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
  }

  .cta {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.1s;
  }
  .cta:active { transform: scale(0.98); }

  .notice { margin-top: 16px; padding: 12px; background: var(--wash); border-radius: 10px; font-size: 12px; color: var(--muted); border: 1px solid var(--border); }
  
  /* PREVIEW BOX */
  .preview-box { background: var(--wash); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
  .video-placeholder { width: 100%; background: #000; border-radius: 8px; aspect-ratio: 16/9; margin: 15px 0; }

  .error-box { display: none; color: #b91c1c; background: #fef2f2; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 15px; border: 1px solid #fee2e2; }
  .errormsg{color:red; padding-bottom:20px;}
  .successmsg{ color:green;padding-bottom:20px;}
  .noticemsg{
      color:red;
      padding-bottom:25px;
  }