﻿/* 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: 'Sailec-Regular';
    src: url('../fonts/Sailec Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

@font-face {
    font-family: 'Sailec-Italic';
    src: url('../fonts/Sailec Regular Italic.otf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Sailec-Bold-Italic';
    src: url('../fonts/Sailec Bold Italic.otf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

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

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

/* 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);
    }
}


.password-toggle-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px; 
    transform: translateY(-50%);
}

.password-toggle-icon {
    width: 24px;
    cursor: pointer;
}

.logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin: 62px auto 0 auto;
}

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

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

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

.btn-secondary {
    color: #063DFF;
    border-radius: 8px;
    border: none;
    display: flex;
    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-primary-content {
    display: flex;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    margin: auto;
}

.btn-secondary {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
}

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

.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;
}

.back-button {
    position: absolute;
    left: 200px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* 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 {
    padding-top:72px;
}

/* 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: 95%;
    }

    .btn-secondary {
        width: 95%;
    }

    .back-button {
        left: 24px;
    }

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

    .input-tile {
        width: 95%;
    }

    .btn-secondary {
        width: 95%;
    }
}

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

    .input-tile {
        width: 80% !important;
    }
}

/* Digit box related styles
--------------------------------------------------- */
.digit-box-container {
    width: 100%;
    height: 48px;
    flex-shrink: 0;
    text-align: center;
}

.digit-box {
    width: 40px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #D7D7D7;
    background: #FFF;
    -moz-appearance: textfield;
}

.digit-box-error {
    border: 2px solid var(--error, #EB0008) !important;
}

/* Chrome, Safari, Edge, Opera */
.digit-box::-webkit-outer-spin-button,
.digit-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
