/* STRIC klantenpaneel — Nova login theme.
 * Bewust beperkt tot de bestaande HostFact logincomponenten.
 */
.login-table {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(59, 163, 220, .18), transparent 34%),
        radial-gradient(circle at 82% 82%, rgba(59, 36, 109, .13), transparent 38%),
        #f5f7fb;
}

.login-table::before {
    position: absolute;
    inset: 0 0 auto;
    height: 12px;
    content: "";
    background: linear-gradient(100deg, #2d86cf, #3b246d);
}

.login-table-cell {
    position: relative;
    z-index: 1;
    padding: 32px 16px;
}

.login-box {
    width: 100%;
    max-width: 430px;
    margin: 0 auto !important;
    padding: 40px;
    color: #17303b;
    text-align: left;
    border: 1px solid #e3e9f1;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(39, 52, 91, .16);
}

.login-box::before {
    display: block;
    margin-bottom: 12px;
    color: #2d5d99;
    content: "STRIC";
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.login-box h1 {
    margin: 0 0 28px;
    padding: 0;
    color: #17303b;
    border: 0;
    font-size: 1.85rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.login-box .form-signin {
    margin-top: 0 !important;
}

.login-box .form-control {
    min-height: 48px;
    padding: 11px 13px;
    color: #17303b;
    background: #fff;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    transition: border-color .16s, box-shadow .16s;
}

.login-box .form-control:focus {
    border-color: #3ba3dc;
    box-shadow: 0 0 0 3px rgba(59, 163, 220, .16);
}

.login-box .btn-primary {
    min-height: 48px;
    color: #fff;
    background: linear-gradient(100deg, #2d86cf, #3b246d);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgba(47, 82, 157, .22);
    font-weight: 700;
    transition: transform .16s, box-shadow .16s;
}

.login-box .btn-primary:hover,
.login-box .btn-primary:focus {
    color: #fff;
    background: linear-gradient(100deg, #2879bc, #34205f);
    box-shadow: 0 9px 22px rgba(47, 82, 157, .28);
    transform: translateY(-1px);
}

.login-box .to-forgot-password {
    display: inline-block;
    margin-top: 4px;
    color: #61717c !important;
    font-size: .88rem;
}

.login-box .to-forgot-password:hover {
    color: #2d86cf !important;
}

@media (max-width: 520px) {
    .login-table-cell { padding: 20px 14px; }
    .login-box { padding: 30px 24px; }
    .login-box h1 { font-size: 1.6rem; }
}

/* Ingelogd klantenpaneel */
body {
    color: #17303b;
    background: #f5f7fb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

header {
    color: #fff;
    background: linear-gradient(100deg, #2d86cf 0%, #3b246d 100%);
    border-bottom: 0;
}

header .header-title {
    color: #fff;
    font-weight: 750;
    letter-spacing: -.025em;
}

header a,
header .text-muted {
    color: rgba(255, 255, 255, .88) !important;
}

header a:hover {
    color: #fff !important;
}

header .header-logo {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-container {
    background: linear-gradient(100deg, #2d86cf 0%, #3b246d 100%) !important;
    border: 0;
    box-shadow: 0 8px 24px rgba(47, 37, 104, .16);
}

.nav-container > .container,
.navbar {
    background: transparent !important;
}

.navbar .nav-link,
.navbar a,
.navbar .dropdown-toggle {
    color: rgba(255, 255, 255, .82) !important;
    font-weight: 650;
}

.navbar .active > .nav-link,
.navbar .nav-link:hover,
.navbar a:hover {
    color: #fff !important;
    text-decoration: none;
}

.navbar .dropdown-menu {
    overflow: hidden;
    min-height: 0 !important;
    padding: 5px !important;
    margin-top: 0 !important;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 9px;
    box-shadow: 0 12px 28px rgba(28, 45, 72, .14);
}

.navbar .dropdown-menu .dropdown-item {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 9px 14px;
    color: #26404b !important;
    background: transparent;
    border-radius: 6px;
    line-height: 1.25;
    white-space: nowrap;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: #fff !important;
    background: #4c9ec4;
}

.main-content,
.content-block,
.sidebar-column,
.total-btn,
.welcome-text {
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(28, 45, 72, .06);
}

.main-content,
.content-block,
.sidebar-column {
    background: #fff;
}

.main-content h1,
.main-content h2,
.content-block h1,
.content-block h2,
.sidebar-column h2 {
    color: #17303b;
    border-bottom-color: #e3e9f1;
    font-weight: 750;
    letter-spacing: -.02em;
}

.alert {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(28, 45, 72, .05);
}

.alert-success {
    color: #12633e;
    background: #eaf8f0;
    border-left: 4px solid #2c9b65;
}

.table thead th,
.table th {
    color: #35505d;
    background: #f0f5f8;
    border-color: #e3e9f1;
    font-size: .82rem;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.table td {
    color: #26404b;
    border-color: #e8edf2;
}

.table-striped tbody tr:nth-of-type(odd),
.table tbody tr:nth-of-type(odd) {
    background: #f8fafc;
}

a {
    color: #2d86cf;
}

a:hover {
    color: #276fa9;
}

.btn-primary {
    color: #fff;
    background: #087f8c;
    border-color: #087f8c;
    border-radius: 7px;
    font-weight: 650;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    background: #066d78;
    border-color: #066d78;
}

.form-control {
    border-color: #cfd9e2;
    border-radius: 7px;
}

.form-control:focus {
    border-color: #3ba3dc;
    box-shadow: 0 0 0 3px rgba(59, 163, 220, .15);
}

.action-btn,
.total-btn a {
    border-radius: 10px;
    transition: transform .16s, box-shadow .16s, background-color .16s;
}

.action-btn:hover,
.total-btn a:hover {
    background: #2d86cf;
    border-color: #2d86cf;
    box-shadow: 0 8px 20px rgba(45, 134, 207, .2);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    header .header-title { font-size: 1.25rem; }
    .main-content,
    .content-block,
    .sidebar-column { border-radius: 9px; }
}

.nova-customer-overview h1 { margin-bottom: 5px; }
.nova-overview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.nova-overview-heading p { color: #61717c; }
.nova-updated { flex: 0 0 auto; padding: 5px 10px; color: #526875; background: #eef4f7; border-radius: 99px; font-size: .76rem; }
.nova-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nova-service-card { overflow: hidden; border: 1px solid #e3e9f1; border-radius: 11px; background: #fff; }
.nova-service-title { display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #17303b; background: #f0f5f8; font-weight: 750; }
.nova-service-title .fas { color: #2d86cf; }
.nova-service-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-top: 1px solid #edf1f4; }
.nova-service-row:first-of-type { border-top: 0; }
.nova-service-row span { color: #415764; }
.nova-service-row strong { flex: 0 0 auto; color: #17303b; font-size: 1.05rem; }
.nova-service-row small { color: #6b7c86; font-size: .72rem; font-weight: 500; }
.nova-magic-grid { align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nova-magic-card { order: 1; min-width: 0; overflow: hidden; color: #fff; background: linear-gradient(135deg, #2d86cf, #3b246d); border: 0; border-radius: 8px; box-shadow: 0 5px 14px rgba(45, 57, 133, .22); }
.nova-magic-card summary,
.nova-magic-summary { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 150px; padding: 14px 16px 12px; list-style: none; cursor: default; }
.nova-magic-toggle { width: 100%; color: #fff; font: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; }
.nova-magic-toggle:hover,
.nova-magic-toggle:focus { color: #fff; background: rgba(255,255,255,.06); outline: 0; }
.nova-magic-toggle[aria-expanded="true"] { background: rgba(24,18,70,.18); }
.nova-magic-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; background: transparent; border-radius: 0; font-size: 1.35rem; }
.nova-magic-label { min-width: 0; }
.nova-magic-label strong,
.nova-magic-label small { display: block; }
.nova-magic-label strong { overflow: hidden; color: #fff; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.nova-magic-label small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: .68rem; }
.nova-magic-count { grid-column: 1 / 3; justify-self: center; color: #fff; font-size: 1.4rem; font-weight: 800; text-align: center; }
.nova-magic-count small { font-size: .9rem; }
.nova-more { grid-column: 1 / 3; justify-self: center; color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 500; }
.nova-more strong { margin-left: 5px; font-size: 1.1rem; }
.nova-more-placeholder { visibility: hidden; }
.nova-magic-details { width: 100%; max-height: 560px; overflow: auto; margin-top: 14px; padding: 8px 0 12px; background: #fff; border: 1px solid #dce6ed; border-radius: 10px; box-shadow: 0 5px 16px rgba(28,45,72,.08); }
.nova-magic-details[hidden] { display: none !important; }
.nova-magic-details h3 { margin: 14px 14px 7px; color: #526875; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.nova-user-table { border-top: 1px solid #edf1f4; }
.nova-user-head,
.nova-user-row { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(220px,1fr) minmax(240px,1.25fr); gap: 14px; padding: 10px 14px; border-bottom: 1px solid #edf1f4; }
.nova-user-head { color: #526875; background: #f0f5f8; font-size: .73rem; letter-spacing: .035em; text-transform: uppercase; }
.nova-user-row > span { min-width: 0; color: #415764; font-size: .79rem; overflow-wrap: anywhere; }
.nova-user-row strong,
.nova-user-row small { display: block; }
.nova-user-row strong { color: #17303b; font-size: .86rem; }
.nova-user-row small { margin-top: 2px; color: #71828c; }
@media (max-width: 767px) {
    .nova-overview-heading { display: block; }
    .nova-updated { display: inline-block; margin-top: 10px; }
    .nova-service-grid { grid-template-columns: 1fr; }
    .nova-magic-grid { grid-template-columns: 1fr; }
    .nova-user-head { display: none; }
    .nova-user-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 768px) and (max-width: 1100px) { .nova-magic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
