﻿html, body {
    font-family: "Inter", sans-serif !important;
}

.status-progress-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.status-progress-track {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 70px;
    /* reserve space for circles and labels */
}

.status-bar-track-line,
.status-bar-track-line-completed {
    position: absolute;
    top: 18px;
    left: 0;
    height: 4px;
    border-radius: 2px;
    z-index: 1;
}

.status-bar-track-line {
    width: 100%;
    background: #dee2e6;
}

.status-bar-track-line-completed {
    background: #0d6efd;
}

.status-step {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px; /* Ensures label has space */
    z-index: 2;
    /* Remove width: 0; */
    box-sizing: border-box;
}

.status-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0.3rem;
    border: 3px solid #dee2e6;
    background: #f8f9fa;
    transition: background 0.2s, border 0.2s;
}

.status-circle-completed {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.status-bar-track-line-grey {
    width: 100%;
    background: #adb5bd !important;
}

.status-circle-grey {
    background: #adb5bd !important;
    color: #fff !important;
    border-color: #adb5bd !important;
}

.status-circle-current {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

.status-circle-upcoming {
    background: #e9ecef;
    color: #adb5bd;
    border-color: #dee2e6;
}

.status-label {
    text-align: center;
    font-size: 0.95em;
    width: 100%;
    max-width: 120px;
    min-width: 60px;
    margin-top: 0.1rem;
    line-height: 1.2;
    white-space: normal;
    word-break: normal; /* Wrap on words, not characters */
    box-sizing: border-box;
}

.status-label-completed {
    color: #0d6efd;
}

.status-label-current {
    color: #198754;
    font-weight: bold;
}

.status-label-upcoming {
    color: #adb5bd;
}

.paddingtop {
    padding-top: 3em;
}

.external-notes {
    font-family: "Inter", sans-serif !important; /* Inherit from parent, matches site */
    font-size: inherit !important; /* Inherit size */
    color: inherit !important; /* Inherit color */
    white-space: normal !important; /* Allow normal wrapping */
    margin: 0 !important; /* Remove extra margin */
    padding: 0 !important; /* Remove extra padding */
    word-break: break-word !important;
}

.no-wrap {
    white-space: nowrap !important;
}

.mat-table, .mat-cell {
    font-family: "Inter", sans-serif !important;
    color: #1B2A5B !important;
    font-size: 14px !important;
    padding: 0 20px; /* 20px horizontal padding for spacing */
    border-bottom: 1px solid #1d2a5b;
    text-align: left !important;
    vertical-align: top;
    white-space: normal;
}

.mat-header-cell {
    font-family: "Inter", sans-serif !important;
    color: #0E4C90 !important;
    font-size: 14px !important;
    padding: 0 20px; /* 20px horizontal padding for spacing */
    border-top: 3px solid #1d2a5b;
    border-bottom: 3px solid #1d2a5b;
    background: #EEF4F6;
    text-align: left !important;
    vertical-align: top;
    white-space: normal;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.mat-table {
    min-width: 600px; /* Adjust as needed for your columns */
    width: 100%;
}

h2 {
    font-family: "Inter", sans-serif !important;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    color: #0E4C90;
    text-transform: uppercase;
    margin: 0 0 20px;
}

h5 {
    text-transform: uppercase !important;
}

.mat-button {
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    text-transform: none !important;
}

.modal-title {
    color: #fff !important;
}

.modal-header {
    background: #0E4C90 !important;
    color: #fff !important;
}

.modal-header .close {
    color: #fff !important;
    opacity: 1;
    font-size: 2rem;
    background: #0E4C90;
    border: none;
    box-shadow: none;
    padding: 0 0.75rem;
    line-height: 1;
}

.modal-header .close:hover,
.modal-header .close:focus {
    background: #0E4C90 !important;
    color: #fff !important;
}

.modal-footer .btn-secondary {
    color: #0E4C90 !important;
    background: transparent !important;
    border: 1px solid #0E4C90 !important;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.modal-footer .btn-secondary:hover,
.modal-footer .btn-secondary:focus {
    color: #fff !important;
    background: #0E4C90 !important;
    border: 1px solid #0E4C90 !important;
}

p {
    font-family: "Inter", sans-serif !important;
}
