/* Identité DGIPK commune à GRH et FiscKin. Les documents imprimés conservent leur mise en page. */
@media screen {
body.fisc-identity {
 --grh-navy:#232b50;--grh-blue:#315fc4;--grh-gold:#f4be31;--grh-text:#24324a;--grh-muted:#728097;--grh-background:#f3f5fa;--grh-border:#e2e8f2;
 --vz-primary:#315fc4;--vz-primary-rgb:49,95,196;--vz-link-color:#315fc4;
 --kin-blue-dark:#1e427d;--kin-blue:#315fc4;--kin-text:#24324a;--kin-text-soft:#728097;--kin-radius:16px;--kin-shadow:0 5px 24px rgba(35,43,80,.055);
 --blue:#315fc4;--blue-dark:#232b50;--blue-deep:#1b2345;--gold:#f4be31;--text:#24324a;--muted:#728097;--border:#e2e8f2;--background:#f3f5fa;
 background:var(--grh-background);color:var(--grh-text);font-family:'Segoe UI',Arial,sans-serif;line-height:1.55;
}
body.fisc-identity :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button,.page-container) {font-family:'Segoe UI',Arial,sans-serif;}
body.fisc-identity #page-topbar {background:#232b50;border-bottom:3px solid #f4be31;box-shadow:0 5px 24px #232b5010;}
body.fisc-identity #page-topbar :is(.btn-topbar,.header-item,.user-name-text,.user-name-sub-text){color:#fff;}
body.fisc-identity #page-topbar .topbar-user {background:#ffffff0d;}
body.fisc-identity #page-topbar .hamburger-icon span{background:#fff;}
body.fisc-identity #page-topbar .logo-dark{display:none!important;}
body.fisc-identity #page-topbar .logo-light{display:inline-block!important;}
body.fisc-identity #page-topbar .logo img{max-width:180px;object-fit:contain;}
body.fisc-identity .app-menu{background:#fff;border-color:#e2e8f2;}
body.fisc-identity .app-menu .navbar-nav .nav-link{color:#64718b;border-radius:9px;font-weight:550;}
body.fisc-identity .app-menu .navbar-nav .nav-link:is(.active,:hover){background:#edf2fd!important;color:#315fc4!important;border-color:#315fc4;}
body.fisc-identity .app-menu .navbar-nav .nav-link.active i{color:#315fc4;}
body.fisc-identity :is(.card,.kin-card,.declaration-card,.login-card){border:1px solid #e2e8f2;border-radius:16px;box-shadow:0 5px 24px #232b500e;background:#fff;}
body.fisc-identity .card-header{background:#fff;border-bottom:1px solid #edf0f7;}
body.fisc-identity .tax-declaration-page .card-header{background:#232b50;border-bottom:3px solid #f4be31;}
body.fisc-identity .tax-declaration-page .section-propriete{background:#232b50;}
body.fisc-identity :is(.page-title-box h4,.section-title,.login-card-heading h1){color:#232b50;font-weight:750;}
body.fisc-identity :is(.btn,.kin-btn,.login-submit){border-radius:9px;font-weight:600;}
body.fisc-identity :is(.btn-primary,.login-submit){background:#315fc4;border-color:#315fc4;color:#fff;}
body.fisc-identity :is(.btn-primary,.login-submit):hover{background:#1e427d;border-color:#1e427d;}
body.fisc-identity :is(.form-control,.form-select){border:1px solid #e2e8f2;border-radius:9px;min-height:42px;font-size:14px;}
body.fisc-identity :is(.form-control,.form-select):focus{border-color:#8aa6e8;box-shadow:0 0 0 3px #315fc415;}
body.fisc-identity .form-label{color:#45536c;font-weight:650;font-size:12px;}
body.fisc-identity :is(.table-responsive,.table,.table tbody,.table td){background-color:#fff;}
body.fisc-identity .table thead th{background:#f8f9fd;color:#64718b;border-color:#e2e8f2;}
body.fisc-identity .table tbody tr:hover td{background:#f8faff;}
body.fisc-identity :is(.alert,.modal-content,.session-idle-modal){border-radius:16px;}
body.fisc-identity .login-shell{background:linear-gradient(125deg,#1b2345ee,#273b70e8),url('../images/auth-one-bg.jpg') center/cover fixed;padding-top:90px;}
body.fisc-identity .login-card{border-top:4px solid #f4be31;border-radius:20px;box-shadow:0 25px 75px #10182c55;}
body.fisc-identity .login-logo{max-width:310px;max-height:108px;object-fit:contain;}
body.fisc-identity .login-eyebrow{color:#315fc4;}
body.fisc-identity .auth-flow{--primary:#315fc4;--primary-dark:#232b50;}
body.fisc-identity .auth-flow:is(.auth-flow-choose,.auth-flow-physique,.auth-flow-gpp,.auth-flow-morale,.auth-flow-migration){background:linear-gradient(125deg,#1b2345ee,#273b70e8),url('../images/auth-one-bg.jpg') center/cover fixed;}
body.fisc-identity .auth-flow .bg-overlay{background:linear-gradient(125deg,#1b2345ee,#273b70e8);opacity:1;}
body.fisc-identity .auth-flow :is(.card,.auth-card,.form-card){border-radius:20px;border-top:4px solid #f4be31;}
.fisc-pagebar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 0 20px;}
.fisc-pagebar span{font-size:12px;color:#728097;}
.fisc-back{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border:1px solid #e2e8f2;border-radius:10px;background:#fff;color:#1e427d;font-size:13px;font-weight:650;}
.fisc-back:hover{background:#eaf0fd;border-color:#adbfeb;}.fisc-back:focus-visible{outline:3px solid #9bb6ef;outline-offset:3px;}
.fisc-guest-pagebar{position:absolute;z-index:10;top:18px;left:24px;right:24px;}.fisc-guest-pagebar span{color:#fff;}.fisc-guest-pagebar .fisc-back{background:#ffffff15;color:#fff;border-color:#ffffff50;}
body.fisc-identity .site-header{background:#232b50;border-bottom:3px solid #f4be31;}
body.fisc-identity .site-header :is(.brand-text,.nav-link){color:#fff;}
body.fisc-identity .site-header .nav-link:hover{color:#f4be31;}
body.fisc-identity .topbar{background:#1b2345;}
@media(max-width:767px){.fisc-guest-pagebar{left:14px;right:14px;}.fisc-guest-pagebar span{display:none;}body.fisc-identity .login-logo{max-width:255px;}}
html[data-bs-theme=dark] body.fisc-identity{--grh-background:#182038;--grh-text:#e2e8f2;background:#182038;color:#e2e8f2;}
html[data-bs-theme=dark] body.fisc-identity :is(.app-menu,.card,.card-header,.table-responsive,.table,.table tbody,.table td){background-color:#232b50;color:#e2e8f2;}
html[data-bs-theme=dark] body.fisc-identity :is(.form-label,.page-title-box h4,.section-title){color:#e2e8f2;}
}
@media print{.fisc-pagebar{display:none!important;}}

@media screen {
body.fisc-identity :is(.decl-page,.decl-heading,.decl-card,.decl-action-btn){font-family:'Segoe UI',Arial,sans-serif;}
body.fisc-identity .decl-card{background:#fff;border:1px solid #e2e8f2;border-radius:16px;box-shadow:0 5px 24px #232b500e;}
body.fisc-identity .decl-heading{color:#232b50;}
body.fisc-identity .decl-table{background:#fff;}
body.fisc-identity .decl-table thead th{background:#f8f9fd;color:#728097;}
body.fisc-identity .site-header .brand img{max-width:180px;object-fit:contain;}
body.fisc-identity .site-header .brand-text small{color:#d2d8ed;}
body.fisc-identity .menu-toggle span{background:#fff;}
@media(max-width:900px){body.fisc-identity .site-header .main-nav{background:#232b50;}}
}

/* Navigation commune avec GRH, horizontale ou latérale selon l’écran. */
@media screen {
body.fisc-identity .app-menu {
 --vz-vertical-menu-bg:#fff;--vz-vertical-menu-item-color:#64718b;--vz-vertical-menu-item-hover-color:#315fc4;--vz-vertical-menu-item-active-color:#315fc4;
 --vz-vertical-menu-sub-item-color:#728097;--vz-vertical-menu-sub-item-hover-color:#315fc4;--vz-vertical-menu-sub-item-active-color:#315fc4;
 background:#fff;box-shadow:0 5px 24px #232b500e;border-top:3px solid #f4be31;
}
body.fisc-identity .app-menu .navbar-nav {gap:6px;padding:9px 12px;}
body.fisc-identity .app-menu .navbar-nav .nav-link {
 display:flex;align-items:center;gap:8px;padding:10px 16px;border:0!important;border-radius:9px;
 color:#64718b!important;font-size:13px;font-weight:550!important;font-family:'Segoe UI',Arial,sans-serif;
 text-decoration:none;transition:background .15s,color .15s;
}
body.fisc-identity .app-menu .navbar-nav .nav-link i {font-size:18px;color:inherit;min-width:20px;}
body.fisc-identity .app-menu .navbar-nav .nav-link:hover {background:#edf2fd!important;color:#315fc4!important;}
body.fisc-identity .app-menu .navbar-nav .nav-link.active {background:#edf2fd!important;color:#315fc4!important;font-weight:600!important;box-shadow:inset 0 -2px #315fc4;}
body.fisc-identity .app-menu .navbar-nav .nav-link:focus-visible {outline:3px solid #9bb6ef;outline-offset:2px;}
body.fisc-identity .app-menu .navbar-nav .menu-title {color:#728097;font-size:10px;letter-spacing:1.5px;padding:14px 16px 8px;}
body.fisc-identity .app-menu .navbar-nav .nav-sm {padding:4px 8px 4px 22px;}
body.fisc-identity .app-menu .navbar-nav .nav-sm .nav-link {padding:9px 12px;font-size:12px;}
body.fisc-identity .app-menu .navbar-brand-box {background:#232b50;border-bottom:3px solid #f4be31;}
body.fisc-identity .app-menu .navbar-brand-box .logo-dark {display:none!important;}
body.fisc-identity .app-menu .navbar-brand-box .logo-light {display:inline-block!important;}
body.fisc-identity .app-menu .navbar-brand-box .logo img {max-width:180px;object-fit:contain;}
body.fisc-identity .app-menu .sidebar-background {display:none;}
html[data-bs-theme=dark] body.fisc-identity .app-menu {background:#232b50;--vz-vertical-menu-bg:#232b50;}
html[data-bs-theme=dark] body.fisc-identity .app-menu .navbar-nav .nav-link {color:#d2d8ed!important;}
html[data-bs-theme=dark] body.fisc-identity .app-menu .navbar-nav .nav-link:is(.active,:hover) {color:#315fc4!important;}
}
