@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

:root {
    --fontPrimary: "Open Sans", "sans-serif";
    --fontSecondary: "Montserrat", "sans-serif";
    --color-white: #ffffff;
    --color-black: #000000;
    --color-accent: #e0647d;
    --color-accent-hover: #ca4e6b;
    --color-background: #f0f0f0;
    /* Update with actual background color */
    --color-error: #ff0000;
}

body {
    font-family: var(--fontPrimary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

footer {
    font-size: 0.85rem;
}

header a,
footer a {
    cursor: pointer;
    color: var(--color-white);
    text-decoration: none;
    transition: 0.2s;
}

#headerDiv {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    background-position: right;
    background-size: cover;
    min-height: 6rem;
}

#headerDiv hr {
    color: rgba(0, 204, 255, 0.75);
}

.error_footer a {
    text-decoration: none;
}

.head-1,
.head-2 {
    margin: 0;
    line-height: 1.15;
}

.head-1 {
    font-size: clamp(1rem, 4vw, 1.5rem);
}

.head-2 {
    font-size: clamp(0.85rem, 3vw, 1.35rem);
}

.org-logo {
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    height: clamp(4rem, 6vw, 5rem);
}

.dropdown-icon {
    font-size: 0.75rem;
}

.rotate-dropdown-icon {
    transition: transform 0.3s ease;
    transform: rotate(-180deg);
}

.revert-dropdown-icon-rotate {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

td {
    vertical-align: baseline;
}

th {
    font-weight: 600;
}

.table-transparent td,
.table-transparent th {
    background: none;
}

.border-none {
    border: none;
}

.border-radius-none {
    border-radius: 0 !important;
}

.text-decoration-none {
    text-decoration: none;
}

/* LOADER */
.loader {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5000;
    background-color: rgba(0, 0, 0, 0.68);
    justify-content: center;
    align-items: center;
    font-family: var(--fontSecondary);
    font-weight: 600;
    transition: 1s;
}

#my-loader span {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background-color: var(--color-white);
    margin: 35px 5px;
}

#my-loader span:nth-child(1) {
    animation: bounce 1s ease-in-out infinite;
}

#my-loader span:nth-child(2) {
    animation: bounce 1s ease-in-out 0.33s infinite;
}

#my-loader span:nth-child(3) {
    animation: bounce 1s ease-in-out 0.66s infinite;
}

@keyframes bounce {
    0%,
    75%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-20px);
    }
}

.breadcrumb-item a {
    text-decoration: none;
}

/* Dropdown Active */
.dropdown-item.active,
.dropdown-item:active {
    text-decoration: none;
    color: var(--bs-dropdown-link-active-color);
    background-color: var(--color-accent);
}

.footer_link {
    color: var(--color-accent);
}

.footer_link:hover {
    color: var(--color-accent-hover);
}

.header-img {
    width: 100%;
}

.page_settings_div {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

header .nav-link,
header a {
    font-size: small;
    color: var(--color-white);
}

header .nav-link:hover,
header a:hover,
header .nav-link:focus,
header a:focus {
    color: var(--color-accent);
}

header .navbar-toggler {
    color: var(--color-white);
    border: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.truncate-span {
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page_settings_btn_group {
    display: flex;
    gap: 1rem;
}

.card {
    border-radius: 8px;
    border: none;
}

.my-card-header {
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    border: 0;
    border-bottom: 1px solid #d3d3d3;
}

.card-section {
    padding: 1.75rem 1rem 1rem 1rem;
    border: 1px solid #c0c8d0;
    border-radius: 8px;
}

.card-section-header {
    display: flex;
    justify-content: center;
    position: relative;
}

.card-section-header h5 {
    padding: 0 0.5rem;
    position: absolute;
    text-align: center;
    top: -2.55rem;
}

.form-error {
    font-size: 0.75rem;
}

/* DATATABLE PAGE LINK */
.active > .page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent-hover);
}

/* Select2 */
.select2-container--bootstrap-5
    .select2-selection--multiple
    .select2-selection__rendered
    .select2-selection__choice {
    padding: 0.25em 0.45em;
    margin-left: 0.275rem;
    margin-bottom: 0.275rem;
}

/* ERROR PAGE */
.error_div {
    font-family: var(--fontSecondary);
    margin: auto;
    text-align: center;
}

/* LANDING PAGE */
.parent_div {
    display: flex;
    flex-wrap: wrap;
    font-family: var(--fontPrimary);
}

.card_header {
    font-family: var(--fontSecondary);
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 1rem 0;
}

.notification_container {
    border-radius: 4px;
    padding: 1rem 0;
    margin: 0 1rem 1rem 1rem;
}

.notification_date {
    width: 3.25rem;
    border: solid;
    border-color: rgb(202, 81, 81);
    border-radius: 4px;
    border-width: 2px;
    text-align: center;
}

.notification_date_dd {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--fontPrimary);
    font-weight: 600;
    line-height: 1;
}

.notification_date_mm_yyyy {
    background-color: rgb(202, 81, 81);
    color: var(--color-white);
}

.notification_date_mm_yyyy div {
    margin: 0;
    line-height: 1.1;
    font-family: var(--fontPrimary);
    font-size: 0.9rem;
    font-weight: 600;
}

.notification_text {
    font-weight: 500;
}

.notification_text p {
    margin-bottom: 0;
}

.notification_text a {
    text-decoration: none;
}

.ad_container {
    outline: 1px solid;
    margin: 0 1rem 1rem 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Login Page */
.login_card {
    padding: 0 2.5rem;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    font-weight: 600;
    /* background-image: var(--login-bg); */
}

.login_error {
    font-family: var(--fontPrimary);
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
    padding: 0.5rem 1.25rem;
    margin-bottom: 0.5rem;
}

.login_card h4 {
    font-weight: 500;
    font-family: var(--fontSecondary);
}

.form-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.captcha_img_div {
    width: 10rem;
    border-radius: 4px;
    border: 1px solid;
    padding: 2px;
}

.breadcrumb {
    font-family: var(--fontPrimary);
    font-size: 0.8rem;
    font-weight: 600;
}

.font-primary {
    font-family: var(--fontPrimary);
}

.font-secondary {
    font-family: var(--fontSecondary);
}

/* VERTICAL NAV TABS */
.nav-tabs .nav-link {
    margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
    border: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.vertical-nav-tab-group {
    min-height: 22rem;
}

.nav-link:focus,
.nav-link:hover {
    color: var(--color-accent);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: var(--color-white);
    background-color: var(--color-accent);
    border-color: var(--color-accent-hover);
}

.text-600 {
    font-weight: 600;
}

.text-700 {
    font-weight: 700;
}

.font-sm {
    font-size: 0.9rem !important;
}

.font-xsm {
    font-size: 0.85rem !important;
}

.font-xxsm {
    font-size: 0.75rem !important;
}

.font-md {
    font-size: 1rem !important;
}

.form-note {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Profile Section */
.profile-state-hr {
    height: 3px;
    border-radius: 20px;
}

.profile-state {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

@media screen and (max-width: 768px) {
    .profile-state {
        margin-bottom: 3rem;
    }
}

.profile-state-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-button-div {
    display: flex;
    width: 100%;
    justify-content: space-around;
    position: absolute;
    top: -1.4rem;
}

.profile-state-button {
    display: flex;
    width: 3.1rem;
    height: 3rem;
    justify-content: center;
    align-items: center;
    border-radius: 6rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    color: #3a3a3a;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.22));
}

.profile-state-selected {
    outline-offset: -3px;
}

.profile-state-button:hover {
    scale: 1.1;
}

.profile-state-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.percentage-point {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    transform: translate(-50%, -50%);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    top: 24px;
    left: 24px;
}

.percentage-text {
    display: flex;
    font-size: 0.75rem;
    font-weight: 700;
}

.percentage-round {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    transition: all 1s ease-in-out;
    fill: none;
    stroke-width: 8px;
    stroke-linecap: round;
    stroke-dasharray: 0 999;
}

.profile-section-complete {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    right: 0;
    height: 1rem;
    width: 1rem;
    background-color: #3f9b44;
    color: var(--color-white);
    border-radius: 1rem;
    font-size: 0.5rem;
}

/* Animations */
.scale-in {
    animation: scale-in-center 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.attention-text {
    font-weight: 600;
    animation: blink-2 0.9s infinite both;
}

.menu-item {
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: baseline;
    border: 1px solid rgba(255, 135, 135, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 0.25rem;
}

.menu-item-disabled {
    background-color: rgba(0, 0, 0, 0.26) !important;
    border: 1px solid rgba(128, 128, 128, 0.6);
    cursor: default;
}

.menu-item-disabled:hover {
    background-color: rgba(0, 0, 0, 0.26) !important;
    cursor: default;
    scale: 1 !important;
}

.menu-item:hover {
    scale: 1.02;
}

#advDetailsContainer {
    overflow-x: scroll;
}

.legal-info {
    background-image: url("../images/mscama_info_docs/bg.png");
    background-position: bottom;
    background-position-x: right;
    background-size: fit;
    background-repeat: no-repeat;
}
