/**
 * MijnVLB2 Application Stylesheet
 * Aligned with 2021-full Dutch Utility Hub Design System
 * Optimized for Mobile Webview and Desktop
 */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* ==========================================================================
   Typography & Base Element Styling
   ========================================================================== */
html, body, div, a, input, select, textarea, button, p, span, td, th {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--color-bg, #f8fafb);
    color: var(--color-text, #1e293b);
    -webkit-tap-highlight-color: transparent;
}

h1 {
    font-weight: 800;
    font-size: clamp(1.6rem, 2.8vw + 0.6rem, 2.3rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-align: center;
    color: var(--color-mint-dark, #072a29);
    margin-bottom: 0.75rem;
}

h2 {
    font-weight: 700;
    font-size: clamp(1.35rem, 2vw + 0.4rem, 1.85rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-mint-dark, #072a29);
    margin-bottom: 0.75rem;
}

h3 {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--color-mint-dark, #072a29);
    margin-bottom: 0.5rem;
}

h4 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.45;
    text-align: center;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 1rem;
}

a {
    color: var(--color-mint-dark, #072a29);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: var(--color-green, #059669);
    text-decoration: none;
}

/* ==========================================================================
   Form Controls & Inputs
   ========================================================================== */
select,
textarea,
input[type="number"],
input[type="email"], 
input[type="text"], 
input[type="date"], 
input[type="password"] {
    background: #ffffff;
    border: 1.5px solid var(--color-border, #cbd5e1);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15.5px;
    color: var(--color-text, #1e293b);
    padding: 12px 16px;
    margin: 0 0 14px 0;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

select:focus,
textarea:focus,
input[type="number"]:focus,
input[type="email"]:focus, 
input[type="text"]:focus, 
input[type="date"]:focus, 
input[type="password"]:focus {
    outline: none;
    border-color: var(--color-green, #059669);
    box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.15);
}

select {
    padding: 11px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 10px;
    appearance: none;
    -webkit-appearance: none;
}

input[type="submit"] {
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, var(--color-green, #059669) 0%, var(--color-mint-light, #156260) 100%);
    border-radius: 50px;
    border: 0;
    text-align: center;
    color: #ffffff !important;
    padding: 12px 36px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    min-height: 46px;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.38);
    color: #ffffff !important;
    outline: none;
}

input[type="submit"]:active {
    transform: translateY(0);
}

.LV_validation_message {
    margin-left: 6px;
    color: #ef4444;
    font-weight: 600;
    font-size: 13px;
}

/* ==========================================================================
   Buttons (2021-full style)
   ========================================================================== */
.btn-groen,
.btn-green,
.btn-light-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    color: #ffffff !important;
    background: var(--color-green, #059669);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.btn-groen:hover,
.btn-green:hover,
.btn-light-green:hover {
    background: #047857;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    color: #ffffff !important;
    background: var(--color-mint, #0d4745) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.btn-blue:hover {
    background: var(--color-mint-dark, #072a29) !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(13, 71, 69, 0.35);
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    color: #ffffff !important;
    background: var(--color-orange, #ea580c) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.btn-orange:hover {
    background: var(--color-orange-dark, #c2410c) !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    color: #ffffff !important;
    background: #ef4444 !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
}

.btn-red:hover {
    background: #dc2626 !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-compact {
    padding: 6px 16px;
    font-size: 13.5px;
    min-height: 34px;
}

.btn-nav-back,
.mijnvlb-nav-back,
a[href="#nav-back"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 30px;
    background: #f1f5f9;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 6px 14px;
    color: var(--color-mint, #0d4745) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.2s ease;
    float: right;
    position: relative;
    top: -42px;
}

.btn-nav-back:hover,
.mijnvlb-nav-back:hover,
a[href="#nav-back"]:hover {
    background: #e2e8f0;
    color: var(--color-mint-dark, #072a29) !important;
    transform: translateX(-2px);
}

/* ==========================================================================
   Modern Interactive Card Widgets (.box)
   ========================================================================== */
.box {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 16px;
    width: 100%;
    min-height: 72px;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.04);
    display: flex;
    align-items: center;
    padding: 12px 18px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-green, #059669);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.box:hover,
.box:focus {
    border-color: var(--color-mint-border, #c4e3e1);
    box-shadow: 0 8px 24px -4px rgba(13, 71, 69, 0.10);
    transform: translateY(-2px);
}

.box:hover::before {
    opacity: 1;
}

.box:active {
    transform: translateY(0);
}

.box-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #edf7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px 0 0;
    flex-shrink: 0;
}

.box-icon img {
    max-width: 24px;
    max-height: 24px;
}

.box-text {
    flex: 1;
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.4;
    color: var(--color-mint-dark, #072a29);
    margin: 0;
}

.box-arrow {
    margin: 0 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.box-arrow img {
    width: 14px;
    transition: transform 0.2s ease;
}

.box:hover .box-arrow {
    background: #edf7f6;
}

.box:hover .box-arrow img {
    transform: translateX(3px);
}

/* Big Box */
.big-box {
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    width: 100%;
    min-height: 196px;
    margin-top: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.06);
}

.big-box-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    background: var(--color-orange, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    float: left;
    margin-right: 18px;
}

.big-box-text {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-orange, #ea580c);
    margin-top: 14px;
}

/* ==========================================================================
   Info-box & Product Widgets
   ========================================================================== */
.info-box {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.04);
    clear: both;
}

/* Inbox Specific Message Styling */
.inbox-date-heading {
    clear: both !important;
    display: block !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    color: var(--color-mint-dark, #072a29) !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

.inbox-message-item {
    display: block !important;
    clear: both !important;
    background: #ffffff !important;
    border: 1px solid var(--color-border, #e2e8f0) !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
    box-shadow: 0 2px 6px rgba(13, 71, 69, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.inbox-message-item:hover {
    border-color: var(--color-green, #059669) !important;
    box-shadow: 0 6px 18px rgba(13, 71, 69, 0.08) !important;
    transform: translateY(-1.5px);
}

.inbox-message-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    text-decoration: none !important;
    width: 100% !important;
    color: var(--color-mint-dark, #072a29) !important;
}

.inbox-message-link:hover {
    text-decoration: none !important;
    color: var(--color-mint-dark, #072a29) !important;
}

.inbox-icon {
    color: var(--color-green, #059669) !important;
    flex-shrink: 0;
    font-size: 24px !important;
    line-height: 1 !important;
}

.inbox-message-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-mint-dark, #072a29) !important;
    line-height: 1.4;
}

.inbox-message-title.unread {
    font-weight: 700 !important;
    color: #072a29 !important;
}

.inbox-chevron {
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.inbox-message-item:hover .inbox-chevron {
    color: var(--color-green, #059669);
    transform: translateX(3px);
}

.product-widget {
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 16px;
    min-height: 100px;
    margin-bottom: 16px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.04);
    transition: all 0.2s ease;
}

.product-widget:hover {
    border-color: var(--color-mint-border, #c4e3e1);
    box-shadow: 0 6px 18px rgba(13, 71, 69, 0.08);
}

.product-name {
    text-align: center;
    font-weight: 800;
    font-size: 17px;
    color: var(--color-mint-dark, #072a29);
    margin-bottom: 14px;
}

.product-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.product-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    flex-shrink: 0;
}

.product-icon.verzekeringen-icon {
    background-image: url('/images/cdn/mijnvlb/icon-verzekeringen.png');
}

.product-icon.energie-icon {
    background-image: url('/images/cdn/mijnvlb/icon-energie.png');
}

.product-icon.itvb-icon {
    background-image: url('/images/cdn/mijnvlb/icon-itvb.png');
}

.product-arrow {
    width: 44px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.product-arrow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-arrow img {
    width: 16px;
    height: auto;
    transition: transform 0.2s ease;
}

.product-widget:hover .product-arrow img {
    transform: translateX(4px);
}

.product-cost {
    flex: 1;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-mint-dark, #072a29);
    text-align: center;
}

.product-cost.green {
    color: var(--color-green, #059669);
}

.product-cost.orange {
    color: var(--color-orange, #ea580c);
}

.product-cost.blue {
    color: var(--color-mint, #0d4745);
}

.product-btn {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product-btn > a {
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-blue {
    background-color: #597fbd;
    color: #ffffff !important;
}

.btn-blue:hover {
    background-color: #486ea9;
}

.btn-groen {
    background-color: #82e650;
    color: #072a29 !important;
}

.btn-groen:hover {
    background-color: #72d442;
}

.btn-orange {
    background-color: #f9a03a;
    color: #ffffff !important;
}

.btn-orange:hover {
    background-color: #e58d27;
}

.btn-green-border {
    border-radius: 20px;
    border: 2px solid #82e650;
    padding: 8px 16px;
    margin-top: 10px;
    color: #235455;
    font-weight: bold;
    display: inline-block;
    text-decoration: none !important;
}

.btn-green-border:hover {
    background-color: #82e650;
    color: #072a29;
}

.price-label {
    font-size: 22px;
}

.per-maand-label {
    font-size: 13px;
    color: var(--color-text-muted, #64748b);
    font-weight: 500;
}

/* ==========================================================================
   Navigation Pills / Tabs (Segmented Control)
   ========================================================================== */
.nav-group {
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    padding: 5px !important;
    border-radius: 40px !important;
    margin-bottom: 24px !important;
    gap: 4px !important;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-pill {
    flex: 1 !important;
    border: none !important;
    border-radius: 30px !important;
    height: auto !important;
    padding: 8px 16px !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.nav-pill a {
    color: var(--color-text-muted, #64748b) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
}

.nav-pill:hover a {
    color: var(--color-mint-dark, #072a29) !important;
}

.nav-pill.active {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.nav-pill.active a {
    color: var(--color-mint-dark, #072a29) !important;
    font-weight: 700 !important;
}

.nav-pill a img {
    max-height: 18px !important;
    max-width: 18px !important;
    object-fit: contain;
}

/* ==========================================================================
   Sidebar Navigation Card (Desktop) - 100% Bullet-Free
   ========================================================================== */
.sidebar {
    background: #ffffff !important;
    border: 1px solid var(--color-border, #e2e8f0) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 4px 16px rgba(13, 71, 69, 0.04) !important;
}

/* Hide sidebar navigation completely on mobile & tablet devices (< 992px) */
@media (max-width: 991.98px) {
    .sidebar,
    div.sidebar,
    .col-lg-4.sidebar {
        display: none !important;
    }
}

.sidebar ul,
.sidebar ul.navbar-nav,
.sidebar .navbar-nav,
ul.navbar-nav {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

.sidebar li,
.sidebar .nav-item {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.sidebar .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    color: var(--color-text, #1e293b) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.sidebar .nav-link:hover {
    background: #f1f5f9 !important;
    color: var(--color-mint, #0d4745) !important;
    transform: translateX(3px);
}

.sidebar .nav-item.active .nav-link,
.sidebar .nav-link.active {
    background: #edf7f6 !important;
    color: var(--color-green, #059669) !important;
    font-weight: 700 !important;
}

.sidebar .nav-link img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    flex-shrink: 0;
}

/* Ensure links inside widgets and cards do not turn bright orange by default */
.info-box a,
.product-widget a,
.box a,
.sidebar a,
.table a {
    color: var(--color-mint-dark, #072a29);
    text-decoration: none;
}

.info-box a:hover,
.product-widget a:hover,
.box a:hover,
.sidebar a:hover,
.table a:hover {
    color: var(--color-green, #059669);
    text-decoration: none;
}

/* ==========================================================================
   Tables & Data Presentation
   ========================================================================== */
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border, #e2e8f0);
    background: #ffffff;
}

.table thead th {
    background: #f8fafc;
    color: var(--color-mint-dark, #072a29);
    font-weight: 700;
    font-size: 13.5px;
    border-bottom: 1.5px solid var(--color-border, #e2e8f0);
    padding: 12px 16px;
}

.table tbody td {
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    font-size: 14.5px;
    vertical-align: middle;
}

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

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0 0 16px 0;
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--color-green, #059669);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--color-text-muted, #64748b);
}

/* ==========================================================================
   Switches & Meterstand Utilities
   ========================================================================== */
/* ==========================================================================
   Switches & Toggle Sliders (2021-full style)
   ========================================================================== */
.diensten-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 4px !important;
    border-bottom: 1px solid var(--color-border, #f1f5f9) !important;
    transition: background-color 0.15s ease !important;
}

.diensten-switch:last-child {
    border-bottom: none !important;
}

.diensten-switch > label:first-child {
    font-weight: 600 !important;
    font-size: 15.5px !important;
    color: var(--color-mint-dark, #072a29) !important;
    margin: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
}

/* The switch box around the slider */
.switch {
    position: relative !important;
    display: inline-block !important;
    width: 52px !important;
    height: 30px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    margin: 0 !important;
}

/* The slider track */
.slider {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #cbd5e1 !important;
    border-radius: 30px !important;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}

/* The slider knob */
.slider::before {
    position: absolute !important;
    content: "" !important;
    height: 22px !important;
    width: 22px !important;
    left: 4px !important;
    bottom: 4px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Checked state */
.switch input:checked + .slider {
    background-color: var(--color-green, #059669) !important;
}

.switch input:focus + .slider {
    box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.2) !important;
}

.switch input:checked + .slider::before {
    transform: translateX(22px) !important;
}

/* Rounded class support */
.slider.round {
    border-radius: 30px !important;
}

/* ==========================================================================
   Custom Radio Buttons & Checkmarks (label.container, .checkmark)
   ========================================================================== */
label.container {
    display: block !important;
    position: relative !important;
    padding-left: 34px !important;
    padding-right: 0 !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    color: var(--color-mint-dark, #072a29) !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Hide the browser's default radio button */
label.container input[type="radio"],
label.container input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    z-index: -1 !important;
}

/* Create a custom radio button circle */
.checkmark {
    position: absolute !important;
    top: 1px !important;
    left: 0 !important;
    height: 22px !important;
    width: 22px !important;
    background-color: #ffffff !important;
    border: 2px solid var(--color-border, #cbd5e1) !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    display: block !important;
}

/* On mouse-over */
label.container:hover input ~ .checkmark {
    border-color: var(--color-green, #059669) !important;
    background-color: #f0fdf4 !important;
}

/* Checked state */
label.container input:checked ~ .checkmark {
    background-color: var(--color-green, #059669) !important;
    border-color: var(--color-green, #059669) !important;
}

/* Inner dot */
.checkmark::after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
}

/* Show the dot when checked */
label.container input:checked ~ .checkmark::after {
    display: block !important;
}

.slider.round::before {
    border-radius: 50% !important;
}

.switches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.switches span.stroom,
.switches span.gas,
.switches span.kosten {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.switches span.stroom {
    background: var(--color-green, #059669);
}

.switches span.gas {
    background: #0284c7;
}

.switches span.kosten {
    background: var(--color-mint, #0d4745);
}

.switches span:hover {
    transform: scale(1.06);
}

.border-box {
    background: #ffffff;
    border: 1px solid var(--color-mint-border, #c4e3e1);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(13, 71, 69, 0.05);
    margin: 0 auto 24px;
}

.border-box div:first-child {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-green, #059669);
}

.situatie {
    font-size: 14px;
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.situatie-ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.situatie-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Mobile & Webview Responsive Enhancements
   ========================================================================== */
@media (max-width: 767px) {
    .box {
        min-height: 64px;
        padding: 10px 14px;
    }

    .box-icon {
        width: 38px;
        height: 38px;
    }

    .box-text {
        font-size: 14.5px;
    }

    .product-order {
        flex-direction: column;
        text-align: center;
    }

    .product-cost {
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-pill a {
        font-size: 12.5px;
        padding: 4px 8px;
    }
}

/* ==========================================================================
   Tooltips (Bootstrap 4 & 2021-full Design System)
   ========================================================================== */
.tooltip {
    position: absolute !important;
    z-index: 1080 !important;
    display: block;
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-style: normal;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: 13px;
    word-wrap: break-word;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    max-width: 300px !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    text-align: left !important;
    background-color: #072a29 !important; /* Brand dark mint / emerald */
    border-radius: 10px !important;
    box-shadow: 0 10px 25px -4px rgba(7, 42, 41, 0.4), 0 4px 8px -2px rgba(7, 42, 41, 0.2) !important;
    line-height: 1.45 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tooltip .arrow {
    position: absolute;
    display: block;
    width: 12px;
    height: 6px;
}

.tooltip .arrow::before {
    position: absolute;
    content: "";
    border-color: transparent;
    border-style: solid;
}

.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] {
    padding: 8px 0;
}
.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow {
    bottom: 2px;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
    top: 0;
    border-width: 6px 6px 0;
    border-top-color: #072a29;
}

.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] {
    padding: 8px 0;
}
.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow {
    top: 2px;
}
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    bottom: 0;
    border-width: 0 6px 6px;
    border-bottom-color: #072a29;
}

.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] {
    padding: 0 8px;
}
.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow {
    right: 2px;
    width: 6px;
    height: 12px;
}
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
    left: 0;
    border-width: 6px 0 6px 6px;
    border-left-color: #072a29;
}

.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] {
    padding: 0 8px;
}
.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow {
    left: 2px;
    width: 6px;
    height: 12px;
}
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
    right: 0;
    border-width: 6px 6px 6px 0;
    border-right-color: #072a29;
}

/* Tooltip Trigger Icon Styling */
[data-toggle="tooltip"] {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    outline: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

[data-toggle="tooltip"]:hover,
[data-toggle="tooltip"]:focus {
    transform: scale(1.15);
    opacity: 0.9;
}

/* Fallback: Prevent jQuery UI tooltip from rendering unstyled inline text */
.ui-tooltip {
    display: none !important;
}

/* ==========================================================================
   Service Detail Cards (Diensten: EVG, ITVB, VZZ)
   ========================================================================== */
.service-detail-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.04);
    transition: all 0.2s ease;
}

.service-detail-card--green {
    border-left: 4px solid var(--color-green, #059669);
}

.service-detail-card--orange {
    border-left: 4px solid var(--color-orange, #ea580c);
}

.service-detail-card--blue {
    border-left: 4px solid var(--color-mint, #0d4745);
}

.service-detail-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-mint-dark, #072a29);
    margin-top: 0;
    margin-bottom: 8px;
    text-align: left;
}

.service-detail-body {
    font-size: 14.5px;
    color: var(--color-text, #1e293b);
    line-height: 1.55;
}

.service-detail-body .info-box {
    margin-top: 16px;
    margin-bottom: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.service-detail-body .info-box table {
    background: transparent !important;
    border: none !important;
}

.service-detail-body .info-box table td {
    padding: 8px 10px;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

.service-detail-body .info-box table tr:first-child td {
    border-top: none;
}

/* Table colored left borders fallback */
.table.green {
    border-left: 4px solid var(--color-green, #059669) !important;
}
.table.orange {
    border-left: 4px solid var(--color-orange, #ea580c) !important;
}
.table.blue {
    border-left: 4px solid var(--color-mint, #0d4745) !important;
}

.vertical-line-green {
    border-left: 4px solid var(--color-green, #059669) !important;
}
.vertical-line-orange {
    border-left: 4px solid var(--color-orange, #ea580c) !important;
}
.vertical-line-blue {
    border-left: 4px solid var(--color-mint, #0d4745) !important;
}

.info-block {
    display: block !important; /* Always open standard */
    color: var(--color-text, #1e293b);
}

/* ==========================================================================
   Inbox Message Detail View (mijnvlb/inbox/view_message)
   ========================================================================== */
.inbox-view-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.inbox-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid var(--color-mint-border, #c4e3e1);
    color: var(--color-mint-dark, #072a29) !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 7px 16px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(13, 71, 69, 0.05);
}

.inbox-back-btn:hover {
    background: var(--color-mint-light, #eaf5f4);
    border-color: var(--color-green, #059669);
    color: var(--color-green, #059669) !important;
    transform: translateX(-3px);
}

.inbox-back-btn i {
    font-size: 15px;
    transition: transform 0.2s ease;
}

.inbox-back-btn:hover i {
    transform: translateX(-2px);
}

.inbox-detail-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(13, 71, 69, 0.04);
}

.inbox-detail-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted, #64748b);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.inbox-detail-meta i {
    color: var(--color-green, #059669);
}

.inbox-detail-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-mint-dark, #072a29);
    line-height: 1.3;
    margin-top: 4px;
    margin-bottom: 16px;
    text-align: left;
}

.inbox-detail-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 16px 0 24px 0;
}

.inbox-detail-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text, #1e293b);
}

.inbox-detail-body table {
    max-width: 100% !important;
}

@media (max-width: 576px) {
    .inbox-detail-card {
        padding: 16px 16px;
    }
    .inbox-detail-heading {
        font-size: 1.25rem;
    }
}
