/* =============================================
   Vercel-derived UI theme
   Scoped entirely under body.vc-theme so it only
   affects pages that opt in via Main.layoutVercel
   (currently: Lease Renewal, Add Site License,
   CM Upgrade, Notification, the Order pages, and
   the Online Payment Form). Does not touch any
   selector outside the .vc-theme scope, so the rest
   of the site (tsbsoftware.css / Bulma defaults) is
   unaffected.

   Bulma's own defaults (--bulma-link-h: 233deg, a
   vivid blue) and tsbsoftware.css's --color-navy-blue
   both style plain elements (a, .title, .subtitle,
   .label, th, strong) with no more than one class of
   specificity. Every color/background/border-color
   override below is marked !important so it can never
   lose to either of those regardless of load order —
   relative specificity among these !important rules
   still determines which one wins where they overlap
   (e.g. .vc-footer-col a vs the general .vc-theme a). */

.vc-theme {
    font-family: 'DM Sans', system-ui, -apple-system, Helvetica, Arial, sans-serif;
    color: #4b5563 !important;
    background-color: #ffffff !important;
    color-scheme: light;
}

.vc-theme .title,
.vc-theme .subtitle,
.vc-theme .label,
.vc-theme strong,
.vc-theme th {
    font-family: inherit;
    color: #0a0a0a !important;
}

.vc-theme .title {
    font-weight: 500;
}

.vc-theme .title.is-3 {
    font-size: 1.85rem;
}

.vc-theme .title.is-4 {
    font-size: 1.5rem;
}

.vc-theme .title.is-5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.vc-theme .subtitle.is-4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #6b7280 !important;
}

.vc-theme p,
.vc-theme .content,
.vc-theme .content p {
    color: #4b5563 !important;
    line-height: 1.65;
}

.vc-theme .is-size-5 {
    font-size: 1.1rem;
}

.vc-theme .is-size-7,
.vc-theme .has-text-grey-dark {
    color: #4b5563 !important;
}

.vc-theme .has-text-grey {
    color: #6b7280 !important;
}

.vc-theme .has-text-grey-light {
    color: #9ca3af !important;
}

.vc-theme .has-text-danger {
    color: #dc2626 !important;
}

.vc-theme .has-text-maroon {
    color: #0a0a0a !important;
}

.vc-theme .has-text-success {
    color: #15803d !important;
}

.vc-theme .has-text-white,
.vc-theme .has-text-light {
    color: #0a0a0a !important;
}

.vc-theme a {
    color: #0a0a0a !important;
}

.vc-theme .content a,
.vc-theme a.has-text-link {
    color: #0a0a0a !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #B5FC4F;
}

.vc-theme .section {
    padding: 2.5rem 1.5rem;
}

.vc-theme .section.has-background-light {
    background-color: #f9fafb !important;
}

/* === Card / box === */
.vc-theme .box {
    background: #ffffff !important;
    border: 1px solid #f0f1f3;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.vc-theme .card {
    background: #ffffff !important;
    border: 1px solid #f0f1f3;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vc-theme .card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}

.vc-theme .card-header {
    background: transparent !important;
    box-shadow: none;
    border-bottom: 1px solid #f0f1f3;
}

.vc-theme .card-header-title {
    color: #0a0a0a !important;
}

.vc-theme .card-content {
    padding: 1.5rem;
    color: #4b5563 !important;
}

.vc-theme .tag.is-maroon {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    border-radius: 999px;
}

/* === Order/purchase header block (Order.CreditManager/CreditProfiler/Metro2Viewer).
   These classes have no rules in tsbsoftware.css — they're unstyled there too —
   so this is purely additive, scoped to .vc-theme only. === */
.vc-theme .flexTitle {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.vc-theme .purchaseLogo img {
    max-width: 160px;
    height: auto;
}

.vc-theme .purchaseTitle .paragraphHeaderCenter {
    text-align: left;
}

.vc-theme .paragraphHeaderCenter {
    color: #0a0a0a !important;
}

.vc-theme .boldIt {
    font-weight: 600;
}

.vc-theme .clrDkrGray {
    color: #6b7280 !important;
}

.vc-theme .margin10 {
    margin: 0.625rem;
}

.vc-theme .checkbox {
    color: #4b5563 !important;
}

/* === Buttons === */
.vc-theme .button {
    font-family: inherit;
    font-weight: 600;
    border-radius: 999px;
    color: #0a0a0a !important;
    border-color: #e5e7eb !important;
    background-color: #ffffff !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vc-theme .button.cta-button {
    background-color: #0a0a0a !important;
    border-color: #0a0a0a !important;
    color: #ffffff !important;
}

.vc-theme .button.cta-button:hover,
.vc-theme .button.cta-button:focus-visible {
    background-color: #262626 !important;
    border-color: #262626 !important;
    color: #ffffff !important;
}

.vc-theme .button.is-small {
    background-color: #ffffff !important;
    color: #0a0a0a !important;
    border: 1px solid #e5e7eb !important;
}

.vc-theme .button.is-small:hover,
.vc-theme .button.is-small:focus-visible {
    border-color: #0a0a0a !important;
    color: #0a0a0a !important;
}

/* === Inputs === */
.vc-theme .input,
.vc-theme .textarea,
.vc-theme .select select,
.vc-theme select.select {
    font-family: inherit;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.75rem;
    box-shadow: none;
    padding: 0.65rem 0.9rem;
    height: auto;
    color: #0a0a0a !important;
    background-color: #ffffff !important;
}

.vc-theme .input:focus,
.vc-theme .textarea:focus,
.vc-theme .select select:focus,
.vc-theme select.select:focus {
    border-color: #B5FC4F !important;
    box-shadow: 0 0 0 3px rgba(181, 252, 79, 0.35);
}

.vc-theme .label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.vc-theme .help {
    color: #6b7280 !important;
    font-size: 0.85rem;
}

.vc-theme .help.is-danger {
    color: #dc2626 !important;
}

.vc-theme .radio,
.vc-theme .radio input[type='radio'],
.vc-theme input[type='checkbox'] {
    accent-color: #0a0a0a;
    color: #4b5563 !important;
}

.vc-theme .radio input[type='radio'],
.vc-theme input[type='checkbox'] {
    margin-right: 0.35rem;
}

/* === Notifications === */
.vc-theme .notification {
    border-radius: 1rem;
    border: 1px solid transparent;
    box-shadow: none;
    color: #374151 !important;
}

.vc-theme .notification.is-danger {
    background-color: #fef2f2 !important;
    border-color: #fecaca;
    color: #b91c1c !important;
}

.vc-theme .notification.is-info.is-light {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb;
    color: #374151 !important;
}

.vc-theme #order-total-preview {
    background-color: rgba(181, 252, 79, 0.15) !important;
    border: 1px solid #B5FC4F;
}

.vc-theme #order-total-preview .title {
    color: #0a0a0a !important;
}

/* === Tables === */
.vc-theme .table {
    background: transparent !important;
    color: #4b5563 !important;
}

.vc-theme .table td,
.vc-theme .table th {
    border-color: #f0f1f3;
    padding: 0.65rem 0.75rem;
}

.vc-theme .table td:first-child {
    color: #6b7280 !important;
    font-weight: 600;
    width: 40%;
}

/* === Navbar (floating pill, derived from the-service-bureau's Nav) === */
.vc-theme .vc-navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 56rem;
    margin: 0;
    min-height: 3.5rem;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 40;
}

.vc-theme .vc-navbar .navbar-brand {
    min-height: 3.5rem;
    align-items: center;
}

.vc-theme .vc-navbar .navbar-item.vc-logo-item {
    padding: 0 0.5rem 0 1rem;
}

.vc-theme .vc-navbar .navbar-burger {
    display: none;
    height: 3.5rem;
    width: 3.5rem;
    color: #0a0a0a !important;
}

.vc-theme .vc-navbar .navbar-burger span {
    background-color: #0a0a0a !important;
}

.vc-theme .vc-navbar .navbar-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
}

/* Explicit desktop/mobile split (mirrors the-service-bureau's
   hidden md:flex / md:hidden), rather than relying on Bulma's own
   navbar-breakpoint defaults. */
@media (min-width: 1024px) {
    .vc-theme .vc-navbar .navbar-menu {
        display: flex !important;
    }
}

@media (max-width: 1023px) {
    .vc-theme .vc-navbar .navbar-burger {
        display: flex;
    }

    .vc-theme .vc-navbar .navbar-menu.is-active {
        display: block;
    }
}

.vc-theme .vc-navbar .navbar-item,
.vc-theme .vc-navbar .navbar-link {
    color: #4b5563 !important;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 0.65rem;
    background: transparent !important;
}

.vc-theme .vc-navbar .navbar-item:hover,
.vc-theme .vc-navbar .navbar-item:focus,
.vc-theme .vc-navbar .navbar-link:hover,
.vc-theme .vc-navbar .navbar-item.has-dropdown:hover .navbar-link {
    background: transparent !important;
    color: #0a0a0a !important;
}

.vc-theme .vc-navbar .navbar-dropdown {
    border-top: none;
    border: 1px solid #f0f1f3;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.98) !important;
}

.vc-theme .vc-navbar .navbar-dropdown .navbar-item {
    padding: 0.6rem 0.85rem;
}

.vc-theme .vc-navbar .navbar-dropdown .navbar-item:hover {
    background: rgba(181, 252, 79, 0.18) !important;
    color: #0a0a0a !important;
}

.vc-theme .vc-navbar .vc-nav-cta {
    background: #B5FC4F !important;
    color: #0a0a0a !important;
    font-weight: 600;
    padding: 0.5rem 1.1rem !important;
    margin: 0 0.4rem 0 0.5rem;
}

.vc-theme .vc-navbar .vc-nav-cta:hover {
    background: #a3e347 !important;
    color: #0a0a0a !important;
}

@media (max-width: 1023px) {
    .vc-theme .vc-navbar {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .vc-theme .vc-navbar .navbar-menu {
        border-radius: 0;
        box-shadow: none;
    }
}

/* === Hero (derived from the-service-bureau's PageHero) === */
.vc-theme .vc-hero {
    padding-top: 7.5rem;
    padding-bottom: 2rem;
    text-align: center;
    background: #ffffff !important;
}

.vc-theme .vc-hero .vc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.vc-theme .vc-hero .vc-eyebrow .vc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B5FC4F !important;
    flex-shrink: 0;
}

.vc-theme .vc-hero h1 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #0a0a0a !important;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.vc-theme .vc-hero .vc-hero-desc {
    font-size: 1.125rem;
    color: #4b5563 !important;
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .vc-theme .vc-hero {
        padding-top: 6rem;
    }

    .vc-theme .vc-hero h1 {
        font-size: 1.9rem;
    }
}

/* === Footer (derived from the-service-bureau's Footer) === */
.vc-theme .vc-footer {
    padding: 1.5rem 1rem 2.5rem;
}

.vc-theme .vc-footer-card {
    max-width: 64rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e5e7eb;
    border-radius: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2rem;
}

.vc-theme .vc-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vc-theme .vc-footer-col {
    flex: 1 1 150px;
    min-width: 150px;
}

.vc-theme .vc-footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0a0a0a !important;
    margin-bottom: 0.85rem;
}

.vc-theme .vc-footer-col a {
    display: block;
    font-size: 0.95rem;
    color: #6b7280 !important;
    margin-bottom: 0.65rem;
    text-decoration: none;
}

.vc-theme .vc-footer-col a:hover {
    color: #0a0a0a !important;
}

.vc-theme .vc-footer-legal {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.75rem;
    text-align: center;
}

.vc-theme .vc-footer-legal p {
    font-size: 0.78rem;
    color: #6b7280 !important;
    margin-bottom: 0.3rem;
}

.vc-theme .vc-footer-legal a {
    color: #6b7280 !important;
    text-decoration: none;
}

.vc-theme .vc-footer-legal a:hover {
    color: #0a0a0a !important;
}

@media print {
    .vc-theme .vc-navbar {
        position: static !important;
        inset: auto !important;
        box-shadow: none !important;
    }
}
