/* Shared form foundation for contact create/edit and future management forms.
   Only elements explicitly marked app-form-* receive these styles; Bootstrap and
   unrelated pages are not affected. Page-specific layouts remain in *.razor.css. */
.app-form-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

.app-form-page-title {
    color: #1a237e;
}

.app-form-card {
    overflow: hidden;
    border-radius: 12px;
}

.app-form-divider {
    margin: 28px 0;
    border-color: #e5e7eb;
    opacity: 1;
}

.app-form-required-marker {
    color: #dc3545;
    margin-left: 2px;
}

.app-form-field-error {
    margin-top: 4px;
    color: #dc3545;
    font-size: 0.875rem;
}

.app-form-phone-prefix {
    min-width: 58px;
    justify-content: center;
    background: #f8f9fa;
    font-weight: 600;
    user-select: none;
}
