﻿.cg-title-1 {
    font-size: 1.5em;
    color: #5f65a7;
}

.sg-font-sm {
    font-size: .8em;
}

.sg-font-md {
    font-size: 1em;
}

.sg-font-lg {
    font-size: 1.2em;
}

.sg-font-xlg {
    font-size: 1.4em;
}

.cg-color-orange-1 {
    color: #AE6224;
}

.cg-bgcolor-orange-1 {
    background-color: #AE6224;
    color: white;
}

.cg-color-purple-1 {
    color: #5f65a7;
}

.cg-bgcolor-purple-1 {
    background-color: #5f65a7;
    color: white;
}

.cg-bgcolor-purple-2 {
    background-color: #ededf7;
    color: black;
}

.cg-color-blue-1 {
    color: #5796b6;
}

.cg-bgcolor-blue-1 {
    background-color: #5796b6;
    color: white;
}

.cg-headbar {
    height: 5px;
    width: 100%;
}

.cg-footer-info {
    padding: 10px;
}
.cg-footbar {
    height: 3px;
    width: 100%;
}

.btn-primary {
    background: rgb(95,101,167);
    color: #ffffff;
}

.cg-text-hint {
    font-size: .85em;
    color: #757575;
}

.sg-inputfield-w3{
    width: 100px;
}

.sg-inputfield-w2 {
    width: 100px;
}

.sg-date {
    min-width: 150px;
    margin: auto;
}

.sg-datetime {
    width: 200px;
    min-width: 200px;
}

.sg-table-fitcontent {
    white-space: nowrap;
    width: 1%;
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.show-on-focus {
    position: absolute;
    top: -100px;
    left: 0;
    background: #333;
    color: #fff;
    padding: 1em;
    z-index: 100;
    transition: top 0.3s;
}

.show-on-focus:focus {
    top: 0;
}

.sg-required:before {
    content: "* ";
    color: black;
}

.FloatLeft {
    float: left;
}

/* Selected row color */
#tblCaregivers.display.dataTable > tbody > tr.selected > *,
#tblCaregivers.display.dataTable > tbody > tr.odd.selected > *,
#tblCaregivers.display.dataTable > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #efefef !important;
    color: inherit;
    background-color: inherit;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.2s ease-in-out;
}

/* --- CSP: Extracted inline styles --- */

.cg-header-row {
    height: 100px;
    line-height: 100px;
}

.cg-header-logo-col {
    width: 20%;
}

.cg-header-title-col {
    width: 60%;
}

.cg-header-title-inner {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.cg-border-purple {
    border-color: #5f65a7;
}

.cg-iframe-full {
    border: none;
    max-width: 100%;
    max-height: 100vh;
}

.cg-video-responsive {
    width: 100% !important;
    height: auto !important;
}

.cg-max-w-400 {
    max-width: 400px;
}

.cg-cursor-pointer {
    cursor: pointer;
}

.cg-valign-top {
    vertical-align: top;
}

.cg-svg-icon {
    vertical-align: top;
    margin-top: 5px;
}

.cg-pt-10 {
    padding-top: 10px;
}

.cg-p-20 {
    padding: 20px;
}

.cg-pb-10 {
    padding-bottom: 10px;
}

.cg-mb-30 {
    margin-bottom: 30px;
}

.cg-me-30 {
    margin-right: 30px;
}

.cg-me-5 {
    margin-right: 5px;
}

/* Navbar padding override (from _Head.cshtml) */
#myNavbar {
    padding-left: 0;
}

#myNavbar > li:first-of-type a {
    padding-left: 0;
}

/* Nav centering (from Profile/Personal.cshtml) */
.nav-tabs.cg-centered > li,
.nav-pills.cg-centered > li {
    float: none;
    display: inline-block;
    zoom: 1;
}

.nav-tabs.cg-centered,
.nav-pills.cg-centered {
    text-align: center;
}

/* Spinner animation */
.glyphicon.spinning {
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        -webkit-transform: scale(1) rotate(0deg);
        transform: scale(1) rotate(0deg);
    }
    to {
        -webkit-transform: scale(1) rotate(360deg);
        transform: scale(1) rotate(360deg);
    }
}

.cg-w-250 {
    width: 250px;
}

.cg-h-200 {
    height: 200px;
}

/* --- Step Indicator --- */

.cg-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.cg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    min-width: 0;
}

/* Connector line drawn as a pseudo-element between steps */
.cg-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 18px; /* vertical center of the 36px circle */
    height: 2px;
    left: calc(-50% + 18px);  /* right edge of previous circle */
    right: calc(50% + 18px);  /* left edge of current circle */
    background: #dee2e6;
    transition: background .2s;
}

.cg-step.active::before,
.cg-step.completed::before {
    background: #5f65a7;
}

.cg-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #6c757d;
    transition: background .2s, border-color .2s, color .2s;
    z-index: 1;
}

.cg-step-circle.active {
    background: #AE6224;
    border-color: #AE6224;
    color: #fff;
}

.cg-step-circle.completed {
    background: #5f65a7;
    border-color: #5f65a7;
    color: #fff;
}

.cg-step-label {
    margin-top: .4rem;
    font-size: .78rem;
    text-align: center;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.cg-step-label.active {
    color: #AE6224;
    font-weight: 600;
}

.cg-step-label.completed {
    color: #5f65a7;
}
