/* ═══════════════════════════════════════════════════════════
   COMMERCIALIZATION DIALOGS — Shared styles for all
   Commercialization module dialogs (Create, Edit, Move, Archive)
   Loaded globally because DialogService renders outside
   parent component scope.
   ═══════════════════════════════════════════════════════════ */

.comm-dialog {
    padding: 4px 8px 8px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.comm-dialog *,
.comm-dialog *::before,
.comm-dialog *::after {
    box-sizing: border-box;
}

.dialog-title {
    font-family: 'ABCWhyte-Medium', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #004f3c;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* ── Form Grid ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
}

.required {
    color: #ef4444;
}

/* ── Dialog Actions ── */
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

/* ── Sections within dialogs ── */
.dialog-section {
    margin-bottom: 16px;
}

.dialog-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

/* ── Width helper (dialogs) ── */
.comm-dialog .w-100 {
    width: 100%;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .comm-dialog {
        min-width: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* Field hint text under dropdown labels (CreateProjectDialog) */
.comm-dialog .field-hint {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.3;
}
