main > .container {
    padding: 70px 15px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.not-set {
    color: var(--bs-danger);
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--bs-body-color);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--bs-body-color);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

/* Keep dashboard registers compact and easy to scan. */
.dashboard-container .table > :not(caption) > * > * {
    padding: .55rem .75rem;
    vertical-align: middle;
}

/* The theme gives every table a 1000px minimum width, which creates an
 * unnecessary horizontal scrollbar for short dashboard tables. Let each
 * dashboard table size naturally; the responsive wrapper still scrolls when
 * genuinely wide content needs it. */
.dashboard-container .table-responsive > .table {
    min-width: 0 !important;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--bs-secondary-color);
}

.error-summary {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-left: 3px solid var(--bs-danger-border-subtle);
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align navbar brand baseline with nav links */
.navbar > .container,
.navbar > .container-fluid {
    align-items: baseline;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-slogan {
    display: inline-flex;
    align-items: center;
    margin-left: 1.25rem;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: #40b3d8;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
}

.ftco-navbar-light.scrolled .navbar-slogan {
    background: #17324d;
    color: #fff;
}

@media (max-width: 991.98px) {
    .navbar-slogan {
        max-width: calc(100% - 150px);
        margin-left: auto;
        margin-right: .6rem;
        font-size: .62rem;
        text-align: center;
    }
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    color: var(--bs-navbar-color);
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar-nav .nav-link.logout:focus,
.navbar-nav .nav-link.logout:hover {
    color: var(--bs-navbar-hover-color);
}

/* footer logo: light logo by default (light bg-body-tertiary), dark logo for dark theme */
.footer-logo-dark { display: none; }

[data-bs-theme="dark"] .footer-logo-light { display: none; }
[data-bs-theme="dark"] .footer-logo-dark  { display: inline-block; }

/* login inputs: seamless icon inside input (Volt style) */
.login-split-card .input-group {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.login-split-card .input-group .input-group-text {
    background: transparent;
    border: 0;
    padding-left: 1rem;
    padding-right: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-split-card .input-group .form-control {
    border: 0;
    background: transparent;
}

.login-split-card .input-group .form-control:focus {
    box-shadow: none;
}

.login-split-card .input-group:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

/* validation styles for login split card (browsers with :has()) */
@supports selector(.input-group:has(.is-invalid)) {
    .login-split-card .input-group:has(.is-invalid) ~ .invalid-feedback {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group:has(.is-invalid) {
        border-color: var(--bs-danger);
    }

    .login-split-card .input-group:has(.is-invalid):focus-within {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* fallback validation styles for login split card (browsers without :has()) */
@supports not selector(.input-group:has(.is-invalid)) {
    .login-split-card .invalid-feedback:not(:empty) {
        display: block;
        margin-top: .35rem;
        margin-bottom: .5rem;
    }

    .login-split-card .input-group .form-control.is-invalid {
        border: var(--bs-border-width) solid var(--bs-danger);
    }

    .login-split-card .input-group .form-control.is-invalid:focus {
        box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25);
    }
}

/* login split card */
.login-split-card {
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
    background-color: var(--bs-gray-100);
    width: 100%;
    max-width: 900px;
}

.login-split-card-wide {
    max-width: 960px;
}

.login-brand-title {
    font-size: 1.75rem;
    line-height: 1.3;
}

.login-brand-text {
    font-size: .9rem;
}

.login-brand-panel {
    background: linear-gradient(135deg, #40B3D8 0%, #3a9cbd 40%, #83C933 100%);
    position: relative;
    min-height: 480px;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(241, 138, 42, .25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(131, 201, 51, .2) 0%, transparent 40%);
    pointer-events: none;
}

.login-btn {
    background: linear-gradient(135deg, #40B3D8, #3a9cbd);
    border: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s, transform .1s;
}

.login-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

/* dark mode login card */
[data-bs-theme="dark"] .login-split-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 4px 24px rgba(0, 0, 0, .4);
}

[data-bs-theme="dark"] .login-mobile-logo {
    filter: invert(1);
}

/* Give contact fields comfortable writing space. */
.site-contact .form-control {
    min-height: 52px;
}

/* contact form textarea height */
.site-contact textarea.form-control {
    min-height: 220px;
    height: 220px;
}

/* Contact page refresh */
.contact-page { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 12%, rgba(64, 179, 216, .13), transparent 30%), radial-gradient(circle at 92% 86%, rgba(131, 201, 51, .12), transparent 28%); }
.contact-card { max-width: 1040px; border-radius: 22px !important; box-shadow: 0 24px 60px rgba(23, 50, 77, .15) !important; }
.contact-brand-panel { min-height: 600px; background: linear-gradient(155deg, #17324d 0%, #237c9b 62%, #40b3d8 100%); }
.contact-brand-panel::after { content: ''; position: absolute; right: -110px; bottom: -110px; width: 260px; height: 260px; border: 36px solid rgba(252, 182, 80, .42); border-radius: 50%; }
.contact-brand-panel .contact-brand-name { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; font-size: .85rem; letter-spacing: .06em; }
.contact-form-panel { background: #fff; }
.contact-form-heading { text-align: left; }
.contact-form-heading h1 { color: #17324d; }
.contact-form-heading p { max-width: 520px; margin: 0; color: #64748b; font-size: .92rem; line-height: 1.6; }
.contact-page .input-group { border: 1px solid #9db8c5; border-radius: .55rem; background: #f9fcfd; }
.contact-page .input-group-text, .contact-page .form-control { background: transparent; }
.contact-page .form-control { border: 1px solid #9db8c5; }
.contact-page .input-group .form-control { border: 0; }
.contact-page .input-group:focus-within, .contact-page .form-control:focus { border-color: #237c9b; box-shadow: 0 0 0 .2rem rgba(64, 179, 216, .18); }
.contact-page textarea.form-control { padding: .85rem 1rem; border-radius: .55rem; background: #f9fcfd; }
.contact-page .login-btn { min-width: 150px; border-radius: 999px; background: #17324d; box-shadow: 0 10px 20px rgba(23, 50, 77, .2); }
.contact-page .login-btn:hover { background: #237c9b; }

/* Property-image breadcrumb banners */
.property-breadcrumb {
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.property-breadcrumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 50, 77, .64), rgba(23, 50, 77, .24));
}

.property-breadcrumb .container {
    position: relative;
    z-index: 1;
}

.property-breadcrumb .slider-text .bread,
.property-breadcrumb .slider-text .breadcrumbs span,
.property-breadcrumb .slider-text .breadcrumbs span a {
    color: #fff !important;
}

/* captcha: blend with card background */
.site-contact img[src*="captcha"] {
    border-radius: var(--bs-border-radius);
    mix-blend-mode: multiply;
}

/* dark mode: invert captcha for visibility on dark background */
[data-bs-theme="dark"] .site-contact img[src*="captcha"] {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
}

/* centered page layout */
.site-login,
.site-contact,
.site-index,
.site-error,
.site-about,
.site-contact-success {
    flex: 1;
}

.site-error .site-error-content,
.site-about .site-about-content,
.site-contact-success .site-contact-success-content {
    width: 100%;
    max-width: 90%;
}

.dashboard-shell {
    align-items: flex-start;
}

.dashboard-container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 100%;
}

/* Dashboard pages use compact content spacing instead of public-page breadcrumbs. */
main > .ftco-section:has(.dashboard-container) {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.dashboard-sidebar-card {
    position: sticky;
    top: 100px;
    border-radius: 24px;
    padding: 1.25rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(64, 179, 216, 0.14);
}

/* The storefront theme does not provide Bootstrap's gap utility classes. */
.dashboard-container .d-flex.gap-2 {
    gap: .5rem;
}

/* Keep contract status badges legible in the dashboard tables. */
.dashboard-container .badge.bg-danger,
.dashboard-container .badge.bg-success,
.dashboard-container .badge.bg-secondary,
.dashboard-container .badge.bg-primary,
.dashboard-container .badge.bg-info {
    color: #fff !important;
}

.dashboard-container .badge.bg-warning {
    color: #17324d !important;
}

.dashboard-sidebar-heading {
    padding: .25rem 1.25rem 1.15rem;
    border-bottom: 1px solid rgba(38, 70, 83, 0.1);
}

.dashboard-sidebar-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #40b3d8;
}

.dashboard-sidebar-title {
    margin: 0;
    font-size: 1.4rem;
    color: #17324d;
}

.dashboard-sidebar-description {
    margin: .35rem 0 0;
    color: #64748b;
    font-size: .82rem;
}

.dashboard-sidebar-nav {
    margin-top: 0;
}

.dashboard-sidebar-list {
    list-style: none !important;
    margin: 0;
    padding: 0 !important;
    margin-left: 0 !important;
}

.dashboard-sidebar-item {
    list-style: none !important;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(38, 70, 83, 0.08);
}

.dashboard-sidebar-item::marker {
    content: '';
}

.dashboard-sidebar-item:first-child {
    border-top: 1px solid rgba(38, 70, 83, 0.08);
}

.dashboard-sidebar-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-radius: 0;
    background: transparent;
    color: #264653;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    border-left: 4px solid transparent;
}

.dashboard-sidebar-link .icon {
    width: 1.15rem;
    color: #40b3d8;
    font-size: 1rem;
    text-align: center;
}

.dashboard-sidebar-link:visited {
    color: #264653;
}

.dashboard-sidebar-link:hover,
.dashboard-sidebar-link:focus {
    color: #17324d;
    text-decoration: none;
    background: rgba(64, 179, 216, 0.12);
    border-left-color: #40b3d8;
}

.dashboard-sidebar-link.is-active {
    background: linear-gradient(90deg, rgba(64, 179, 216, 0.18) 0%, rgba(131, 201, 51, 0.14) 100%);
    color: #17324d;
    border-left-color: #40b3d8;
    font-weight: 700;
}

.dashboard-sidebar-link.is-active:visited {
    color: #17324d;
}

.dashboard-sidebar-link.is-active::after {
    content: 'Current';
    margin-left: auto;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #3a9cbd;
}

.dashboard-account-item { display: flex; align-items: center; margin-left: .9rem; }
.dashboard-notification-item { display: flex; align-items: center; margin-left: .45rem; }
.dashboard-notification-link { position: relative; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #17324d; color: #fff !important; font-size: 1rem; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .16); }
.dashboard-notification-link:hover { background: #237c9b; color: #fff !important; text-decoration: none; }
.dashboard-notification-count { position: absolute; top: -5px; right: -5px; display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; background: #e76f51; color: #fff; font-size: .66rem; font-weight: 800; line-height: 1; }
.dashboard-account-menu { position: relative; }
.dashboard-account-menu summary { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 2px .2rem; cursor: pointer; list-style: none; }
.dashboard-account-menu summary::-webkit-details-marker { display: none; }
.dashboard-account-avatar, .profile-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fcb650; color: #17324d; font-weight: 800; }
.dashboard-account-avatar { width: 40px; height: 40px; font-size: 1rem; border: 2px solid rgba(255, 255, 255, .8); box-shadow: 0 4px 12px rgba(0, 0, 0, .16); }
.dashboard-account-name { max-width: 132px; padding: .45rem .75rem; overflow: hidden; border-radius: 999px; background: #fcb650; color: #17324d !important; font-size: .86rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-account-caret { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; margin-left: .35rem; border-radius: 50%; background: #17324d; color: #fff !important; font-size: 1rem; font-weight: 800; line-height: 1; transition: transform .15s ease; }
.dashboard-account-menu[open] .dashboard-account-caret { transform: rotate(180deg); }
.dashboard-account-menu summary:hover .dashboard-account-avatar, .dashboard-account-menu[open] .dashboard-account-avatar { background: #fff; transform: translateY(-1px); }
.dashboard-account-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1200; width: 190px; padding: .45rem; border: 1px solid rgba(15, 23, 42, .1); border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .18); }
.dashboard-account-dropdown a, .dashboard-account-dropdown button { display: flex; width: 100%; align-items: center; gap: .6rem; padding: .65rem .75rem; border: 0; border-radius: 8px; background: transparent; color: #264653; font: inherit; font-size: .86rem; text-align: left; text-decoration: none; cursor: pointer; }
.dashboard-account-dropdown a:hover, .dashboard-account-dropdown button:hover { background: #eef8fb; color: #17324d; }
.dashboard-account-dropdown .icon { width: 1rem; color: #40b3d8; }
.dashboard-logout-form { margin: 0; }
.profile-card { max-width: 760px; }
.profile-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(38, 70, 83, .1); }
.profile-avatar { width: 58px; height: 58px; font-size: 1.4rem; }
.profile-card-header h2 { margin: 0; color: #17324d; }
.profile-card-header p { margin: .25rem 0 0; color: #64748b; }
.profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 0 0 2rem; }
.profile-details div { min-width: 0; }
.profile-details dt { margin-bottom: .25rem; color: #64748b; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.profile-details dd { margin: 0; overflow-wrap: anywhere; color: #17324d; font-weight: 600; }

.contact-brand-name {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.contact-brand-name-dark {
    color: #17324d;
}

.contact-verification-help {
    margin: -.15rem 0 .6rem;
    color: #64748b;
    font-size: .82rem;
}

.contact-verification-control {
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: 370px;
    background-color: #1a9fe2;
}

.contact-verification-image img {
    display: block;
    min-width: 120px;
    height: 42px;
    border: 1px solid #d7e3e8;
    border-radius: .45rem;
    cursor: pointer;
}

.contact-verification-input {
    flex: 1;
}

.contact-verification-input .form-control {
    min-height: 42px;
}

@media (max-width: 575.98px) {
    .contact-verification-control {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-verification-image img {
        width: 100%;
        height: auto;
    }
}

.dashboard-metric-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.dashboard-chart-card {
    overflow: hidden;
}

.dashboard-chart-card .card-body {
    padding-top: 1.25rem;
}

.dashboard-pie-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.dashboard-pie-chart {
    width: min(200px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
    position: relative;
}

.dashboard-pie-svg {
    width: 100%;
    height: 100%;
}

.dashboard-pie-hole {
    width: 56%;
    height: 56%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #17324d;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: absolute;
}

.dashboard-pie-hole strong {
    font-size: 1.35rem;
    line-height: 1;
}

.dashboard-pie-hole span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c757d;
}

.dashboard-chart-legend {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    width: 100%;
    margin: 0;
}

.dashboard-legend-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .5rem;
    align-items: center;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(38, 70, 83, 0.08);
}

.dashboard-legend-swatch {
    width: .9rem;
    height: .9rem;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}

.dashboard-legend-label {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    color: #17324d;
    font-weight: 600;
}

.dashboard-legend-note {
    font-size: .75rem;
    font-weight: 500;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .dashboard-pie-wrap {
        grid-template-columns: 1fr;
    }

    .dashboard-pie-chart {
        width: min(170px, 100%);
    }
}

.dashboard-latest-properties-table th,
.dashboard-latest-properties-table td {
    padding: .65rem .85rem;
    vertical-align: middle;
}

.dashboard-owner-type-chart {
    display: grid;
    gap: 1.5rem;
}

.dashboard-owner-type-row {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(38, 70, 83, .09);
    border-radius: 12px;
    background: #fbfdff;
}

.dashboard-owner-type-row h4 {
    margin: 0 0 .85rem;
    color: #17324d;
    font-size: .95rem;
    font-weight: 700;
}

.dashboard-owner-type-row .dashboard-horizontal-bar-header span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.dashboard-owner-type-row .dashboard-legend-swatch {
    width: .65rem;
    height: .65rem;
    margin: 0;
}

.dashboard-status-cell {
    padding: .65rem .85rem !important;
}

.dashboard-latest-properties-table thead th {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6c757d;
    border-bottom-width: 1px;
}

.dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    padding: .7rem 1.1rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.1;
    color: #17324d !important;
    text-shadow: none;
    box-shadow: inset 0 0 0 1px rgba(23, 50, 77, 0.06);
}

.dashboard-status-badge-available {
    background: rgba(42, 157, 143, 0.18);
    color: #145e54 !important;
}

.dashboard-status-badge-occupied {
    background: rgba(230, 126, 34, 0.2);
    color: #8f4208 !important;
}

.dashboard-status-badge-maintenance {
    background: rgba(244, 162, 97, 0.24);
    color: #8f4208 !important;
}

.dashboard-status-badge-inactive {
    background: rgba(108, 117, 125, 0.2);
    color: #3f4850 !important;
}

.dashboard-status-badge-default {
    background: rgba(108, 117, 125, 0.18);
    color: #3f4850 !important;
}

.dashboard-horizontal-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: .5rem;
}

.dashboard-horizontal-bar-item {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.dashboard-horizontal-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #17324d;
    font-weight: 600;
}

.dashboard-progress-track {
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef4f8 0%, #e6edf4 100%);
    overflow: hidden;
}

.dashboard-progress-fill {
    min-width: 8%;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.dashboard-detail-page .card-header {
    padding: 1rem 1.25rem;
}

.dashboard-detail-page .card-body {
    padding: 1.25rem;
}

.dashboard-detail-stat {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    border: 1px solid rgba(38, 70, 83, 0.08);
}

.dashboard-detail-stat-label {
    display: block;
    margin-bottom: .45rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6c757d;
}

.dashboard-detail-stat-value {
    display: block;
    color: #17324d;
    font-size: 1rem;
    line-height: 1.4;
}

.dashboard-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-detail-item {
    padding: 1rem;
    border-radius: 16px;
    background: #f8fbfe;
    border: 1px solid rgba(38, 70, 83, 0.08);
}

.dashboard-detail-item-wide {
    grid-column: 1 / -1;
}

.dashboard-detail-label {
    display: block;
    margin-bottom: .45rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6c757d;
}

.dashboard-detail-text {
    color: #17324d;
    line-height: 1.6;
}

.dashboard-detail-counter {
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(64, 179, 216, 0.12);
    color: #2c7da0;
    font-size: .78rem;
    font-weight: 700;
}

.dashboard-service-form-card {
    position: sticky;
    top: 100px;
}

.dashboard-service-form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.dashboard-service-form-toggle::-webkit-details-marker {
    display: none;
}

.dashboard-form-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .65rem;
    border-radius: 999px;
    background: rgba(64, 179, 216, .12);
    color: #3a9cbd;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-form-toggle-label b {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: .7;
}

.dashboard-service-form-card[open] .dashboard-form-toggle-label {
    font-size: 0;
}

.dashboard-service-form-card[open] .dashboard-form-toggle-label b {
    display: none;
}

.dashboard-service-form-card[open] .dashboard-form-toggle-label::after {
    content: 'Close form';
    font-size: .78rem;
}

.dashboard-contract-list,
.dashboard-service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-contract-card,
.dashboard-service-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(38, 70, 83, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-contract-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.dashboard-service-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.dashboard-service-title {
    color: #17324d;
    font-size: 1rem;
}

.dashboard-service-meta {
    margin-top: .2rem;
    color: #6c757d;
    font-size: .86rem;
}

.dashboard-service-cost {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(131, 201, 51, 0.14);
    color: #446e14;
    font-weight: 700;
}

.dashboard-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.dashboard-service-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #f3f7fa;
    color: #35556a;
    font-size: .82rem;
    font-weight: 600;
}

.dashboard-service-notes {
    padding-top: .15rem;
    color: #4b5a67;
    line-height: 1.6;
    border-top: 1px solid rgba(38, 70, 83, 0.08);
}

@media (min-width: 576px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 80%;
    }
}

@media (max-width: 991.98px) {
    .dashboard-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dashboard-sidebar-card {
        position: static;
        top: auto;
    }

    .dashboard-service-form-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    main > .ftco-section:has(.dashboard-container) {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .dashboard-sidebar-link.is-active::after {
        display: none;
    }

    .dashboard-detail-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-contract-card,
    .dashboard-service-topline {
        flex-direction: column;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 60%;
    }
}

@media (min-width: 992px) {
    .site-error .site-error-content,
    .site-about .site-about-content,
    .site-contact-success .site-contact-success-content {
        max-width: 50%;
    }
}

/* hero banner */
.hero-banner {
    background: linear-gradient(135deg, #83C933 0%, #3a9cbd 40%, #40B3D8 100%);
    position: relative;
}

.hero-lead {
    max-width: 520px;
}

.hero-logo {
    height: 120px;
    opacity: .45;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 15% 85%, rgba(241, 138, 42, .3) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(131, 201, 51, .25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(64, 179, 216, .15) 0%, transparent 60%);
    pointer-events: none;
}

/* extension cards */
.extension-card {
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
}

.extension-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* dark mode: extension cards */
[data-bs-theme="dark"] .extension-card {
    background-color: var(--bs-body-bg);
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 2px 8px rgba(0, 0, 0, .3);
}

[data-bs-theme="dark"] .extension-card:hover {
    box-shadow: 0 0 0 1px var(--bs-border-color), 0 8px 24px rgba(0, 0, 0, .4) !important;
}
