/* ===== Patient Guide Custom Styling ===== */

/* Base container styling */
.guide-page-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

/* Fluid responsive headings specific to the guide content */
.timeman-privacy-policy-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-patient-primary, var(--color-text, #1A1A1A));
    font-weight: 800;
}

.timeman-privacy-policy-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 0.9rem;
    color: var(--color-patient-primary, var(--color-text, #1A1A1A));
    font-weight: 700;
}

.timeman-privacy-policy-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: 0.8rem;
    color: var(--color-patient-primary, var(--color-text, #1A1A1A));
}

.timeman-privacy-policy-content p {
    line-height: 1.6;
    color: var(--color-patient-text-light, var(--color-text-light, #555555));
    font-size: 1rem;
}

.timeman-privacy-policy-content hr {
    height: 1px;
    background-color: #e2e8f0;
    border: none;
    width: 100%;
    margin: 1.5em 0;
}

/* Container for section headers */
.timeman-privacy-policy-content .header {
    text-align: center;
    padding: 10px 16px;
    background: var(--color-primary, var(--color-patient-accent, var(--color-drawer-accent, #7CB342)));
    color: #ffffff;
    margin: 24px 0 16px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.timeman-privacy-policy-content .header h1 {
    font-size: 1.05rem;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Custom list items inside the guide */
.learnmore ol {
    padding-left: 0;
    counter-reset: guide-counter;
    list-style: none;
}

.learnmore ol>li {
    counter-increment: guide-counter;
    position: relative;
    padding-left: 36px;
    margin-bottom: 24px;
}

.learnmore ol>li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--color-primary, var(--color-patient-accent, var(--color-drawer-accent, #7CB342)));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.learnmore ul {
    list-style-type: none;
    margin: 12px 0 0 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.learnmore ul li {
    position: relative;
    padding-left: 20px;
    color: var(--color-patient-text-light, var(--color-text-light, #555555));
    font-size: 0.925rem;
    line-height: 1.5;
}

.learnmore ul li::before {
    content: "\2713";
    /* Checkmark symbol */
    position: absolute;
    left: 0;
    color: var(--color-primary, var(--color-patient-accent, var(--color-drawer-accent, #7CB342)));
    font-weight: 900;
}

/* Nested details lists styling */
.learnmore2 ul {
    margin-left: 12px;
    margin-top: 6px;
}

.learnmore2 ul li::before {
    content: "\2022";
    /* Bullet point */
    font-size: 1.1rem;
    top: -1px;
}

/* Anchor positioning helper to account for sticky header */
.subj_pointer {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* Responsive columns & columns containers */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.column {
    flex: 1;
    padding: 20px;
    background-color: var(--color-primary, var(--color-patient-accent, var(--color-drawer-accent, #7CB342)));
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: 8px;
    text-align: center;
    color: white;
}

.column_clear {
    flex: 1;
    padding: 0;
    background-color: transparent;
    text-align: start;
    align-items: center;
}

/* Media Query overrides */
@media (max-width: 768px) {
    .guide-page-wrapper {
        padding: 20px 16px;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }
}

/* Back button styling */
.guide-header-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.back-btn-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.back-btn-chevron:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.back-btn-chevron svg {
    transition: transform 0.2s ease;
}

.back-btn-chevron:hover svg {
    transform: translateX(-1px);
}

/* Hide Floating Action Button on Guide Page */
.fab-button {
    display: none !important;
}