/*--------------------------------------------------------------
    General
--------------------------------------------------------------*/

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

/*--------------------------------------------------------------
    Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

#main h3 {
    min-height: 2rem;
}

#main .float-right {
    float: right !important;
}

/*--------------------------------------------------------------
    Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    margin-left: 10px;
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
    Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
    Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-authenticated-user {
    color: #e2e8f0;
    font-size: 0.83rem;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.45);
    border-radius: 10px;
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.sidebar-nav .nav-item .active {
    color: #f8fafc !important;
    background: rgba(34, 211, 238, 0.16);
    border-color: rgba(34, 211, 238, 0.35);
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    width: 16px;
    margin-right: 10px;
    color: #38bdf8;
}

.sidebar-nav .nav-link.collapsed {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-nav .nav-link.collapsed i {
    color: #7dd3fc;
}

.sidebar-nav .nav-link:hover {
    color: #f8fafc;
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.35);
}

.sidebar-nav .nav-link:hover i {
    color: #67e8f9;
}

.sidebar-nav .nav-link a.active {
    color: #f17941 !important;
}

.sidebar-nav .nav-link .bi-chevron-down,
.sidebar-nav .nav-link .fa-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down,
.sidebar-nav .nav-link:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-link .collapse .show a.active {
    background-color: #be1b1b !important;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #67e8f9;
}

.sidebar-nav .nav-content a.active i {
    background-color: #22d3ee;
}

.sidebar-nav .content-type-active {
   color: #fff;
}


/*--------------------------------------------------------------
    Content
--------------------------------------------------------------*/

/* Non-transparent table rows when sortable, as it's confusing otherwise when they overlap. */
tbody[data-cms-sortable] > tr {
    background-color: #fff;
}

.sort-handle {
    cursor: move;
    cursor: -webkit-grabbing;
    font-size: smaller;
}

table.table-content td,th {
    vertical-align: middle;
}

td.action-buttons i {
    font-size: 16pt;
    margin-right: 5px;
}

td.content-thumbnail {
    width: 55px;
    text-align: center;
}

td.content-thumbnail img {
    max-width: 50px;
    max-height: 50px;
    border: 1px solid #aab7cf;
}

/*--------------------------------------------------------------
    Footer
--------------------------------------------------------------*/

.footer {
    padding: 16px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #d9e2ef;
    background: #f8fafc;
}

.footer .footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footer .copyright {
    text-align: left;
    color: #0f172a;
    font-weight: 500;
}

.footer .credits {
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}


/*--------------------------------------------------------------
    Messages and Alerts
--------------------------------------------------------------*/

.message {
	position: absolute;
	top: 20px;
	z-index: 2023;
	width: 500px;
	left: 0;
	right: 0;
	border-radius: 10px;
	box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.75);
	color: white;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 5px;
	padding-top: 5px;
	text-align: center;
}

.message.success {
	background-color: #54babb;
}

.message.error {
	background-color: #e60050;
}

.message.warning {
	background-color: #f7a000;
}

.message.info {
	background-color: #85c9e8;
}

.cmsAlert {
	position: fixed;
	top: 20px;
	z-index: 2023;
	width: 500px;
	left: 0;
	right: 0;
	border-radius: 10px;
	box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.75);
	color: white;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 5px;
	padding-top: 5px;
	text-align: center;
}

.cmsAlert-success {
	background-color: #54babb;
}

.cmsAlert-error {
	background-color: #e60050;
}

.cmsAlert-warning {
	background-color: #f7a000;
}

.cmsAlert-info {
	background-color: #85c9e8;
}

.cmsAlert-dismiss {
	font-size: 12pt;
	padding-top: 18px;
}

.cmsAlert a {
    color: #fff;
    text-decoration: underline;
}

#messages {
    position: absolute;
    top: 20px;
    left: 50%; /* Dit zorgt ervoor dat het wordt gecentreerd */
    transform: translateX(-50%); /* Dit zorgt ervoor dat het echt gecentreerd is */
    width: 50%; /* Dit bepaalt de breedte van de container, bijvoorbeeld 50% van de breedte van het scherm */
    max-width: 600px; /* Dit voorkomt dat de container te breed wordt */
    z-index: 2023;
    border-radius: 10px;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px 0;
    text-align: center;
  }

.alert {
    padding: 10px;
    z-index: 20;
    border-radius: 5px;
    text-align: center;
  }
  
  .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
  }
  
  .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
  }
  
  .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  #messages .alert p {
    margin: 0;
    padding: 0;
  }

/*--------------------------------------------------------------
    Content Admin
--------------------------------------------------------------*/

/* Preview image in admin UI, edit content, for when a Content Item has an image property */

.apl-cms-image-preview {
    max-width: 250px;
    max-height: 150px;
    border: 1px solid #aab7cf;
    border-radius: 5px;
}

/* ********* */
/* Dashboard */
/* ********* */

.apl-cms-dashboard .card-header {
    text-align: center;
}

.apl-cms-dashboard .card-header h5 {
    font-size: medium;
    font-weight: bold;
    color: #012970;
    margin-bottom: 0px;
}

.apl-cms-dashboard .card-block {
	font-size: small;
	color: #666;
    padding-left: 5px;
    padding-right: 5px;
}

/* ******** */
/* CKEditor */
/* ******** */

/* CKEditor can clash with Bootstrap when it comes to the z-index of elements vs modals. We'll set the z-index for the link balloon pop-up ourselves: 
https://stackoverflow.com/a/63779729 
https://stackoverflow.com/a/58446828  <- We applied this one.
*/

body {
    --ck-z-default: 100;
    --ck-z-modal: calc( var(--ck-z-default) + 999 );
}

.category-buttons {
    display: flex;
    justify-content: flex-end; /* Rechts uitlijnen */
    gap: 10px; /* Ruimte tussen de knoppen */
    padding: 10px 0;
}

.category-buttons .btn {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px; /* Ronde hoeken */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
    transition: all 0.3s ease-in-out;
}

.category-buttons .btn:hover {
    transform: translateY(-2px); /* Licht omhoog bij hover */
}

.btn-category {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-category:hover {
    background-color: #0056b3;
}

.btn-variant {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn-variant:hover {
    background-color: #545b62;
}

.btn-variant-option {
    background-color: #17a2b8;
    color: white;
    border: none;
}

.btn-variant-option:hover {
    background-color: #117a8b;
}

.required label::after {
    content: " *";
    color: red;
    font-weight: bold;
  }
  
  .help-text {
    font-size: 0.85rem;
    font-style: italic;
    color: #6c757d; /* Subtiele grijze kleur */
  }

  .loading-spinner {
    border: 4px solid #f3f3f3; /* Lichte kleur achtergrond */
    border-top: 4px solid #3498db; /* Blauwe kleur voor de draaiende lijn */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite; /* De animatie voor de draaiende beweging */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-wrapper {
    display: inline-block;
    position: relative;
}

.image-wrapper img {
    display: block; /* Zorgt dat de afbeelding zichzelf bepaalt en geen extra witruimte krijgt */
}

.delete-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 18px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.delete-image-btn:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
    Aplicity One Admin Refresh
--------------------------------------------------------------*/

body {
    background:
        radial-gradient(circle at top right, rgba(30, 166, 114, 0.06), transparent 24%),
        linear-gradient(180deg, #f7fbfc 0%, #eef5f7 100%);
    color: #173240;
}

#main {
    margin-top: 82px;
    padding: 24px 34px 32px;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

.header {
    height: 82px;
    padding: 0 24px;
    background: rgba(249, 252, 253, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 227, 233, 0.9);
    box-shadow: 0 14px 34px rgba(7, 30, 42, 0.08);
}

.header .toggle-sidebar-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
    padding: 0;
    color: #0b4f6c;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7f9 100%);
    border: 1px solid #d8e5eb;
    box-shadow: 0 10px 24px rgba(9, 35, 45, 0.06);
}

.header .logo {
    gap: 0.75rem;
    text-decoration: none;
}

.header .logo span {
    margin-left: 0;
}

.header .admin-logo-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef5f7 100%);
    box-shadow: 0 14px 26px rgba(9, 35, 45, 0.08);
    position: relative;
    overflow: hidden;
}

.header .admin-logo-mark::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(206, 224, 230, 0.95);
    border-radius: calc(1rem - 1px);
}

.header .admin-logo-mark span {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    position: relative;
    z-index: 1;
}

.header .admin-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.header .admin-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
}

.header .admin-logo-copy strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #06283d;
    font-family: "Nunito", sans-serif;
    letter-spacing: -0.03em;
}

.header .admin-logo-copy small {
    font-size: 0.7rem;
    color: #698391;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.header .header-tenant-group {
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #dce8ed;
}

.header .header-tenant-label,
.header .header-tenant-name {
    color: #5b7380 !important;
}

.header .header-tenant-form .form-select {
    min-width: 180px;
    border-radius: 0.85rem;
    border-color: #d5e4ea;
    background-color: #fdfefe;
    color: #173240;
}

.header .header-pill {
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.header .header-pill-info {
    background: #e7f3f7;
    color: #0b4f6c;
    border-color: #cde2e9;
}

.header .header-pill-success {
    background: #e9f8f1;
    color: #1a7b58;
    border-color: #cae9db;
}

.header .header-pill-warning {
    background: #fff4de;
    color: #9b6700;
    border-color: #efd6a1;
}

.header-nav .btn {
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    box-shadow: none;
}

.header-nav .btn-outline-secondary {
    border-color: #d4e3e9;
    color: #355261;
    background: rgba(255, 255, 255, 0.74);
}

.header-nav .btn-outline-primary {
    border-color: #cfe3ea;
    color: #0b4f6c;
    background: rgba(232, 244, 247, 0.85);
}

.sidebar {
    top: 82px;
    width: 320px;
    padding: 22px 18px;
    scrollbar-color: #b4c6cf transparent;
    box-shadow: 24px 0 34px rgba(7, 30, 42, 0.05);
    background:
        radial-gradient(circle at top left, rgba(30, 166, 114, 0.08), transparent 24%),
        linear-gradient(180deg, #fbfdfe 0%, #f1f7f9 100%);
    border-right: 1px solid rgba(214, 227, 233, 0.9);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -320px;
    }
}

@media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 320px;
    }

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -320px;
    }
}

.sidebar-authenticated-user {
    color: #355261;
    margin-bottom: 18px;
    padding: 14px 14px;
    border: 1px solid #d9e7ec;
    background: linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(9, 35, 45, 0.05);
}

.sidebar-nav .nav-heading {
    color: #7b94a1;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 16px 0 8px 15px;
}

.sidebar-nav .nav-link {
    color: #355261;
    background: rgba(255, 255, 255, 0.76);
    padding: 12px 15px;
    border-radius: 14px;
    border: 1px solid #e1ebef;
    box-shadow: 0 8px 18px rgba(9, 35, 45, 0.03);
}

.sidebar-nav .nav-item .active {
    color: #06283d !important;
    background: linear-gradient(180deg, #eef7f9 0%, #e4f4ee 100%);
    border-color: #cfe2e9;
}

.sidebar-nav .nav-link i {
    color: #0b4f6c;
}

.sidebar-nav .nav-link.collapsed {
    color: #54707e;
    background: rgba(255, 255, 255, 0.64);
}

.sidebar-nav .nav-link.collapsed i {
    color: #5e8190;
}

.sidebar-nav .nav-link:hover {
    color: #06283d;
    background: linear-gradient(180deg, #f5fafb 0%, #edf7f1 100%);
    border-color: #d2e3e9;
    transform: translateY(-1px);
}

.sidebar-nav .nav-link:hover i {
    color: #1ea672;
}

.sidebar-nav .nav-content a {
    color: #5c7482;
    padding: 10px 0 10px 42px;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #0b4f6c;
}

.sidebar-nav .nav-content a.active i {
    background-color: #1ea672;
}

.sidebar-nav .content-type-active {
    color: #0b4f6c;
}

.card {
    border-radius: 18px !important;
    border: 1px solid #dce8ed !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: 0 18px 40px rgba(8, 29, 39, 0.06) !important;
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #e4eef2 !important;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.form-label {
    color: #355261;
    font-weight: 700;
}

.form-control,
.form-select {
    border-color: #d6e4ea;
    border-radius: 14px;
    min-height: 46px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #8fb9c7;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(90deg, #0b4f6c 0%, #1ea672 100%);
    border: 0;
    box-shadow: 0 14px 24px rgba(14, 94, 86, 0.16);
}

.btn-outline-primary {
    color: #0b4f6c;
    border-color: #cfe2e9;
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-secondary {
    color: #4f6774;
    border-color: #d6e4ea;
    background: rgba(255, 255, 255, 0.72);
}

.dashboard-shell .dashboard-hero {
    padding: 1.5rem 1.6rem;
    border-radius: 22px;
    border: 1px solid #dce8ed;
    background:
        radial-gradient(circle at top right, rgba(30, 166, 114, 0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    box-shadow: 0 22px 48px rgba(8, 29, 39, 0.07);
}

.dashboard-shell .dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0b4f6c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.dashboard-shell .dashboard-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b4f6c 0%, #1ea672 100%);
}

.dashboard-shell .dashboard-hero h3 {
    font-size: 2rem;
    color: #06283d;
}

.dashboard-shell .dashboard-filterbar {
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    border: 1px solid #dce8ed;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 36px rgba(8, 29, 39, 0.05);
    margin-left: 0;
    margin-right: 0;
}

.dashboard-shell .dashboard-stat-card .card-body {
    padding: 1.2rem 1.15rem;
}

.dashboard-shell .dashboard-stat-card .display-6 {
    color: #06283d;
    letter-spacing: -0.04em;
}

.dashboard-shell .dashboard-stat-card-wide .display-6,
.dashboard-shell .dashboard-stat-card-wide .h4 {
    color: #0b4f6c;
}

.dashboard-shell .dashboard-shop-card {
    border-radius: 16px !important;
    border-color: #dde9ee !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: 0 12px 28px rgba(8, 29, 39, 0.04);
}

.dashboard-mode-toggle .btn {
    min-width: 86px;
}

.admin-page-hero {
    padding: 1.45rem 1.55rem;
    border-radius: 22px;
    border: 1px solid #dce8ed;
    background:
        radial-gradient(circle at top right, rgba(30, 166, 114, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    box-shadow: 0 22px 48px rgba(8, 29, 39, 0.07);
    margin-bottom: 1.35rem;
}

.admin-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0b4f6c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.admin-page-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b4f6c 0%, #1ea672 100%);
}

.admin-page-hero h1,
.admin-page-hero h2,
.admin-page-hero h3 {
    color: #06283d;
    letter-spacing: -0.03em;
}

.admin-page-hero p {
    color: #5b7380;
    margin-bottom: 0;
}

.admin-surface {
    border: 1px solid #dce8ed;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: 0 18px 40px rgba(8, 29, 39, 0.06);
}

.admin-surface-soft {
    border: 1px solid #dce8ed;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(8, 29, 39, 0.04);
}

.admin-section-title {
    color: #06283d;
    font-weight: 800;
    margin-bottom: 0;
}

.admin-section-divider {
    margin-top: 0.9rem;
    margin-bottom: 1.45rem;
    border-color: #e3edf1;
}

.admin-kpi-card {
    border: 1px solid #dde9ee;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    padding: 0.95rem 1rem;
    box-shadow: 0 12px 28px rgba(8, 29, 39, 0.04);
}

.admin-kpi-card .label {
    color: #6b8390;
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

.admin-kpi-card .value {
    color: #06283d;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-tabs.nav-tabs {
    border-bottom: 1px solid #dfeaf0;
    gap: 0.35rem;
}

.admin-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 14px 14px 0 0;
    color: #58717f;
    font-weight: 700;
    padding: 0.72rem 1rem;
}

.admin-tabs .nav-link.active {
    background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    color: #06283d;
    border-color: #dce8ed;
    border-bottom-color: #ffffff;
}

.footer {
    padding: 18px 0;
    border-top: 1px solid #dce8ed;
    background: rgba(248, 252, 253, 0.88);
}

.footer .copyright {
    color: #173240;
}

.footer .credits {
    color: #64808d;
}

#messages {
    position: fixed;
    top: 100px;
}

@media (max-width: 768px) {
    .header {
        padding: 0 16px;
    }

    .header .admin-logo-copy small,
    .header .header-tenant-group {
        display: none !important;
    }

    .header .admin-logo-copy strong {
        font-size: 1.1rem;
    }

    .header .admin-logo-mark {
        width: 42px;
        height: 42px;
    }

    .header .admin-logo-mark span {
        font-size: 0.74rem;
    }

    .header .admin-logo-image {
        width: 34px;
        height: 34px;
    }
}
