﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */



@font-face {
    font-family: 'Museo-Slab-Regular';
    src: url('../fonts/Museo_Slab_300.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Museo-Slab-Bold';
    src: url('../fonts/Museo_Slab_700.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('../fonts/Lato-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato-Bold';
    src: url('../fonts/Lato-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* default: mobile first */
.w-50 {
    width: 50% !important;
}
/* already in BS4, but okay to rely on it */

/* add a responsive version for md+ screens */
@media (min-width: 768px) {
    .w-md-25 {
        width: 25% !important;
    }
}


.row {
    margin: 0;
}

.help-link {
    text-decoration: none;
    display: flex;
}

.align-center {
    text-align: center !important;
}

.top-m-1rem {
    margin-top: 1rem !important;
}

.bottom-m-6px {
    margin-bottom: 6px !important;
}

.padding-14px {
    padding: 14px !important;
}

.no-marg {
    margin: 0px !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.font-size-15 {
    font-size: 14px !important;
}

.color-black {
    color: black !important;
}

.width-85 {
    display: inline-block;
    width: 85% !important;
}

.help-carret {
    text-align: right !important;
    display: inline-block !important;
    width: 15% !important;
    padding: 16px !important;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0F44FF;
}

/* Styles for the loading spinner container */
.loading-spinner {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background overlay */
    z-index: 9999; /* Ensure it's above other content */
    justify-content: center;
    align-items: center;
}

/* Styles for the spinning animation */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

/* Keyframes for the spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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


.logo {
    max-width: 300px;
    min-width: 250px;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-regular {
    -webkit-appearance: none;
    padding-left: 25px;
    padding-right: 25px;
    height: 60px;
}

.input-tile {
    margin: auto;
    width: 440px;
    flex-shrink: 0;
    background: #FFF;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
    padding: 24px;
}

.btn-primary {
    color: #00186B;
    border: 2px solid transparent;
    border-radius: 0;
    background: #79BDE9;
    transition: unset;
    display: flex;
    width: 372px;
    align-items: center;
    justify-content: center;
    margin: auto;
    &:focus

{
    box-shadow: none;
    border: 2px solid #002857 !important;
}

&:hover:not(:disabled) {
    background: linear-gradient(rgb(147, 215, 255) 0%, rgb(121, 189, 233) 100%) border-box;
    color: #002857;
    border: 2px solid transparent;
}

&:active:not(:disabled) {
    box-shadow: none !important;
    color: #00186B !important;
    background: #79BDE9 !important;
}

&:disabled {
    color: #ACACAC !important;
    background-color: #C9E5F6 !important;
    border-color: #C9E5F6 !important;
    cursor: not-allowed;
}

}


.btn-primary-white {
    color: #fff;
    border-radius: 8px;
    border: 2px solid #FFFFFF;
    background: #FFFFFF;
    display: flex;
    max-width: 372px;
    flex-direction: column;
    align-items: flex-start;
    margin: auto;
}



.btn-secondary {
    border-radius: 0;
    border: 2px solid transparent;
    display: flex;
    width: 372px;
    background-color: transparent;
    margin-top: 8px;
    margin-bottom: 24px;
    padding: 0;
    justify-self: center;
    transition: unset;
    &:focus

{
    box-shadow: none;
    border: 2px solid #002857 !important;
}

&:hover:not(:disabled) {
    cursor: pointer;
    border: 2px solid transparent;
    background: #fff linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(0, 0, 0, 0.40)) border-box;
}

&:active:not(:disabled) {
    box-shadow: none !important;
    background-color: rgba(215, 215, 215) !important;
}

}

.btn-secondary-dark {
    border-radius: 8px;
    border: none;
    display: flex;
    max-width: 372px;
    flex-direction: column;
    align-items: flex-start;
    margin: auto;
    background-color: unset;
    padding-top: 24px;
}

    /*.btn-secondary:hover {
    background-color: transparent;
    color: #063DFF;
}*/

    .btn-secondary-dark:hover {
        background-color: transparent;
        color: #FFFFFF;
    }

.btn-primary-content {
    display: flex;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    margin: auto;
}

.btn-secondary-content {
    color: #1C1C1C;
    display: flex;
    padding: 14px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    margin: auto;
}

.btn-group {
    display: flex;
    width: 372px;
    padding: 24px 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Header styles
-------------------------------------------------- */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 30px;
    position: relative
}

/*.back-button {
    position: absolute;
    left: 60px;
}*/

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 16px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
/*
button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}*/


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

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    padding: 16px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding-top: 1rem
}


main {
    width: 100%;
}


footer {
    display: flex;
    text-align: center;
    font-size: 14px;
    max-width: 900px;
}

/*.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 70%;
    margin: 48px auto;
  
    
}*/

.footer-content {
    padding: 20px;
    text-align: center;
    font-size: 12px;
}

.privacy-links {
    margin-bottom: 10px;
}

    .privacy-links a {
        margin: 0 10px;
    }

.disclaimer {
    font-weight: 500;
}


/* Application specific styles
-------------------------------------------------- */
.x-force-wrap {
    overflow-wrap: break-word;
}

a[data-copy-element] img {
    height: 20px !important;
    width: 20px !important;
    opacity: .5 !important;
    cursor: pointer !important;
}

/* Modal related styles
-------------------------------------------------- */

.modal-tile {
    display: flex !important;
    width: 570px;
    height: 460px;
    padding: 48px 48px 192px 48px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
    margin: 300px auto;
    position: relative !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.modal-description-tile {
    display: flex;
    width: 474px;
    padding-bottom: 0px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.modal-title-tile {
    margin: auto;
    padding-top: 48px;
    flex-shrink: 0;
    border-radius: 8px;
}

.modal-close-container {
    position: relative;
}

.modal-close-image {
    position: absolute;
    z-index: 1050;
    left: 620px;
    top: -40px;
}

.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
}

div.university-select {
    height: 60px;
    margin-bottom: 10px;
    background-color: #fff;
}

div.selected {
    width: 100%;
    height: inherit;
    cursor: pointer;
    display: inline-block;
}

    div.selected > .text {
        position: inherit;
        padding: 20px;
        width: 100%;
        height: 100%;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-family: Museo-Slab-Regular;
        color: #1C1C1C;
        border: 1px solid #e4e4e4;
        border-radius: 8px;
    }

        div.selected > .text:focus {
            outline-width: 0;
        }

div.select-box {
    display: none;
    width: 100%;
    position: relative;
    z-index: 10029;
    border: 1px solid #E4E4E4;
    border-radius: 8px;
    box-shadow: 0 8px 10px rgba(.1, .1, .1, .1);
    background-color: #fff;
    overflow-y: scroll;
    max-height: 220px;
    margin-top: 2px;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 3px;
}

::-webkit-scrollbar-track {
    height: 5px !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px !important;
    height: 3px;
    background: #E4E4E4 !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5) !important;
}

div.select-box.active {
    display: block;
}

div.select-box.drop-up {
    top: auto;
    bottom: 100%;
}

ul.select-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    ul.select-list li {
        width: inherit;
        height: 44px;
        border-bottom: 1px solid #E4E4E4;
        cursor: pointer;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 13px;
        font-family: Museo-Slab-Regular;
        color: #1C1C1C;
    }

/* Mobile screens related styles
--------------------------------------------------- */
@media only screen and (max-width: 500px) {
    .button-container {
        position: relative;
        margin-bottom: 24px;
    }

    .button-mobile-position {
        bottom: 24px;
        left: 0;
        width: 100%;
    }

    .button-mobile-position-second {
        bottom: 100px;
        left: 0;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }

    .btn-secondary {
        width: 100%;
    }

 /*   .back-button {
        left: 24px;
    }*/

    .centered {
        display: flex;
        justify-content: center;
    }

    .input-tile {
        width: 100%;
    }

    .container-dark {
        background: #000000B2;
    }

    .container-light {
        background: #FFF;
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
    }
}

.container-dark {
    margin: auto;
    padding: 30px;
    background: #1C1C1C;
    max-width: 570px;
    max-height: 544px;
    border-radius: 8px;
}

.container-light {
    margin: auto;
    padding: 30px;
    background: #FFF;
    max-width: 570px;
    max-height: 544px;
    border-radius: 8px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
}

/* Tablet screens related styles
--------------------------------------------------- */
/*@media only screen and (min-width: 501px) and (max-width: 800px) {
    .back-button {
        left: 50px;
    }
}*/



.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #FFFFFF;
    outline: 1px solid #949494;
    border-radius: 2px;
    &:after

{
    content: "";
    opacity: 0;
}

}

.form-control {
    border: 1px solid #949494;
    border-radius: 2px;
    &:focus

{
    border: 1px solid #002857;
    outline: 1px solid #002857;
    box-shadow: none;
}

}

/*.validation-summary-errors ul {
    list-style-image: url("../images/red-exclamation.svg");
}*/

.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    display: inline;
}

.validation-summary-errors li {
    display: inline;
    margin-right: 6px;
}

.error-message {
    display: flex;
    color: #dc3545 !important;
    font-size: .8rem;
    margin-top: var(--spacing-small);
    margin-bottom: var(--spacing-small);
}

.text-danger {
    font-size: .8rem;
}

.input-field {
    display: flex;
    padding-bottom: 0px;
    flex-direction: column;
    align-items: flex-start;
}

.display-mobile {
    display: none;
}

/* ✅ Responsive title container */
.title-tile {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 0 16px;
    border-radius: 8px;
}

/* ✅ Icon + heading side-by-side without overlap */
.title-row {
    display: flex;
    flex-wrap: wrap; /* ✅ Wrap when narrow */
    align-items: flex-start; /* ✅ Top align icon */
    gap: 12px;
}

/* ✅ Back icon stays left and never overlaps */
.back-button {
    display: flex;
    flex-shrink: 0; /* ✅ Don't shrink icon */
}

    /* ✅ Slight visual alignment for icon */
    .back-button img {
        width: 24px;
        height: 24px;
        margin-top: 4px;
    }

/* ✅ Title adapts only when needed (<375px) */
@media only screen and (max-width: 375px) {
    .text-header-black {
        font-size: 22px;
        line-height: 28px;
    }
}

.padding-regular {
    padding: 24px;
}

.padding-left {
    padding-left: 24px;
}

.padding-bottom {
    padding-bottom: 10px;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.sub-content-container {
    display: inline-flex;
    height: 21px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}


.link-button {
    background: none !important;
    border: none;
    padding: 0 !important;
    text-decoration: underline;
    cursor: pointer;
}


@media only screen and (max-width: 500px) {
    .display-mobile {
        display: block;
        padding: 16px 0;
    }

    .display-web {
        display: none;
    }

    .title-tile {
        width: 375px;
    }
}

@media only screen and (min-width: 500px) {
    .title-tile {
        width: 500px !important;
    }
}

/* Upload box an zone styles
--------------------------------------------------- */
/* Styling for the drag-and-drop zone */

.upload-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 48px;
    min-width: 48px;
}



.btn-browse-files {
    color: #595959;
    display: flex;
    width: 140px;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: #fff;
    border: 2px solid #595959;
    margin-bottom: 12px;
}

    .btn-browse-files:hover {
        background: #ACACAC;
    }


.file-row {
    padding: 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
    background: #0028570D;
    transition: background-color .25s ease, border .25s ease;
}

    .file-row.invalid {
        border: 1px solid #dc3545 !important; /* Bootstrap red */
        /* background-color: #ffe5e7;  subtle red tint */
    }


.file-valid {
    color: #198754;
}

.file-invalid {
    color: #dc3545;
}

.file-status {
    font-size: 0.85rem;
}


.drop-zone {
    border: 2px dashed #999;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    color: #555;
    margin-bottom: 10px;
    cursor: pointer;
    user-select: none;
}

    .drop-zone.dragover {
        border-color: #007bff;
        background: #eef6ff;
    }

.remove-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

    .remove-icon:hover {
        opacity: 0.7;
    }

.status-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    display: none;
}


.title-header {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 12px auto; 
    padding: 0 48px; 
    text-align: left; 
}

/* ✅ Fixed button location — browser left, 24px in */
.back-button {
    position: fixed;
    left: 24px;
    top: 24px; 
    z-index: 1000;
}

/* ✅ Title never overlaps icon */
.page-title {
    margin: 0;
    padding-left: 0;
    padding-right: 48px; 
}

/* ✅ Subtitle stays left-aligned under title */
.subtitle {
    margin-top: 8px;
    text-align: left;
}

/* ✅ Small screen font adjust */
@media only screen and (max-width: 375px) {
    .page-title {
        font-size: 22px;
        line-height: 28px;
    }
}