.border-bleu
{
    border: 2px solid #1C57A3 !important;
    margin: 0 6px 15px 0;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: #1C57A3;
    border-radius: 5px;
    padding: 11px 20px 11px 30px;
}

#map{
    height: 500px;
    width: 70%;
    margin: auto;
}

.off{
    display: none;
    transition: .5s ease;
}

#notify{
    position: sticky;
    top: 0;
}

/* ============================================
   STYLES FORMULAIRES GLOBAUX - FRONTEND CLIENT
   ============================================ */

/* --- Inputs, selects, textareas --- */
.form-control:not(.select-active),
.form-select:not(.select-active),
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="tel"],
form input[type="url"],
form input[type="date"],
form input[type="datetime-local"],
form input[type="time"],
form input[type="file"],
form select:not(.select-active),
form textarea {
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #333 !important;
    background-color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100%;
}

.form-control:not(.select-active):focus,
.form-select:not(.select-active):focus,
form input:focus,
form select:not(.select-active):focus,
form textarea:focus {
    border-color: #1C57A3 !important;
    box-shadow: 0 0 0 3px rgba(28, 87, 163, 0.12) !important;
    outline: none !important;
}

/* --- Labels --- */
form label:not(.form-check-label):not(.btn) {
    font-weight: 600 !important;
    font-size: 13.5px !important;
    color: #344054 !important;
    margin-bottom: 6px !important;
    display: inline-block;
}

/* --- Form groups --- */
.form-group {
    margin-bottom: 16px !important;
}

/* --- Widget login/register wrappers --- */
.login_wrap,
.widget-taber-content {
    border-radius: 12px !important;
    overflow: hidden;
}

.padding_eight_all {
    padding: 32px !important;
}

/* --- Cards --- */
.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.card-header {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e9ecef !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 16px 20px !important;
    font-weight: 600;
}

.card-body {
    padding: 24px !important;
}

/* --- Titres headings --- */
.heading_s1 h1,
.heading_s1 h2 {
    color: #1C57A3 !important;
    font-weight: 700 !important;
}

.heading_s1 p a {
    color: #1C57A3 !important;
    font-weight: 600;
}

/* --- Boutons principaux --- */
.btn-heading,
.btn-fill-out,
.btn-primary,
form button[type="submit"] {
    background-color: #1C57A3 !important;
    border-color: #1C57A3 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #fff !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.btn-heading:hover,
.btn-fill-out:hover,
.btn-primary:hover,
form button[type="submit"]:hover {
    background-color: #164a8a !important;
    border-color: #164a8a !important;
    transform: translateY(-1px);
    color: #fff !important;
}

/* --- Boutons secondaires --- */
.btn-light,
.btn-outline-primary {
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
}

/* --- Alertes --- */
.alert {
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px;
}

.alert-success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
}

.alert-danger {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}

.alert-info {
    background-color: #dbeafe !important;
    color: #1e40af !important;
}

/* --- Checkboxes & Radios --- */
.form-check-input {
    border-radius: 4px !important;
    border: 2px solid #ced4da !important;
    width: 18px !important;
    height: 18px !important;
    min-height: auto !important;
    cursor: pointer;
}

.form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.form-check-input:checked {
    background-color: #1C57A3 !important;
    border-color: #1C57A3 !important;
}

.form-check-label {
    font-size: 14px !important;
    font-weight: 400 !important;
    cursor: pointer;
    padding-left: 4px;
}

/* --- Custome radio (template specifique) --- */
.custome-radio .form-check-input {
    margin-top: 3px;
}

/* --- Texte d'erreur --- */
span.text-danger {
    font-size: 12.5px !important;
}

/* --- Separateurs --- */
.login_footer {
    margin-bottom: 16px !important;
}

/* --- Chek-form inputs --- */
.chek-form input {
    max-width: 300px;
}

/* --- Payment option / type selector --- */
.payment_option {
    background: #f0f5fc;
    border-radius: 8px;
    padding: 16px;
}

/* --- Tables --- */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8fafc;
    color: #344054;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid #e9ecef;
    padding: 12px 16px;
}

.table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f5;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* --- Badges --- */
.badge {
    border-radius: 6px !important;
    font-weight: 500;
    padding: 5px 10px;
}

/* --- Page content spacing override for forms --- */
.page-content form {
    max-width: 100%;
}

/* --- Header client fixe en haut --- */
.client-layout .header-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.client-layout {
    padding-top: 80px !important;
}

/* --- Entete tableau panier --- */
.table-wishlist thead tr.main-heading {
    background-color: #1C57A3 !important;
}

.table-wishlist thead tr.main-heading th {
    background-color: #1C57A3 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 14px 16px;
    border: none;
}

/* ==============================================================
   VUE RAPIDE — le champ montant, à côté de la quantité
   ==============================================================
   Le thème ne prévoyait qu'une boîte de quantité (.detail-qty). Le montant
   reprend exactement sa mise en forme, pour que les deux se lisent comme une
   paire, avec la devise collée à droite du nombre. */
.detail-extralink .detail-montant {
    margin: 0 6px 15px 0;
    background: #fff;
    border: 2px solid #1C57A3 !important;
    font-size: 16px;
    font-weight: 700;
    color: #1C57A3;
    border-radius: 5px;
    /* Hauteur alignée sur celle de .detail-qty, mesurée à 54px : les deux
       boîtes se lisent comme une paire. */
    height: 54px;
    padding: 0 14px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    /* Le conteneur est en flex : sans cela la boîte s'étire sur toute la
       hauteur de la ligne et ne s'aligne plus sur la quantité. */
    align-self: center;
}

.detail-extralink .detail-montant .montant-val {
    /* Le thème dessine les champs en pilule blanche bordée, avec une ombre
       interne : posée DANS la boîte, elle faisait une seconde bordure autour du
       nombre. On efface tout, la boîte fournit déjà le cadre. */
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
    width: 92px;
    font-size: 16px;
    font-weight: 700;
    color: #1C57A3;
    text-align: right;
    /* Le thème impose height:64px et padding:12px 24px à TOUT input — la boîte
       de quantité y échappe par une règle dédiée, celle-ci fait de même. */
    height: auto !important;
    padding: 0 !important;
    line-height: 1.2;
}

.detail-extralink .detail-montant .montant-devise {
    font-size: 13px;
    font-weight: 600;
    opacity: .75;
}
