/* ART CONSTRUCTION - couleurs harmonisees avec l'ERP et le Portail.
   Fichier genere par outils/themes/generer-theme.php : ne pas modifier ici, modifier outils/themes/art-theme-src/ puis relancer le script de correction du module. */

/* === 1. couleurs d'origine remplacees === */
/* d'apres assets/design_1/css/app.min.css (12 regles) */
:root{--primary:#085292;--primary-saturated:#0b6bb8;--secondary:#06304f;--primary-border:#085292;--secondary-border:#06304f}
div:where(.swal2-container) div:where(.swal2-loader){border-color:#085292 transparent #085292 transparent}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{background:#085292}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#085292}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{background:#085292}
.chat-send-btn{background:var(--primary, #085292)}
.chat-empty-state__icon{background:rgba(8,82,146,0.1)}
.chat-message__edit-input{border:1px solid var(--primary, #085292)}
.chat-message__edit-input:focus{box-shadow:0 0 0 2px rgba(8,82,146,0.2)}
.chat-message__edit-save{background:var(--primary, #085292)}
.dark-mode .chat-empty-state__icon{background:rgba(8,82,146,0.15)}
.dark-mode .chat-message__edit-input{border-color:var(--primary, #085292)}
/* d'apres assets/design_1/css/parts/chat_room.min.css (7 regles) */
.chat-send-btn{background:var(--primary, #085292)}
.chat-empty-state__icon{background:rgba(8,82,146,0.1)}
.chat-message__edit-input{border:1px solid var(--primary, #085292)}
.chat-message__edit-input:focus{box-shadow:0 0 0 2px rgba(8,82,146,0.2)}
.chat-message__edit-save{background:var(--primary, #085292)}
.dark-mode .chat-empty-state__icon{background:rgba(8,82,146,0.15)}
.dark-mode .chat-message__edit-input{border-color:var(--primary, #085292)}
/* d'apres assets/admin/css/components.css (22 regles) */
.article.article-style-b .article-details p{color:#12202d}
.article.article-style-c .article-details .article-category{color:#12202d}
.article.article-style-c .article-details .article-category a{color:#12202d}
.article.article-style-c .article-details p{color:#12202d}
.author-box .author-box-job{color:#12202d}
.dropzone .dz-message{color:#12202d}
.fc-view{color:#12202d !important}
.fc-view > table th{color:#12202d !important}
.profile-widget .profile-widget-items .profile-widget-item .profile-widget-item-label{color:#12202d}
.statistic-details .statistic-details-item .detail-name{color:#12202d}
.swal-button.swal-button--confirm{box-shadow:0 2px 6px #b9d3ea}
.weather .weather-desc .weather-text{color:#12202d}
.icon-wrap .icon_unicode{color:#12202d}
.product-item .product-name{color:#12202d}
.tickets-list .ticket-item .ticket-info{color:#12202d}
.tickets .ticket-items .ticket-item.active{box-shadow:0 2px 6px #b9d3ea}
.tickets .ticket-items .ticket-item .ticket-desc{color:#12202d}
.tickets .ticket-content .ticket-header .ticket-detail .ticket-info{color:#12202d}
.tickets .ticket-description{color:#12202d}
.tickets .ticket-description .ticket-form .note-editable{color:#12202d}
.invoice .invoice-detail-item .invoice-detail-value{color:#12202d}
.wizard-steps .wizard-step.wizard-step-active{box-shadow:0 2px 6px #b9d3ea}
/* d'apres assets/admin/css/extra.min.css (5 regles) */
:root{--primary:#085292;--primary-saturated:#0b6bb8;--secondary:#06304f;--primary-border:#085292;--secondary-border:#06304f}
div:where(.swal2-container) div:where(.swal2-loader){border-color:#085292 transparent #085292 transparent}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{background:#085292}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#085292}
div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{background:#085292}
/* d'apres assets/admin/css/style.css (18 regles) */
.card .card-header h4 + .card-header-action .btn.active,
.card .card-header h4 + .card-header-form .btn.active{box-shadow:0 2px 6px #b9d3ea}
.card.card-statistic-1 .card-body, .card.card-statistic-2 .card-body{color:#12202d}
.table-links{color:#12202d}
.nav-pills .nav-item .nav-link.active{box-shadow:0 2px 6px #b9d3ea}
.media .media-title{color:#12202d}
.media .media-description{color:#12202d}
.media .media-progressbar .progress-text{color:#12202d}
.media .media-items .media-item .media-label{color:#12202d}
.accordion .accordion-header[aria-expanded="true"]{box-shadow:0 2px 6px #b9d3ea}
.navbar .form-inline .search-result .search-item a{color:#12202d}
.dropdown-list .dropdown-item .dropdown-item-desc{color:#12202d}
:root{--secondary:#12202d}
.text-job{color:#12202d}
.text-title{color:#12202d}
.shadow-primary{box-shadow:0 2px 6px #b9d3ea}
.section .section-header h1{color:#12202d}
.page-error .page-description{color:#12202d}
body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a{box-shadow:0 4px 8px #b9d3ea}

/* === 2. regles Art Construction (style.css) === */
/* Academy (Rocket LMS) - regles Art Construction ecrites a la main (apres les couleurs remplacees) */
:root { --art-bleu: #085292; --art-bleu-survol: #06467e; --art-pied: #111827; --art-pied-texte: #9ca3af; --art-pied-ligne: #374151; --art-menu: #4b5563; }

/* Logo : proportions d'origine, hauteur fixe, largeur automatique */
.theme-header-1__logo img, .theme-header-2__logo img, [class*="__logo"] img, .navbar-brand img {
  width: auto !important; max-width: none !important; height: 44px !important; object-fit: contain !important;
}
@media (max-width: 575px) { .theme-header-1__logo img, [class*="__logo"] img, .navbar-brand img { height: 36px !important; } }

/* === Fonds et menu comme le Portail === */
/* bande du haut (coordonnees) : degrade fonce du Portail */
[class*="theme-header-"] [class*="__top-navbar"] { background: linear-gradient(135deg, #06304F 0%, #085292 100%) !important; }
/* barre de menu : blanche, liens gris moyens, survol bleu du logo */
#themeHeaderSticky .bg-white { box-shadow: 0 1px 2px rgba(16,24,40,.06); border: 1px solid #E5E7EB; }
#themeHeaderSticky a.text-dark { color: #4B5563 !important; font-weight: 500; }
#themeHeaderSticky a.text-dark:hover { color: #085292 !important; }
/* boutons de l'ecosysteme a cote du bouton principal */
#themeHeaderSticky .col-lg-3 { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
/* grand bandeau d'accueil : degrade bleu du Portail, titres blancs */
.two-columns-hero-section { background: linear-gradient(135deg, #06304F 0%, #085292 55%, #0B6BB8 100%) !important; }
.two-columns-hero-section h1, .two-columns-hero-section h2, .two-columns-hero-section h3, .two-columns-hero-section .text-dark { color: #fff !important; }
.two-columns-hero-section h1 span, .two-columns-hero-section .text-primary { color: #8BCBFF !important; }
.two-columns-hero-section p, .two-columns-hero-section .text-gray-500 { color: #DCE8F3 !important; }
/* sur le degrade : bouton principal blanc, badge "New" et bouton secondaire lisibles */
.two-columns-hero-section .btn-primary { background: #fff !important; border-color: #fff !important; color: #085292 !important; }
.two-columns-hero-section .btn-primary * { color: #085292 !important; }
.two-columns-hero-section .btn-primary:hover { background: #EEF6FC !important; }
.two-columns-hero-section a:not(.btn), .two-columns-hero-section a:not(.btn) * { color: #fff !important; }
.two-columns-hero-section [class*="rounded-pill"], .two-columns-hero-section [class*="badge"] { border-color: rgba(255,255,255,.45) !important; }
/* un seul selecteur de langue : celui au format du Portail (dans .art-eco) remplace celui de Rocket */
.js-language-select { display: none !important; }
/* telephone : bouton en grille a gauche du bouton de menu */
.theme-header-mobile__sticky .art-eco { margin-left: auto; margin-right: 8px; }

/* sections claires */
.bg-gray-100, .bg-gray-200, [class*="section-bg"] { background-color: #F7FAFD !important; }

/* Bas de page : comme l'ERP (fond #111827 uni, titres blancs, liens gris clair) */
[class*="theme-footer-"][class*="__section-bg-wrapper"] { background: #111827 !important; background-image: none !important; }
[class*="theme-footer-"] [class*="__section"] h1, [class*="theme-footer-"] [class*="__section"] h2, [class*="theme-footer-"] [class*="__section"] h3,
[class*="theme-footer-"] [class*="__section"] h4, [class*="theme-footer-"] [class*="__section"] h5, [class*="theme-footer-"] [class*="__section"] h6,
[class*="theme-footer-"] [class*="__section"] .font-weight-bold { color: #fff !important; }
[class*="theme-footer-"] [class*="__section"] a, [class*="theme-footer-"] [class*="__section"] p,
[class*="theme-footer-"] [class*="__section"] span, [class*="theme-footer-"] [class*="__section"] li { color: var(--art-pied-texte); }
[class*="theme-footer-"] [class*="__section"] a:hover { color: #fff !important; }
