/* ============================================================================
   CLICK SOFT — CHAMPS DE FORMULAIRE RECTANGULAIRES
   Tous les champs de saisie (clients, fournisseurs, dépenses, produits, documents, fenêtres)
   sont à angles droits, comme les fiches documents (cs-pages.css : border-radius:0).

   Les feuilles de page (erp-contact, erp-product, erp-ops, erp-modals…) arrondissent avec
   !important et une forte spécificité (« html body .x.x.x ») : on les surclasse ici avec
   « body:not(#cs-nr) » (poids d'un identifiant), sans dépendre de l'ordre de chargement.
   Présentation seule : aucune règle de taille, de couleur ou de comportement.
   ============================================================================ */
html body:not(#cs-nr) :is(.content, .modal, .content-wrapper) :is(
    .form-control,
    input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="search"],
    input[type="password"], input[type="date"], input[type="url"], select, textarea,
    .input-group-addon, .input-group-btn > .btn,
    .select2-container .select2-selection,
    .select2-container .select2-selection--single,
    .select2-container .select2-selection--multiple,
    .select2-container .select2-search__field,
    .bootstrap-tagsinput, .note-editor, .dropzone
){border-radius:0!important}

/* Listes déroulantes Select2 (rattachées à <body>) et étiquettes de sélection multiple */
html body:not(#cs-nr) .select2-dropdown,
html body:not(#cs-nr) .select2-container--open .select2-selection,
html body:not(#cs-nr) .select2-search--dropdown .select2-search__field,
html body:not(#cs-nr) .select2-selection__choice{border-radius:0!important}

/* Calendriers et sélecteurs de dates */
html body:not(#cs-nr) :is(.daterangepicker, .bootstrap-datetimepicker-widget, .datepicker) :is(input, select, .form-control){border-radius:0!important}

/* Fenêtres hors .content (rattachées à <body>) : demande de forfait, enregistrement de l'application */
html body:not(#cs-nr) :is(.lpm input, .lpm textarea, .csreg-input){border-radius:0!important}
