﻿/* ==========================
   Haven — Shared Styles
   ========================== */
:root {
    --brand: #02DAC5;
    --brand-dark: #0aaea0;
    --ink: #1f2937;
    --line: #eef1f4;
    --muted: #6b7280;
    --ring: rgba(2,218,197,0.35);
    --shadow: 0 6px 20px rgba(2,218,197,.12);

    --brand-ink: #0aaea0;
}

.page-title {
    font-weight: 800;
    letter-spacing: .2px;
}

.profile-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
}

@media (min-width:768px) {
    .profile-card {
        padding: 1.25rem 1.5rem;
    }
}

.section-title {
    font-weight: 700;
    margin-bottom: .5rem;
}

.muted {
    color: var(--muted);
}

.btn-brand {
    color: #0b1725;
    background: var(--brand);
    border: none;
    box-shadow: 0 6px 20px rgba(2,218,197,.12);
}

    .btn-brand:hover {
        background: var(--brand-ink);
        color: #0b1725;
    }

.badge-chip {
    background: #f3f6f9;
    border: 1px solid #e6ebf2;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-weight: 600;
}

.status-badges .badge {
    font-weight: 600;
}

.plan-card {
    border: 1px solid #eaeef4;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
}

    .plan-card .price {
        font-weight: 800;
        font-size: 1.05rem;
    }

.cap-indicator {
    font-weight: 700;
}

.cap-ok {
    color: #059669;
}

.cap-full {
    color: #b91c1c;
}

.form-readonly {
    background: #f9fafb;
}

.field-actions .btn {
    padding: .25rem .5rem;
}

.table thead th {
    background: #f3f6f8;
}

.input-compact {
    height: 2.25rem;
    padding: .35rem .5rem;
    font-size: .95rem;
}

.is-hidden {
    display: none !important;
}

.tap-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

    .tap-row .label {
        min-width: 120px;
        color: #374151;
        font-weight: 600;
    }

    .tap-row .value {
        flex: 1;
        word-break: break-word;
    }

    .tap-row .field-actions {
        white-space: nowrap;
    }

@media (max-width:576px) {
    .navbar-brand img {
        max-height: 54px;
        height: 54px;
        width: auto;
      }
    .tap-row {
        flex-direction: column;
        align-items: stretch;
        gap: .35rem;
    }

        .tap-row .label {
            min-width: unset;
        }

        .tap-row .field-actions {
            margin-top: .25rem;
        }

        .header .btn {
            padding: 2px 8px;   /* tighter padding */
            font-size: 0.8rem;  /* smaller text */
            line-height: 1.2;
          }
        
          .header .backlink span {
            font-size: 0.85rem;
          }
}
@media (max-width: 991.98px) {
    #topnav .navbar-collapse { width: 100%; }
  }
  
  /* Your underline effect (kept) */
  .nav-link.nav-main { position: relative; font-weight: 500; }
  .nav-link.nav-main::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; width: 0; margin: 0 auto; background: var(--brand);
    transition: width .2s ease;
  }
  .nav-link.nav-main:hover::after, .nav-link.nav-main.active::after { width: 24px; }
/* Base */
html, body {
    height: 100%
}

body {
    background: #f7fafc;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout gutters for MVC */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Inputs */
input, select, textarea {
    border-radius: .5rem
}

/* Navbar brand image */
.navbar-brand img {
    height: 4em !important;
    width: auto
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 40px
    }
}



.backlink {
    text-decoration: none;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 0
}

    .backlink:hover {
        color: var(--brand-dark)
    }

/* Brand button */
.btn-brand {
    --btn-bg: var(--brand);
    --btn-bg-hover: var(--brand-dark);
    --btn-text: #0b1725;
    color: var(--btn-text);
    background: var(--btn-bg);
    border: none;
    box-shadow: var(--shadow);
}

    .btn-brand:hover {
        background: var(--btn-bg-hover);
        color: var(--btn-text)
    }

    .btn-brand:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 4px var(--ring)
    }

/* Feature / plan cards */
.feature {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    background: #fff;
}

    .feature:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0,0,0,.06);
        border-color: rgba(2,218,197,.35)
    }

    .feature i {
        display: inline-block;
        font-size: clamp(2.2rem,1.2vw + 2rem,3rem);
        line-height: 1;
        color: var(--brand);
        margin-bottom: .75rem
    }

.plan {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .12s ease, transform .12s ease, border-color .12s ease;
}

    .plan:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,.07);
        border-color: rgba(2,218,197,.35)
    }

    .plan .price {
        font-size: 1.8rem;
        font-weight: 800;
        color: #111827
    }

/* Tables & “required” */
.table thead th {
    background: #f3f6f8
}

.required::after {
    content: " *";
    color: #dc2626
}

/* Utilities */
.is-hidden {
    display: none !important
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Locked skeletons (GetCovered’s preview) */
.card-lite {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04)
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 10px;
    min-height: 80px
}

    .skeleton::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%);
        transform: translateX(-100%);
        animation: shimmer 1.4s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%)
    }
}

/* Public schemes chips */
.badge.text-bg-light {
    background: #f3f6f9 !important;
    color: #25324a !important;
    border: 1px solid #e6ebf2;
    font-weight: 500;
    padding: .4rem .6rem;
    border-radius: 999px;
}
@media (max-width: 575.98px) {
    #schemePreviewList .list-group-item {
        padding: 12px 14px;
    }
}

/* Centered promo banner */
.intro-banner {
    --ring: rgba(2,218,197,.35);
    --ink: #0f172a;
    --muted: #64748b;
    --brand: #02DAC5;
    --brand-ink: #0aaea0;
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    max-width: 840px;
    background: radial-gradient(500px 200px at 50% 0%, rgba(2,218,197,.10), transparent 70%), linear-gradient(180deg,#fff,#fcfcfd 60%);
    border: 1px solid #e6eaf0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
    position: relative;
    isolation: isolate;
}

    /* subtle ring on focus within */
    .intro-banner:focus-within {
        box-shadow: 0 0 0 4px var(--ring)
    }

/* small pill/kicker */
.intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .6rem;
    margin-bottom: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0b1725;
    background: #e8fffb;
    border: 1px solid #d3fbf3;
    border-radius: 999px;
}

/* headline */
.intro-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.15;
    color: var(--ink);
    font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
    position: relative;
}

    /* gradient accent on the word “sign in” */
    .intro-title span {
        background: linear-gradient(90deg, var(--brand), var(--brand-ink));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    /* decorative underline */
    .intro-title::after {
        content: "";
        display: block;
        width: 72px;
        height: 3px;
        margin: .65rem auto 0;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(2,218,197,.9), rgba(10,174,160,.9));
        opacity: .9;
    }

/* subtext */
.intro-sub {
    margin: .6rem auto 0;
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(.95rem, .4vw + .85rem, 1.05rem);
}

/* gentle entrance */
@media (prefers-reduced-motion: no-preference) {
    .intro-banner {
        animation: introFade .5s ease-out both
    }

    @keyframes introFade {
        from {
            transform: translateY(6px);
            opacity: 0
        }

        to {
            transform: translateY(0);
            opacity: 1
        }
    }
}




.profile-card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: .75rem;
}

.is-hidden {
    display: none !important;
}

/* Overview header */
.overview-header {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .overview-header {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.status-badges .badge {
    font-weight: 600;
}

.plan-chip {
    border: 1px solid #e6ebf2;
    background: #f3f6f9;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-weight: 600;
}

.plan-card {
    border: 1px solid #eaeef4;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}

    .plan-card .price {
        font-weight: 800;
        font-size: 1.1rem;
    }

.muted {
    color: #6b7280;
}

.subtle {
    color: #6b7280;
    font-size: .9rem;
}

/* Lives table */
#livesTable th, #livesTable td {
    vertical-align: middle;
}

.cap-indicator {
    font-weight: 600;
}

.cap-ok {
    color: #059669;
}

.cap-full {
    color: #b91c1c;
}

.table tfoot td {
    border-top: none;
}

/* Buttons */
.btn-brand {
    --btn-bg: #02DAC5;
    --btn-bg-hover: #0aaea0;
    --btn-text: #0b1725;
    color: var(--btn-text);
    background: var(--btn-bg);
    border: none;
    box-shadow: 0 6px 20px rgba(2,218,197,.12);
}

    .btn-brand:hover {
        background: var(--btn-bg-hover);
        color: var(--btn-text);
    }

.small-help {
    color: #6b7280;
}

/* Keep labels tidy and buttons aligned */
#contact-info .tap-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: .5rem .75rem;
    align-items: start;
}

@media (max-width: 576px) {
    #contact-info .tap-row {
        grid-template-columns: 1fr auto; /* label sits above the input on mobile */
    }

        #contact-info .tap-row .label {
            grid-column: 1 / -1;
            font-weight: 600;
        }
}

#contact-info .label {
    color: #374151;
    white-space: nowrap;
}

#contact-info .field-actions .btn {
    padding: .3rem .55rem;
}

