/* ===========================================================
   The Outdoor Muster — Public Signup Form
   =========================================================== */

.om-form-wrapper {
    --om-brand: #3a6b35;
    --om-brand-dark: #2c5128;
    --om-bg: #fafaf7;
    --om-line: #d8d8d2;
    --om-text: #2b2b2b;
    --om-muted: #6c6c66;

    max-width: 720px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--om-text);
}

.om-form-header { text-align: center; margin-bottom: 18px; }
.om-form-header h2 { font-size: 26px; margin: 0 0 6px; color: var(--om-text); }
.om-form-header p { color: var(--om-muted); font-size: 15px; margin: 0; }

.om-admin-warn {
    background: #fff8e1; color: #7a5b00;
    border-left: 3px solid #d4a526;
    padding: 8px 12px; border-radius: 4px;
    font-size: 13px; margin: 0 0 14px;
}

/* ----- Tabs ----- */
.om-tabs {
    display: flex; gap: 4px;
    background: var(--om-bg);
    padding: 4px; border-radius: 10px;
    margin: 0 auto 22px;
    max-width: 480px;
}
.om-tab {
    flex: 1; padding: 10px 14px;
    background: transparent; border: 0; cursor: pointer;
    border-radius: 7px; font-size: 14px; font-weight: 600;
    color: var(--om-muted); transition: all 0.18s;
    font-family: inherit;
}
.om-tab:hover { color: var(--om-text); }
.om-tab.active {
    background: #fff; color: var(--om-brand);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ----- Form ----- */
.om-form { display: none; }
.om-form.active { display: block; }
.om-form-intro { color: var(--om-muted); font-size: 14px; margin: 0 0 14px; }

.om-section {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--om-brand);
    margin: 24px 0 10px; padding-bottom: 6px;
    border-bottom: 1px solid var(--om-line);
}
.om-section:first-of-type { margin-top: 0; }

.om-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .om-row { grid-template-columns: 1fr; } }

.om-field { display: block; margin-bottom: 14px; }
.om-label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--om-text); margin-bottom: 6px;
}
.om-label em { color: #c0392b; font-style: normal; font-weight: 700; }
.om-label small { color: var(--om-muted); font-weight: 400; font-size: 12px; }

.om-form input[type="text"],
.om-form input[type="email"],
.om-form input[type="url"],
.om-form input[type="file"],
.om-form select,
.om-form textarea {
    width: 100%; box-sizing: border-box;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid var(--om-line);
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    color: var(--om-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.om-form textarea { resize: vertical; min-height: 80px; }
.om-form input:focus,
.om-form select:focus,
.om-form textarea:focus {
    outline: none;
    border-color: var(--om-brand);
    box-shadow: 0 0 0 3px rgba(58, 107, 53, 0.15);
}

.om-form input[type="file"] { padding: 6px; background: var(--om-bg); }

.om-fieldset {
    border: 1px solid var(--om-line); border-radius: 8px;
    padding: 14px 16px; margin: 14px 0; background: #fff;
}
.om-fieldset legend {
    padding: 0 8px; font-size: 13px; font-weight: 600;
    color: var(--om-muted);
}

/* Checkbox grid */
.om-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 6px 12px;
}
.om-check {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; cursor: pointer;
    color: var(--om-text);
}
.om-check input[type="checkbox"] {
    width: auto; margin: 0;
    accent-color: var(--om-brand);
}
.om-optin {
    margin: 18px 0 14px;
    padding: 10px 12px;
    background: var(--om-bg);
    border-radius: 6px;
    font-weight: 500;
}

/* Logo preview */
.om-logo-preview {
    margin-top: 10px; padding: 10px;
    background: var(--om-bg); border-radius: 6px;
    text-align: center;
}
.om-logo-preview img {
    max-width: 200px; max-height: 100px;
    border-radius: 4px; background: #fff; padding: 4px;
}

/* Captcha */
.h-captcha { margin: 14px 0; }

/* Actions */
.om-actions { margin-top: 18px; }
.om-submit {
    width: 100%; padding: 13px 20px;
    background: var(--om-brand); color: #fff;
    border: 0; border-radius: 7px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: filter 0.15s, transform 0.05s;
    font-family: inherit;
}
.om-submit:hover { filter: brightness(1.08); }
.om-submit:active { transform: translateY(1px); }
.om-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Messages */
.om-message {
    padding: 10px 14px; border-radius: 6px;
    margin-top: 12px; font-size: 14px;
    display: none;
}
.om-message.om-error { background: #fdecea; color: #a02622; display: block; }
.om-message.om-info  { background: #fef6e7; color: #7a5b00; display: block; }

/* Success panel */
.om-success {
    text-align: center; padding: 36px 24px;
    background: var(--om-bg); border-radius: 10px;
}
.om-success-icon {
    width: 56px; height: 56px; line-height: 56px;
    border-radius: 50%; background: var(--om-brand);
    color: #fff; font-size: 28px; font-weight: 700;
    display: inline-block; margin-bottom: 14px;
}
.om-success h3 { font-size: 22px; margin: 0 0 8px; color: var(--om-text); }
.om-success p { color: var(--om-muted); font-size: 15px; margin: 0; }
