* { 
    box-sizing: border-box;
}

html { 
    font-size: 62.5%;
    position: relative;
    min-height: 100vh;
    height: 100%;
}

body {
    background-color: #ffffff96;
    min-height: 100vh;
    height: 100%;
    margin: 0;
    font-size: 16px;
    font-family: "ltwave";
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.h-100 {
    height: 100%;
}

.home {
    width: 100%;
    height: 100%;
    display: flex;
}

.home-account {
    width: 100%;
    height: calc(100% - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-logo,
.corner-logo,
.admin-logo {
    width: 100%;
    height: auto;
}

.home-logo {
    max-width: 60rem;
}

.corner-logo {
    max-width: 12rem;
}

.admin-logo {
    max-width: 40rem;
}

.home-left {
    width: 100%;
    height: 100%;
    background-image: url("/static/sliderChatApp/images/background.01d931191ed8.jpg");
    background-size: 128% 100%;
    background-position-y: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.home-left-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #a9ceffba;
    z-index: 0;
}

.home-left-overlay-fade {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background-color: #98c4ffe3; */
    background-color: #98c4ffe3;
    z-index: 1;
    display: none;
}

.home-left-data {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    gap: 4rem;
    position: absolute;
}

.home-left-data h1,
.home-left-data h2,
.home-left-data h3,
.home-left-data h4,
.top-header .the-title,
.top-header-default .the-title-default {
    margin: 0;
}

.left-sub-data {
    text-align: center;
}

.home-left-data h1,
.top-header .the-title,
.top-header-default .the-title-default {
    font-size: 3.7em;
    font-style: italic;
    font-weight: 900;
    background-color: #0039ff;
    background-image: linear-gradient(45deg, #0039ff, #00305e);
    background-size: 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.top-header .the-title {
    font-size: 10rem;
}

.top-header-default .the-title-default {
    font-size: 2.3em;
}

.top-header-default .button {
    padding: 0.7rem 2.7rem;
    font-size: 2rem;
}

.for-holder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    font-size: 4rem;
    padding: 4rem;
    font-weight: 500;
}

.for-business,
.for-personal,
.for-life {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

.for-personal {
    justify-content: center;
}

.for-life {
    justify-content: flex-end;
}

.left-sub-data {
    width: 50%;
}

.anchor-clear {
    text-decoration: none;
    color: inherit;
}

.get-started {
    margin-top: 4rem;
    display: inline-block;
    padding: 1rem 3rem;
    background: #0036bd;
    color: white;
    border-radius: 1rem;
    font-weight: 100;
    transition: all 0.3s;
}

.home-right {
    width: 40%;
    position: absolute;
    height: 100%;
    background-color: #ffffff96;
    right: 0;
    top: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 6rem;
}

.message-holder {
    width: 80%;
    height: 50%;
    position: relative;
}

.dm-holder {
    margin: 0.8rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.5rem;
    position: absolute;
    bottom: 0;
    opacity: 0;
}

.dm-holder.response {
    justify-content: flex-start;
}

.dm-holder .message-bubble {
    padding: 1.2rem 2rem;
    background-color: #00337E;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    max-width: 40%;
    color: white;
    box-shadow: 0 2px 4px 0px #5e768f;
}

.message-bubble p {
    margin: 0;
}

.dm-holder.response .message-bubble {
    background-color: white;
    color: black;
}

.home-right .dm-holder .message-bubble {
    max-width: 60%;
}

.admin-form {
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 2px 8px 2px #41414180;
    padding: 4rem;
    min-width: 45rem;
    max-width: 75rem;
    margin: 0 1rem;
}

.errors {
    color: red;
    font-size: 2.5rem;
    margin: 2rem 0;
    font-weight: 900;
}

.bad-link {
    line-height: 3rem;
}

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

.admin-form .errorlist {
    list-style: none;
    padding: 0;
    color: red;
    font-weight: 900;
}

.top-header,
.top-header-default {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-header {
    margin: 0 auto;
    padding-top: 3rem;
}

.top-header-default {
    justify-content: space-between;
}

.login-title {
    font-size: 5rem;
    font-weight: 600;
    margin-top: 0;
}

.field-wrapper {
    position: relative;
    margin: 5rem 0 2.5rem;
}

.field-label {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    padding: 1rem 2rem;
    line-height: 2.5rem;
    font-size: 2rem;
    z-index: -1;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.field-wrapper input {
    background-color: transparent;
    border: none;
    outline: 2px solid #0035aa;
    padding: 1rem 2rem;
    border-radius: 5px;
    width: 100%;
    line-height: 2.5rem;
    font-size: 2rem;
    transition: all 0.2s;
}

.field-wrapper input:focus ~ .field-label,
.field-wrapper input:not(:placeholder-shown) ~ .field-label {
    left: 50%;
    transform: translate(-50%, -75%);
    font-size: 1.4rem;
    line-height: 1rem;
}

.pin-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.pin-wrapper input {
    padding: 0;
    width: 5rem;
    height: 5rem;
    text-align: center;
}

.admin-wrapper {
    margin-top: 2rem;
    padding-bottom: 2rem;
}

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

/* Firefox */
.pin-wrapper input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.button {
    background-color: #003379;
    color: white;
    box-shadow: 0px 0px 4px 1px #AAABB8;
    display: inline-block;
    padding: 1rem 5rem;
    font-weight: 500;
    font-size: 2rem;
    border-radius: 1rem;
    transition: all 0.3s;
    border: none;
    font-family: "ltwave";
}

.pointer {
    cursor: pointer;
}

.mt-50 {
    margin-top: 5rem;
}

.account-messages-back {
    width: 90%;
    height: 90%;
    background-color: #ffffff96;
    margin: auto;
    border-radius: 1rem;
    display: flex;
    box-shadow: 0 0 5px 3px #0033794d;
    margin-top: 2rem;
}

.message-nav {
    width: 25%;
    border-right: 1px solid #0037e64f;
    font-size: 1.2em;
    overflow-y: auto;
    position: relative;
}

.message-nav-option {
    height: 7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.3rem;
    cursor: pointer;
    border-bottom: 1px solid #0037e64f;
}

.message-nav-option div {
    font-weight: 600;
}

.message-nav-option:first-child {
   border-top-left-radius: 1rem;
}

.message-nav-option.is-active-header {
    background-color: #0037e62b;
}

.message-nav-option p {
    margin: 0;
    font-size: 0.7em;
}

.mobile-name {
    display: none;
    margin: auto;
    border-radius: 50%;
    padding: 1rem;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: #3b69a8;
    color: white;
}

.older-messages,
.back-click-holder {
    font-weight: 100;
    height: auto;
    font-size: 0.9em;
    padding: 1.3rem;
    position: relative;
}

.back-click-holder {
    bottom: 0;
    position: absolute;
}

.message-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.active-message-data {
    border-top-right-radius: 2rem;
    height: 100%;
    flex-direction: column;
    flex: 1;
    display: none;
    overflow-y: scroll;
}

.active-message-data.is-active-message {
    display: flex;
}

.last-message {
    font-size: 0.7em;
}

.active-message-data h2 {
    margin: 1rem 0;
}

.active-message-name {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    box-shadow: 0 2px 5px 0px #0037e630;
    border-top-right-radius: 2rem;
}

.active-message-info {
    overflow-y: scroll;
    display: flex;
    flex-direction: column-reverse;
    padding: 1rem 1.5rem;
    flex-grow: 1;
}

.dm-holder-account {
    margin: 0.8rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dm-holder-account.response {
    justify-content: flex-start;
}

.dm-holder-account .message-bubble {
    padding: 1.2rem 2rem;
    background-color: #003379;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    max-width: 40%;
    color: white;
    box-shadow: 0 2px 4px 0px #5e768f;
}

.dm-holder-account.response .message-bubble {
    background-color: white;
    color: black;
}

.message-chat-bar {
    border-radius: 1rem;
    padding: 1rem 2rem;
    display: flex;
    border: 1px solid #0037e64f;
    align-items: center;
    justify-content: space-between;
    margin: 2rem;
    height: 8rem;
}

.message-chat-send,
.message-back {
    font-size: 1.7em;
    color: #0034a5;
}

.message-chat-type {
    font-size: 1.2em;
    height: 100%;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.pdf-download {
    display: flex;
    max-width: 35%;
    cursor: pointer;
    align-items: flex-end;
    gap: 1rem;
    font-size: 2rem;
    min-width: 20rem;
}

.pdf-download span {
    font-size: 2.5rem;
}

.message-image {
    max-width: 100%;
    vertical-align: bottom;
}

.emoji {
    font-size: 3rem;
}

.chat-bar-wrapper {
    box-shadow: 0 -2px 5px 0px #0037e630;
}

.locked-message-anchor {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    margin-left: 9px;
}

.icon-lock {
    font-size: 1.6em;
    color: #0034a5;
}

.re-enter-box {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #0000006e;
    top: 0;
    left: 0;
}

.re-enter-form {
    background-color: white;
}

.re-enter-error {
    display: none;
}

.loader {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 3px solid white;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: rotation 1s linear infinite;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}  

.position-relative {
    position: relative;
}




























/* Miscell */
.admin-form ::-webkit-input-placeholder {
    opacity: 0;
}
.admin-form :-moz-placeholder {
    opacity: 0;
}
.admin-form ::-moz-placeholder {
    opacity: 0;
}
.admin-form :-ms-input-placeholder {
    opacity: 0;
}




/* Media Queries */
@media (max-width: 1250px) {
    .home-right .dm-holder .message-bubble {
        max-width: 75%;
    }
    .left-sub-data {
        width: 70%;
    }
    .dm-holder-account .message-bubble {
        max-width: 60%;
    }
    .older-messages {
        justify-content: space-between;
    }
    .locked-message-anchor {
        position: static;
    }
}

@media (max-width: 1050px) {
    .home {
        flex-direction: column;
    }
    .home-left-data,
    .home-right {
        width: 100%;
    }
    .home-right {
        background-color: initial;
    }
    .home-left-data {
        z-index: 6;
    }
    .home .home-left-overlay {
        display: none;
    }
    .home-left-overlay-fade {
        display: block;
    }
    .dm-holder-account .message-bubble {
        max-width: 75%;
    }
    .pdf-download {
        max-width: 50%;
    }
    .account-messages-back {
        width: 98%;
    }
}

@media (max-width: 875px) {
    body {
        font-size: 14px;
    }
}


@media (min-width: 768px) {
    .get-started:hover {
        background: #142f74;
    }
    .button:hover {
        background-color: #0038d5;
    }
}




@media (max-width: 700px) {
    .mobile-name {
        display: flex;
    }
    .desktop-name,
    .desktop-date {
        display: none;
    }
    .message-nav {
        width: auto;
        font-size: 1em;
    }
    .message-nav-option {
        height: 6rem;
        width: 6rem;
        padding: 1rem;
    }
    .older-messages-write {
        display: none
    }
    .older-messages {
        justify-content: center;
    }
}






@media (max-width: 615px) {
    .home-left-data {
        font-size: 2.5rem;
    }
    .top-header .the-title {
        font-size: 5rem;
    }
}

@media (max-width: 515px) {
    .home-left-data {
        font-size: 2rem;
    }
    .message-holder {
        height: 70%;
    }
    .admin-form {
        min-width: auto;
        width: 100%;
    }
    .dm-holder-account .message-bubble {
        max-width: 80%;
    }
    .active-message-name {
        flex-direction: column;
        gap: 0;
    }
    .message-chat-bar {
        height: 5rem;
    }
    .top-header {
        max-width: 30rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 450px) {
    .admin-form {
        padding: 2rem;
    }
    body {
        font-size: 13px;
    }
}


@media (max-width: 420px) {
    .home-left-data {
        font-size: 1.5rem;
    }
}
