html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.overview-wrapper h3 {
    padding-top: 25px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.active-link {
    font-weight: bold;
    color: #007bff; /* Adjust color as needed */
    border-bottom: 2px solid #007bff;
}

#displayLoginsTextSpan {
    margin-right: 10px;
}
/* Default right-pointing arrow */
.arrow-icon {
    transition: transform 0.3s ease; /* Smooth rotation */
}

/* Rotate 90 degrees when expanded */
.rotate-90 {
    transform: rotate(90deg); /* Downward arrow */
}

#overviewTitleHeading, #search-button, #refresh-form {
    margin: 15px 0;
}

#date-info-button, #downloadBarChart,
#downloadPieChart, #search-button, #login-button, #generatePressChart,
#lineChartButton, #pieChartButton, #download-csv-button {
    background-color: #F48327;
    color: white;
    border-color: transparent;
    font-weight: bold;
    text-decoration: none;
    margin: 20px 0;
}

#selectYearButton, #downloadLineChart, #downloadTotalLoginsLineChart, #generateUniqueLoginsChart, #downloadUniqueLoginsChart,
#generateTotalLoginsDateRangeChart, #downloadTotalLoginsDateRangeChart, #generateOktaActivationsChart, #downloadOktaActivationsChart, #refreshOktaData,
#generateLoginsByMonthChart, #downloadLoginsByMonthChart, #generateLoginsChart, #downloadLoginsChart, #generateMonthlyLoginsChart, #downloadMonthlyLoginsChart {
    background-color: #F48327;
    color: white;
    border-color: transparent;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.orange-button, .orange-button:active, .orange-button:focus {
    background-color: #F48327;
    color: white;
    border-color: transparent;
    font-weight: bold;
    text-decoration: none;
}

#generateMonthComparisonChart {
    margin-right: 10px;
}

#multiple-year-button-wrapper {
    margin: 15px 0;
}

.multi-select-wrapper-inner-wrapper {
    margin-right: 10px;
}

#multi-select-wrapper {
    display: flex;
}

#yearWrapper, #uniqueYearWrapper, #totalLoginsDateRangeWrapper, #oktaActivationsWrapper, #loginsByMonthWrapper, #loginsDateRangeWrapper,
#monthlyLoginsYearWrapper  {
    display: flex;
    margin-bottom: 25px;
}

#totalLoginsDateRangeWrapper > label,
#loginsByMonthWrapper > label,
#loginsDateRangeWrapper > label {
    margin: auto 0;
    margin-right: 10px;
}

#chartModeToggle {
    margin-left: 5px;
}

#filterLoginsLabel {
    padding-top: 10px;
}

#dateRangeLabelEnd, #loginsByMonthEndDateLabel, #loginsEndDateLabel {
    padding-left: 10px;
}

#downloadPdfButton {
    margin-bottom: 10px;
}

#downloadPdfButton, #downloadUserPdfButton {
    background-color: #F48327;
    color: white;
    border-color: transparent;
    font-weight: bold;
    text-decoration: none;
}

#pressDropdown, #pressInput {
    height: 30px;
}

.h1 {
    font-size: 24px;
}

.dashboard-tip {
    margin-bottom: 10px;
}

.statisticsValue {
    font-weight: bold;
    max-width: 500px;
}

.new-line {
    display: block;
}

#chartContainer {
    margin-top: 20px;
    height: 400px;
    width: 100%;
}

#lineChartContainer {
    height: 400px;
    width: 100%;
}

#lineChartSection {
    margin-top: 20px;
}

.h2 {
    font-size: 18px;
}

#mediaList--alt {
    color: darkred;
    margin-top: 25px;
}

.spinner {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#mediaProfileDropdown {
    width: 100%;
}

#yearDropdown {
    width: 100px;
    margin-top: 15px;
    margin-right: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: black;
    margin: 15% auto;
    padding: 0 10px;
    border: 1px solid #888;
    width: 400px;
    color: white;
}

#modal-text1, #modal-text2, #modal-text3, #modal-text4, #modal-text5 {
    font-size: 20px;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    text-align: end;
}

    .close:hover,
    .close:focus {
        color: gray;
        text-decoration: none;
        cursor: pointer;
    }

.underlinedText {
    text-decoration: underline;
}

.login-wrapper {
    text-align: center;
    margin-top: 25px;
}

#logout-button {
    background-color: #F48327;
    color: white;
    border-color: transparent;
    font-weight: bold;
    text-decoration: none;
}

.select-span {
    margin-right: 10px;
}

#downloadPressLineChartButton, #downloadPieChartButton {
    margin-top: 50px;
    background-color: #F48327;
    border-color: transparent;
}

.btn-primary:hover {
    background-color: #F48327;
    border-color: transparent;
}

.active-link {
    font-weight: bold;
    color: #F48327; /* Adjust color as needed */
    border-bottom: 2px solid #F48327;
}

.info-section-grid {
    display: grid;
    grid-template-columns: 600px 600px;
}

.statisticsGrid {
    display: grid;
    grid-template-columns: 400px 1000px;
}

.span-list-header {
    font-weight: bold;
    margin-right: 10px;
}

.span-list-container {
    margin-bottom: 25px;
}

#loginsVsFailedLoginsHeader {
    margin-top: 50px;
}

#lineChart, #totalLoginsLineChart {
    width: 1200px;
    margin: 50px auto;
}

#pressDownloadsLineChart {
    width: 1200px;
    margin: 0 auto;
}

.toggle-container {
    margin-bottom: 20px;
}
.format-toggle-div {
    margin: 10px 0;
}

#log-disclaimer {
    margin-top: 15px;
}

/* Okta blue button */
.btn-canon {
    background-color: #00297a;
    border-color: #00297a;
    color: #fff;
}
.btn-canon:hover,
.btn-canon:focus {
    background-color: #002267;
    border-color: #001f64;
    color: #fff;
}
.btn-canon:active {
    background-color: #001c59;
    border-color: #001a53;
    color: #fff;
}
.btn-canon:disabled {
    background-color: #00297a;
    border-color: #00297a;
    color: #fff;
}
.btn-canon .spinner-border { color: #fff; }

/* HubSpot Orange button (#f57722) */
.btn-hubspot {
    background-color: #f57722;
    border-color: #f57722;
    color: #fff;
}
.btn-hubspot:hover,
.btn-hubspot:focus {
    background-color: #d9661c; /* slightly darker */
    border-color: #c75d1a;
    color: #fff;
}
.btn-hubspot:active {
    background-color: #bf5b18;
    border-color: #b65717;
    color: #fff;
}
.btn-hubspot:disabled {
    background-color: #f57722;
    border-color: #f57722;
    color: #fff;
}
.btn-hubspot .spinner-border { color: #fff; }
.btn-hubspot:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(245, 119, 34, .35);
}

/* Labeled border group */
.labeled-group {
    position: relative;
    border: 2px solid;
    border-radius: 8px;
    padding: 16px 16px 12px;
    margin: 24px 0;
}
.labeled-group .legend {
    position: absolute;
    top: -12px;           /* sits on the border */
    left: 12px;
    background: var(--bs-body-bg, #fff); /* matches page background */
    padding: 0 8px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
}

/* Variants */
.lg-okta    { border-color: #00297a; }
.lg-okta .legend { color: #00297a; }

.lg-hubspot    { border-color: #f57722; }
.lg-hubspot .legend { color: #f57722; }