/* Apollo co-op forms styles. Loaded by the plugin via wp_enqueue_style. */
  #apollo-coop-forms { max-width:760px; font-family:Montserrat,Arial,sans-serif; color:#1f2124; }
  #apollo-coop-forms h2 { color:#1a1a1a; margin-bottom:4px; }
  #apollo-coop-forms .coop-sub { font-size:14px; color:#666; margin-bottom:18px; }
  #apollo-coop-forms .coop-dealer { font-size:14px; color:#444; margin-bottom:20px; }
  #apollo-coop-forms .coop-dealer strong { color:#e0611c; }
  #apollo-coop-forms label { display:block; font-size:13px; font-weight:600; margin:14px 0 5px; }
  #apollo-coop-forms .req { color:#e0611c; }
  #apollo-coop-forms input[type=text], #apollo-coop-forms input[type=email],
  #apollo-coop-forms input[type=date], #apollo-coop-forms select {
    width:100%; padding:10px; border:1px solid #ccc; border-radius:6px; box-sizing:border-box; font-family:inherit; font-size:14px;
  }
  #apollo-coop-forms .grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:0 20px; }
  @media (max-width:560px){ #apollo-coop-forms .grid-2 { grid-template-columns:1fr; } }
  #apollo-coop-forms .coop-fields { display:flex; gap:0 20px; }
  #apollo-coop-forms .coop-field { flex:1; }
  @media (max-width:560px){ #apollo-coop-forms .coop-fields { flex-direction:column; } }
  #apollo-coop-forms .coop-section { margin-top:22px; padding-top:6px; border-top:1px solid #eee; font-weight:700; color:#1a1a1a; }
  #apollo-coop-forms .coop-submit { margin-top:24px; padding:13px 26px; background:#e0611c; color:#fff; border:none; border-radius:8px; font-weight:600; font-size:15px; cursor:pointer; }
  #apollo-coop-forms .coop-submit:disabled { opacity:.5; cursor:default; }
  #apollo-coop-forms .coop-status { margin-top:16px; font-size:14px; min-height:20px; white-space:pre-wrap; }
  #apollo-coop-forms .hidden { display:none; }
  #apollo-coop-forms .coop-file-input { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
  #apollo-coop-forms .coop-file-btn { display:inline-block; padding:9px 16px; background:#fff; color:#1a1a1a; border:1px solid #e0611c; border-radius:6px; font-size:13px; font-weight:600; cursor:pointer; }
  #apollo-coop-forms .coop-file-btn:hover { background:#faf3ee; }
  #apollo-coop-forms .coop-file-names { display:inline-block; margin-left:12px; font-size:13px; color:#666; vertical-align:middle; }
  #apollo-coop-forms #coop-toggle { display:flex; gap:8px; margin:0 0 18px; }
  #apollo-coop-forms .coop-tab { padding:9px 18px; border:1px solid #e0611c; background:#fff; color:#e0611c; border-radius:8px; font-weight:600; font-size:14px; cursor:pointer; font-family:inherit; }
  #apollo-coop-forms .coop-tab.active { background:#e0611c; color:#fff; }
  #apollo-coop-forms .cl-details { background:#faf3ee; border-radius:8px; padding:12px 14px; font-size:14px; margin:14px 0; }
  #apollo-coop-forms .coop-agency { background:#faf3ee; border:1px solid #f0dccb; border-radius:8px; padding:12px 14px; font-size:13px; color:#555; margin:0 0 18px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  #apollo-coop-forms .coop-agency.hidden { display:none; }
  #apollo-coop-forms .coop-agency .coop-code-chip { font-family:'Courier New',monospace; font-weight:700; letter-spacing:.5px; color:#1a1a1a; background:#fff; border:1px solid #e0dccb; border-radius:6px; padding:4px 10px; }
  #apollo-coop-forms .coop-agency .coop-copy-btn { background:#e0611c; color:#fff; border:none; border-radius:6px; padding:5px 12px; font-size:12px; font-weight:600; cursor:pointer; }
  #apollo-coop-forms .coop-agency .coop-copy-btn:active { opacity:.8; }
  #apollo-coop-forms .cl-details div { margin:3px 0; }
  #apollo-coop-forms .cl-details strong { color:#1a1a1a; }
  #apollo-coop-forms .coop-file-list { margin-top:8px; }
  #apollo-coop-forms .coop-file-item { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 10px; background:#f5f5f5; border-radius:6px; margin-top:6px; font-size:13px; }
  #apollo-coop-forms .coop-file-item .coop-file-left { display:flex; align-items:center; gap:10px; overflow:hidden; }
  #apollo-coop-forms .coop-file-item .coop-file-name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #apollo-coop-forms .coop-file-thumb { width:40px; height:40px; border-radius:4px; object-fit:cover; flex:none; }
  #apollo-coop-forms .coop-file-badge { width:40px; height:40px; border-radius:4px; flex:none; background:#ddd; color:#555; font-size:10px; font-weight:600; display:flex; align-items:center; justify-content:center; }
  #apollo-coop-forms .coop-file-x { border:none; background:none; color:#c0392b; cursor:pointer; font-size:18px; line-height:1; flex:none; }

  /* modal (moved to <body> at runtime; rules are global by id) */
  #coop-modal { position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center;
    background:rgba(31,33,36,0.5); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
    font-family:Montserrat,Arial,sans-serif; color:#1f2124; }
  #coop-modal .coop-modal-card { width:100%; max-width:480px; margin:20px; padding:26px; background:#fff; border-radius:12px; box-shadow:0 16px 48px rgba(0,0,0,0.35); max-height:88vh; overflow:auto; }
  #coop-modal h3 { margin:0 0 6px; color:#1a1a1a; font-size:19px; }
  #coop-modal p { color:#444; font-size:14px; line-height:1.5; margin:0 0 16px; }
  #coop-modal label { display:block; font-size:13px; font-weight:600; margin:12px 0 5px; color:#1f2124; }
  #coop-modal input[type=text] { width:100%; padding:10px; border:1px solid #ccc; border-radius:6px; box-sizing:border-box; font-family:inherit; font-size:14px; }
  #coop-modal .req { color:#e0611c; }
  #coop-modal .coop-check { display:flex; gap:10px; align-items:flex-start; font-size:14px; font-weight:400; margin:12px 0; color:#1f2124; cursor:pointer; }
  #coop-modal .coop-check input { margin-top:3px; }
  #coop-modal .coop-reqs { background:#faf3ee; border-radius:8px; padding:12px 14px; font-size:13px; color:#444; margin:6px 0 14px; }
  #coop-modal .coop-reqs strong { color:#1a1a1a; }
  #coop-modal .coop-reqs ul { margin:6px 0 0; padding-left:18px; }
  #coop-modal .coop-reqs li { margin:3px 0; }
  #coop-modal .coop-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
  #coop-modal .coop-btn { padding:10px 20px; background:#e0611c; color:#fff; border:none; border-radius:7px; font-weight:600; font-size:14px; cursor:pointer; }
  #coop-modal .coop-btn:disabled { opacity:.5; cursor:default; }
  #coop-modal .coop-btn-ghost { padding:10px 20px; background:#fff; color:#1a1a1a; border:1px solid #ccc; border-radius:7px; font-weight:600; font-size:14px; cursor:pointer; }
  #coop-modal .coop-modal-msg { font-size:13px; color:#c0392b; min-height:16px; margin-top:10px; }
  #coop-modal #coop-done-msg { white-space:pre-wrap; }
  #coop-modal .coop-spinner { width:44px; height:44px; margin:6px auto 18px; border:4px solid #f0e2d7; border-top-color:#e0611c; border-radius:50%; animation:coop-spin 0.8s linear infinite; }
  @keyframes coop-spin { to { transform:rotate(360deg); } }
  #coop-modal.hidden { display:none; }
  #coop-modal .hidden { display:none; }
  #coop-modal .coop-file-input { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
  #coop-modal .coop-file-btn { display:inline-block; padding:9px 16px; background:#fff; color:#1a1a1a; border:1px solid #e0611c; border-radius:6px; font-size:13px; font-weight:600; cursor:pointer; }
  #coop-modal .coop-file-btn:hover { background:#faf3ee; }
  #coop-modal .coop-file-names { display:inline-block; margin-left:12px; font-size:13px; color:#666; vertical-align:middle; }
