/* /Components/ReusableControls/HeritageTimeline.razor.rz.scp.css */
.heritage-timeline[b-croprepcac] {
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
}

.header[b-croprepcac] {
    margin-bottom: 50px;
}

.years-outer[b-croprepcac] {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.years-container[b-croprepcac] {
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.years-container[b-croprepcac]::-webkit-scrollbar {
    display: none;
}

.scroll-wrapper[b-croprepcac] {
    display: inline-block;
    min-width: 100%;
    overflow: scroll;
}

.years-scroll[b-croprepcac] {
    display: flex;
}

.year-item[b-croprepcac] {
    flex: 0 0 calc(100% / 7);
    text-align: center;
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    user-select: none;
}

.year-text[b-croprepcac] {
    font-size: 32px;
    font-weight: 600;
    color: #D9D9D9;
    transition: color 0.3s ease;
}

.year-item.active .year-text[b-croprepcac] {
    color: #000000;
}

.year-underline[b-croprepcac] {
    height: 8px;
    background-color: #F2F2F2;
    margin: 12px auto 0;
    width: 40px;
    border-radius: 4px;
    transition: background-color 0.3s ease, height 0.3s ease, width 0.3s ease;
}

.year-item.active .year-underline[b-croprepcac] {
    background-color: #F9C216;
    height: 12px;
    width: 60px;
}

.timeline-line-container[b-croprepcac] {
    position: relative;
    height: 2px;
    margin-top: 10px;
    background-color: #F2F2F2;
}

.timeline-dot[b-croprepcac] {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background-color: #F9C216;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease;
}

.content-container[b-croprepcac] {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    padding: 10px 20px;
}

.content-title[b-croprepcac] {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    color: #182D56;
    margin-bottom: 5px;
}

.content-description[b-croprepcac] {
    font-size: 18px;
    color: black; /* BlueSecondary */
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 960px) {
    .year-item[b-croprepcac] {
        flex: 0 0 25%; /* Show 4 years */
    }
    
    .year-text[b-croprepcac] {
        font-size: 24px;
    }
    
    .year-underline[b-croprepcac] {
        width: 30px;
        height: 6px;
    }

    .year-item.active .year-underline[b-croprepcac] {
        height: 10px;
        width: 40px;
    }

    .content-container[b-croprepcac] {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-title[b-croprepcac] {
        font-size: 28px;
    }
    
    .content-description[b-croprepcac] {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .year-item[b-croprepcac] {
        flex: 0 0 33.33%; /* Show 3 years */
    }
    
    .year-text[b-croprepcac] {
        font-size: 20px;
    }
}
/* /Components/ReusableControls/PhoneNumberInput.razor.rz.scp.css */
.phone-number-input[b-66qlmgjh5m] {
    align-items: flex-start;
    width: 100%;
    /* Gap is set here rather than with MudBlazor's gap-2 utility (8px), which left the code and
       number fields reading as two unrelated controls instead of one phone field. */
    column-gap: 4px;
}

/* Line the flag up with the input box rather than the floating label above it. */
.phone-number-input > .phone-number-input-flag[b-66qlmgjh5m] {
    margin-top: 1.25rem;
    margin-right: 4px;
    flex: 0 0 auto;
}

/* ::deep is required for these two. The class lands on MudBlazor's own root element, which does
   not carry this component's scope attribute, so a plain selector here matches nothing and the
   fields fall back to MudBlazor's full width. */

/* Size the .mud-autocomplete root, not the class passed via Class. MudBlazor puts Class on an
   inner element and keeps flex-grow: 1 on the .mud-select root, so constraining only the inner one
   left the flex item stretching behind a correctly sized border, which read as a large gap. */
.phone-number-input[b-66qlmgjh5m]  .mud-autocomplete {
    flex: 0 0 7rem;
    max-width: 7rem;
    min-width: 7rem;
    flex-grow: 0;
}

/* Only ever holds "+971" and the dropdown arrow, so it does not need to rival the number field. */
.phone-number-input[b-66qlmgjh5m]  .phone-number-input-country {
    width: 100%;
}

.phone-number-input[b-66qlmgjh5m]  .phone-number-input-number {
    flex: 1 1 auto;
    min-width: 0;
}

/* Fill the row so the dial code can sit hard right, away from the country name. */
.phone-number-input-item[b-66qlmgjh5m] {
    width: 100%;
}

/* Empty slot before a country is chosen, same box so nothing shifts on selection. */
.phone-number-input-flag-empty[b-66qlmgjh5m] {
    border: 1px dashed var(--mud-palette-lines-inputs);
    background: transparent;
}

/* Flags are 4:3 with a fixed box, so short and wide flags keep the rows aligned. */
.phone-number-input-flag[b-66qlmgjh5m] {
    width: 1.5rem;
    height: 1.125rem;
    object-fit: cover;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .phone-number-input[b-66qlmgjh5m]  .mud-autocomplete {
        flex: 0 0 6.5rem;
        max-width: 6.5rem;
        min-width: 6.5rem;
    }
}
