/**
 * Customer Designer - CSS Overrides
 * Loaded only in index-customer.html, after style-v2.css.
 * Hides internal-only UI and styles customer-specific elements.
 */

/* Hide role-gated elements that JS normally toggles */
.admin-only,
.surveyor-only,
.owner-only,
.sales-only {
    display: none !important;
}

/* Hide sign-out / user menu / internal header buttons (no auth in customer mode) */
#sign-out-btn,
#user-display,
#user-menu,
#admin-panel-btn,
#park-settings-btn,
#auth-section,
#logout-btn {
    display: none !important;
}

/* Hide pricing panel entirely (should not exist in customer HTML but safety net) */
#pricing-display {
    display: none !important;
}

/* Hide internal-only workflow controls */
#surveyor-mode-toggle {
    display: none !important;
}

/* Hide surveyor-specific step controls (step height, treads override) */
.surveyor-only {
    display: none !important;
}

/* Send Design panel — floating bottom-right (same position as pricing popup) */
.send-design-panel {
    position: absolute;
    bottom: 60px;
    right: 20px;
    z-index: 10;
    padding: 16px 20px;
    text-align: center;
    background: var(--bg-elevated, #1e2a38);
    border: 1px solid var(--border-default, #3a4a5a);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 220px;
}

.send-design-btn {
    width: 100%;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.send-design-btn:hover {
    transform: translateY(-1px);
}

.send-design-btn:active {
    transform: translateY(0);
}

.send-design-hint {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary, #8899aa);
    line-height: 1.4;
}

/* Contact form modal tweaks */
#contact-form-modal .form-input {
    width: 100%;
    padding: var(--space-xs, 6px) var(--space-sm, 10px);
    border: 1px solid var(--border-color, #3a4a5a);
    border-radius: var(--radius-sm, 6px);
    background: var(--input-bg, #1a2430);
    color: var(--text-primary, #e8ecf1);
    font-size: 0.95rem;
    box-sizing: border-box;
}

#contact-form-modal .form-input:focus {
    outline: none;
    border-color: var(--primary-color, #4a9eff);
    box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
}

#contact-form-modal textarea.form-input {
    min-height: 70px;
}
