/*---------------------------------
--------HEADER SECTION-------------
-----------------------------------*/


:root {
  --hmh-teal: #00ae9d;
}

body{
    font-family: "Nunito", sans-serif;
}
/* Modern Header Custom Styles */
.lifed-header {
    position: relative;
    z-index: 1200;

    overflow: visible;

    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}
.header-nav-link {
    color: #424141;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-family: "Nunito", sans-serif;
}
.header-nav-link:hover {
    color: #00b49f;
}
.search-pill {
    border: 1px solid #dfdfdf;
    border-radius: 50px;
    padding: 5px 6px 5px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background-color: #ffffff;
    transition: box-shadow 0.2s ease-in-out;
}
.search-pill:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.search-icon-wrapper {
    color: #00b49f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    cursor: pointer;
}
.search-divider {
    width: 1px;
    height: 24px;
    background-color: #e2e8f0;
    margin: 0 4px;
}
.search-btn {
    background-color: #00b49f;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.search-btn:hover {
    background-color: #009c8a;
}
.healthmate-text {
    color: #424141;
    font-size: 16px;
    font-weight: 600;
}
.action-circle-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #4a5568;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    transition: all 0.2s ease;
}
.action-circle-btn:hover {
    background-color: #f8f9fa;
    color: #00b49f;
    border-color: #00b49f;
}

/* --- Custom Breadcrumb Styling --- */
.lifed-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.lifed-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.lifed-breadcrumb .breadcrumb-item a:hover {
    color: #00b49f;
}

.lifed-breadcrumb .breadcrumb-item.active {
    color: #00b49f;
    font-weight: 600;
}

/* Custom separator arrow */
.lifed-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\203A"; /* Single right-pointing angle quotation mark */
    color: #94a3b8;
    font-size: 1.4rem;
    line-height: 1;
    vertical-align: middle;
    padding: 0 0.5rem;
}

/* ==========================================================================
   LIFED Healthmate Registration Form - Modern SaaS Theme
   ========================================================================== */

/* --- Card & Container Styling --- */
.card {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f5f9 !important;
    background-color: #ffffff;
}

.card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.5rem 2rem !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.card-header h4 {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.card-body {
    padding: 2.5rem !important;
}

/* --- Step Indicators --- */
.bg-success {
    background-color: #00b49f !important;
}

.text-success {
    color: #00b49f !important;
}

.bg-secondary {
    background-color: #f1f5f9 !important;
    color: #64748b !important;
}

.rounded-circle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bg-success.rounded-circle {
    box-shadow: 0 4px 12px rgba(0, 180, 159, 0.25);
}

hr {
    border-color: #e2e8f0;
    opacity: 1;
}

.small.mt-2 {
    color: #475569;
    font-weight: 500;
    font-size: 0.85rem;
}

/* --- Form Inputs & Textareas --- */
.form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.25s ease-in-out;
    box-shadow: none !important;
}

.form-control:hover, .form-select:hover {
    border-color: #cbd5e1;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    border-color: #00b49f;
    box-shadow: 0 0 0 4px rgba(0, 180, 159, 0.1) !important;
}

/* --- Tom Select Overrides (To match form controls) --- */
.ts-control {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.8rem 1.2rem !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
    transition: all 0.25s ease-in-out;
}
.ts-wrapper.focus .ts-control {
    background-color: #ffffff !important;
    border-color: #00b49f !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 159, 0.1) !important;
}

/* --- Checkboxes & Radio Buttons --- */
.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border-color: #cbd5e1;
    margin-top: 0.15rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #00b49f;
    border-color: #00b49f;
}

.form-check-input:focus {
    border-color: #00b49f;
    box-shadow: 0 0 0 4px rgba(0, 180, 159, 0.1);
}

.form-check-label {
    color: #475569;
    font-weight: 500;
    cursor: pointer;
    margin-left: 0.25rem;
}

/* --- Category Boxes & Inner Panels --- */
.bg-light {
    background-color: #f8fafc !important;
}

.border {
    border-color: #e2e8f0 !important;
}

/* --- Buttons --- */
.btn {
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-success {
    background-color: #00b49f;
    border-color: #00b49f;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 180, 159, 0.2);
}

.btn-success:hover, .btn-success:focus:not(:disabled) {
    background-color: #009c8a;
    border-color: #009c8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 180, 159, 0.3);
}

.btn-outline-success {
    color: #00b49f;
    border-color: #00b49f;
    background-color: transparent;
}

.btn-outline-success:hover:not(:disabled) {
    background-color: #00b49f;
    color: #ffffff;
}

.btn-outline-secondary {
    color: #64748b;
    border-color: #e2e8f0;
    background-color: #ffffff;
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* --- Drag & Drop Zone --- */
#photoDropZone {
    background-color: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#photoDropZone:hover, #photoDropZone.border-success {
    border-color: #00b49f !important;
    background-color: rgba(0, 180, 159, 0.03) !important;
}

#photoDropZone h6 {
    color: #334155;
    font-weight: 600;
}

/* --- File Input Overrides --- */
input[type="file"] {
    background-color: #ffffff;
    padding: 0.6rem;
}
input[type="file"]::file-selector-button {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 1rem;
}
input[type="file"]::file-selector-button:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* --- Animations for Steps --- */
#step1, #step2, #step3 {
    animation: fadeInSlideUp 0.4s ease-out forwards;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Typography Spacing --- */
h5 {
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.text-muted {
    color: #64748b !important;
}

/*=====================================
======= header search =================
======================================*/

/* ===========================
   Website Header Search
=========================== */

.website-search-form{
    width:100%;
    max-width:520px;
}

.website-search-box{

    display:flex;
    align-items:center;

    width:100%;

    height:48px;

    background:#fff;

    border:1px solid #E5E7EB;

    border-radius:999px;

    padding:0 18px;

    transition:.25s ease;
}

.website-search-box:focus-within{

    border-color:#00ad9c;

    box-shadow:0 0 0 4px rgba(0,173,156,.08);

}

.website-search-icon{

    font-size:18px;

    color:#00ad9c;

    margin-right:12px;

}

.website-search-input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;

    color:#414242;

}

.website-search-input::placeholder{

    color:#9CA3AF;

}

.lifed-header .dropdown-toggle::after {
    display: none;
}

.website-dropdown-menu{

    margin-top:14px;

    min-width:240px;

    border:none;

    border-radius:18px;

    padding:12px 0;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    overflow:hidden;

}

.website-dropdown-menu .dropdown-header{

    font-size:14px;

    font-weight:700;

    color:#8B8F98;

    padding:8px 22px;

}

.website-dropdown-menu .dropdown-item{

    padding:12px 22px;

    font-size:16px;

    font-weight:600;

    color:#414242;

    transition:.2s;

}

.website-dropdown-menu .dropdown-item:hover{

    background:#F5FBFA;

    color:#00AD9C;

}

.website-dropdown-menu .dropdown-divider{

    margin:8px 0;

}

/* Hide Bootstrap dropdown arrow */

.action-circle-btn.dropdown-toggle::after{

    display:none;

}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem !important;
    }
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .d-flex.justify-content-between > button {
        width: 48%;
        margin-bottom: 0;
    }
}


/*------ LEGAL CSS ---------*/

/* =========================================================
   LIFED LEGAL PAGE
========================================================= */

.lfd-legal-page {
    --legal-teal: var(--hmh-teal, #00ae9d);
    --legal-deep: #164e48;
    --legal-ink: #253330;
    --legal-muted: #6f7d7a;
    --legal-line: rgba(22, 78, 72, 0.11);
    --legal-soft: #f5faf9;
    --legal-aqua: rgba(0, 174, 157, 0.07);

    background: #ffffff;
    color: var(--legal-ink);

    font-family: "Nunito", sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.lfd-legal-hero {
    position: relative;
    overflow: hidden;

    padding: 88px 0 72px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(0, 174, 157, 0.13),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #f4fbfa 0%,
            #ffffff 62%
        );

    border-bottom: 1px solid var(--legal-line);
}

.lfd-legal-hero::after {
    content: "";

    position: absolute;
    right: -100px;
    top: -130px;

    width: 360px;
    height: 360px;

    /*border: 1px solid rgba(0, 174, 157, 0.12);*/
    border-radius: 50%;

    pointer-events: none;
}

.lfd-legal-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 24px;

    color: var(--legal-muted);

    font-size: 0.82rem;
    font-weight: 700;
}

.lfd-legal-breadcrumb a {
    color: var(--legal-teal);
    text-decoration: none;
}

.lfd-legal-breadcrumb i {
    font-size: 0.62rem;
}

.lfd-legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;
    padding: 7px 11px;

    border: 1px solid rgba(0, 174, 157, 0.15);
    border-radius: 999px;

    background: rgba(0, 174, 157, 0.06);
    color: var(--legal-teal);

    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lfd-legal-hero h1 {
    max-width: 800px;
    margin: 0;
    color: var(--legal-teal);
    font-size: clamp(2.2rem, 3vw, 4.1rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lfd-legal-hero-intro {
    max-width: 730px;

    margin: 22px 0 0;

    color: var(--legal-muted);

    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.75;
}

.lfd-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;

    margin-top: 28px;
}

.lfd-legal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    border: 1px solid var(--legal-line);
    border-radius: 12px;

    background: rgba(255,255,255,.8);
    color: #61706d;

    font-size: 0.79rem;
    font-weight: 700;
}

.lfd-legal-meta-item i {
    color: var(--legal-teal);
}


/* =========================================================
   PAGE LAYOUT
========================================================= */

.lfd-legal-main {
    padding: 64px 0 90px;
}

.lfd-legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 58px;
    align-items: start;
}

.lfd-legal-sidebar {
    position: sticky;
    top: 110px;
}

.lfd-legal-sidebar-card {
    overflow: hidden;

    border: 1px solid var(--legal-line);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 12px 34px rgba(22, 78, 72, 0.06);
}

.lfd-legal-sidebar-title {
    padding: 17px 18px;

    border-bottom: 1px solid var(--legal-line);

    color: var(--legal-deep);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lfd-legal-nav {
    margin: 0;
    padding: 9px;

    list-style: none;
}

.lfd-legal-nav li + li {
    margin-top: 2px;
}

.lfd-legal-nav a {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 11px;

    border-radius: 10px;

    color: #687673;

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.lfd-legal-nav a span {
    min-width: 22px;

    color: var(--legal-teal);

    font-weight: 900;
}

.lfd-legal-nav a:hover,
.lfd-legal-nav a:focus-visible {
    background: var(--legal-aqua);
    color: var(--legal-deep);

    transform: translateX(2px);
}


/* =========================================================
   DOCUMENT
========================================================= */

.lfd-legal-document {
    min-width: 0;
    max-width: 920px;
}

.lfd-legal-opening {
    margin-bottom: 42px;
}

.lfd-legal-opening h2 {
    margin: 0 0 15px;

    color: var(--legal-deep);

    font-size: clamp(1.55rem, 2vw, 1.9rem);
    font-weight: 800;
}

.lfd-legal-document p,
.lfd-legal-document li {
    color: #52615e;

    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.78;
}

.lfd-legal-document p {
    margin: 0 0 16px;
}

.lfd-legal-document strong {
    color: #263b37;
    font-weight: 800;
}

.lfd-legal-section {
    scroll-margin-top: 120px;

    margin-top: 52px;
    padding-top: 8px;
}

.lfd-legal-section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 25px;
}

.lfd-legal-section-number {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--legal-teal);
    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(0, 174, 157, 0.2);
}

.lfd-legal-section-header h2 {
    margin: 4px 0 0;

    color: var(--legal-deep);

    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.25;
}

.lfd-legal-clause {
    margin-bottom: 17px;
}

.lfd-legal-clause-id {
    color: var(--legal-teal);
    font-weight: 900;
}

.lfd-legal-list {
    margin: 10px 0 20px;
    padding-left: 24px;
}

.lfd-legal-list li {
    margin-bottom: 7px;
}


/* =========================================================
   CALLOUTS
========================================================= */

.lfd-legal-callout {
    position: relative;

    margin: 26px 0;
    padding: 20px 22px 20px 24px;

    overflow: hidden;

    border: 1px solid rgba(0, 174, 157, 0.14);
    border-radius: 17px;

    background:
        linear-gradient(
            120deg,
            rgba(0, 174, 157, 0.075),
            rgba(255, 255, 255, 0.95)
        );
}

.lfd-legal-callout::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--legal-teal);
}

.lfd-legal-callout-title {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 7px;

    color: var(--legal-deep);

    font-size: 0.92rem;
    font-weight: 900;
}

.lfd-legal-callout-title i {
    color: var(--legal-teal);
}

.lfd-legal-callout p:last-child {
    margin-bottom: 0;
}

.lfd-legal-keypoints {
    display: grid;
    gap: 10px;

    margin: 25px 0 0;
}

.lfd-legal-keypoint {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;

    padding: 14px 16px;

    border: 1px solid var(--legal-line);
    border-radius: 14px;

    background: #ffffff;
}

.lfd-legal-keypoint-icon {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--legal-aqua);
    color: var(--legal-teal);
}

.lfd-legal-keypoint p {
    margin: 1px 0 0;
}


/* =========================================================
   TABLES
========================================================= */

.lfd-legal-table-wrap {
    margin: 22px 0 30px;

    overflow-x: auto;

    border: 1px solid var(--legal-line);
    border-radius: 17px;

    background: #ffffff;
}

.lfd-legal-table {
    width: 100%;
    min-width: 690px;

    border-collapse: collapse;
}

.lfd-legal-table th,
.lfd-legal-table td {
    padding: 14px 15px;

    border-bottom: 1px solid var(--legal-line);

    text-align: left;
    vertical-align: middle;

    font-size: 0.86rem;
}

.lfd-legal-table th {
    background: #f4faf9;
    color: var(--legal-deep);

    font-weight: 900;
}

.lfd-legal-table td {
    color: #596764;

    font-weight: 600;
}

.lfd-legal-table tbody tr:last-child td {
    border-bottom: 0;
}

.lfd-legal-table td:first-child {
    color: var(--legal-deep);
    font-weight: 900;
}


/* =========================================================
   SIGN OFF
========================================================= */

.lfd-legal-signoff {
    margin-top: 60px;
    padding: 28px;

    border: 1px solid rgba(0, 174, 157, 0.16);
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #f4faf9,
            #ffffff
        );
}

.lfd-legal-signoff h2 {
    margin: 0 0 18px;

    color: var(--legal-deep);

    font-size: 1.55rem;
    font-weight: 800;
}

.lfd-legal-contact {
    display: grid;
    gap: 10px;

    margin-top: 20px;
}

.lfd-legal-contact a {
    color: var(--legal-teal);

    font-weight: 800;
    text-decoration: none;
}

.lfd-legal-version {
    margin-top: 28px;
    padding-top: 20px;

    border-top: 1px solid var(--legal-line);

    color: #7c8986;

    font-size: 0.79rem;
    font-weight: 700;
}


/* =========================================================
   MOBILE
========================================================= */

.lfd-legal-mobile-nav {
    display: none;
}

@media (max-width: 991.98px) {

    .lfd-legal-layout {
        display: block;
    }

    .lfd-legal-sidebar {
        display: none;
    }

    .lfd-legal-mobile-nav {
        display: block;

        margin-bottom: 32px;
    }

    .lfd-legal-mobile-nav select {
        width: 100%;
        min-height: 50px;

        padding: 0 14px;

        border: 1px solid var(--legal-line);
        border-radius: 13px;

        background: #ffffff;
        color: var(--legal-deep);

        font-family: "Nunito", sans-serif;
        font-size: 0.88rem;
        font-weight: 800;
    }

}

@media (max-width: 767.98px) {

    .lfd-legal-hero {
        padding: 58px 0 48px;
    }

    .lfd-legal-main {
        padding: 42px 0 65px;
    }

    .lfd-legal-meta {
        gap: 8px;
    }

    .lfd-legal-meta-item {
        width: 100%;
    }

    .lfd-legal-section {
        margin-top: 42px;
    }

    .lfd-legal-section-header {
        gap: 11px;
    }

    .lfd-legal-section-number {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        border-radius: 11px;
    }

    .lfd-legal-document p,
    .lfd-legal-document li {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .lfd-legal-signoff {
        padding: 21px 18px;
    }

}
