/* poppins-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v22-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/poppins-v22-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/poppins-v22-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/poppins-v22-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.custom-modal {
    z-index: 999999;
}

.blazored-modal-content {
     max-height: 100vh;
     overflow-y: auto;
     -ms-overflow-style: none;
     scrollbar-width: none;
 }

.blazored-modal-focus-trap > div:focus-visible {
    outline: none;
}

.blazored-modal-content::-webkit-scrollbar {
    display: none;
}

.hidden {
    display: none;
    visibility: hidden;
}

/* LANDING PAGE */
body {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
}

.active-nav-link {
    border-bottom: solid 3px #000000 !important;
}

@media (max-width: 1232px) {
    .active-nav-link {
        border-bottom: none !important;
        background-color: #49D182 !important;
    }
}

/* ACCOUNT */
.account-block {
    margin: 5rem auto 0 auto;
    text-align: center;
    max-width: 800px;
    width: fit-content;
}

.p-500 {
    width: 500px;
}

.account-block > picture > img {
    max-width: 500px;
    width: 95%;
}

.account-container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 30px;
    border-color: white;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.15);
}

.account-header {
    background-color: #4b5161;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0;
    position: relative;
}

    .account-header p {
        padding: 0;
        margin: 0;
        font-size: 1.7rem;
    }

.back-button {
    position: absolute;
    right: 10px;
    top: calc(50% - (40px / 2) + 3px);
    cursor: pointer;
}

.back-button img {
    height: 40px;
    width: auto;
}

.account-content {
    color: #4b5161;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .account-content p {
        padding: 5px 35px;
        margin: 0.5rem 0;
    }

.account-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    color: #75de89;
    margin-top: 0.5rem;
}

    .account-contact a {
        color: inherit;
        text-decoration: none;
    }

        .account-contact a:hover, .account-contact a:focus {
            text-decoration: underline;
        }

.account-contact-mail, .account-contact-phone {
    align-self: flex-start;
}

    .account-contact-phone::before, .account-contact-mail::before {
        content: url('images/icons/tel-icon.png');
        margin-right: 8px;
        display: inline-block;
        width: 25px;
        height: 25px;
        vertical-align: middle;
    }

    .account-contact-mail::before {
        content: url('images/icons/mail-icon.png');
    }

.account-consent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: #4b5161;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0 35px;
    text-align: center;
    justify-content: center;
}

    .account-consent input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

    .account-consent a {
        color: #49d182;
        text-decoration: underline;
    }

.account-error-message {
    width: 75%;
    margin: 1rem auto 0;
    color: #DE5F5F;
    text-align: center;
}

.account-button {
    /* Button style */
    background-color: transparent;
    border: 2px solid #4b5161;
    border-radius: 20px;
    margin: 1.5rem 2rem;
    padding: 1.25rem 0;
    width: 80%;
    transition: 
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        color 0.3s ease-in-out;
    /* Text style */
    font-size: 1.125rem;
    font-weight: 500;
    color: #4b5161;
    text-decoration: none;
    text-align: center;
}

    .account-button:hover {
        background-color: transparent;
        border: 2px solid #49D182;
        cursor: pointer;
        transform: scale(1.1);
        color: #49D182;
    }

    .account-button.register {
        margin-top: 0;
    }

    .account-button.register-confirm {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .account-button.top-margin {
        margin-top: 4rem;
    }

.account-button-green {
    margin-bottom: 0;
    border: 2px solid #49D182;
    background-color: #49D182;
    color: #ffffff;
}

    .account-button-green:hover {
        background-color: #3CB371;
        border-color: #3CB371;
        cursor: pointer;
        color: #ffffff;
    }

.account-button-red {
    border: 2px solid #DE5F5F;
    background-color: #DE5F5F;
    color: #ffffff;
}
    
    .account-button-red:hover {
        background-color: #C54545;
        border-color: #C54545;
        cursor: pointer;
        color: #ffffff;
    }
    
.account-input {
    width: 75%;
    border: none;
    border-bottom: 1px solid #4b5161;
    font-size: 1.125rem;
    font-weight: 500;
    color: #4b5161;
    margin: 1rem 0;
}

    .account-input.register,
    .account-input.reset-password {
        margin-top: 2rem;
    }

.account-select {
    width: 75%;
    height: 40px;
    box-sizing: border-box;
    margin: 1rem 0;
    padding: 0.4rem 1.75rem 0.4rem 0.4rem;
    border: 1px solid #4b5161;
    border-radius: 12px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12' fill='none'%3E%3Cpath d='M2 2L10 10L18 2' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 14px 9px;
    font-size: 1.125rem;
    font-family: inherit;
    font-weight: 500;
    color: #4b5161;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
}

    .account-select.register {
        margin-top: 2rem;
    }

    .account-select:disabled {
        background-color: #e9ecef;
        cursor: not-allowed;
    }

#register-subregion-field {
    width: 75%;
    margin: 1rem 0;
}

    #register-subregion-field .account-select {
        width: 100%;
        margin: 0;
    }

.account-password-wrapper {
    position: relative;
    width: 75%;
    display: flex;
    align-items: center;
}

    .account-password-wrapper .account-input {
        width: 100%;
        padding-right: 2.5rem;
    }

.pw-toggle-hidden {
    display: none;
}

.account-password-toggle {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #4b5161;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

    .account-password-toggle:hover {
        opacity: 1;
    }

.account-link {
    color: #49D182;
    text-decoration: none;
    margin: 0.5rem;
}

.account-label {
    margin-top: 1rem;
}

    .account-label:hover {
        cursor: pointer;
    }

.account-small-font {
    font-size: 0.925rem;
}

.text-danger {
    color: #e50000;
}

.text-valid {
    color: #26b050;
}

@media (max-width: 449px) {
    .account-content p {
        padding: 5px 5px;
    }
}


/* SOME DEFAULT CSS */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93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zA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* -- Block user from selecting text */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input, textarea, [contenteditable="true"] {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* License style */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #49D182;
    animation: spin 1s linear infinite;
}

.error-message {
    background-color: #fff2f2;
    border-left: 4px solid #ff5252;
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.error-message p {
    color: #d32f2f;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.license-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
}

.license-container .content {
    display: flex;
    flex-direction: row;
    margin: 0 auto 3rem auto;
}

.license-container .content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.license-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.license-card {
    border-radius: 8px;
    padding: 1rem 3rem;
    text-align: center;
    background: #49D182;
    min-width: 300px;
    max-width: 570px;
}

.license-header {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 1rem;
}

.license-header .plan {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.license-header .price {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 72px;
}

.license-header .duration {
    color: #ffffff;
    padding-left: 5px;
    font-weight: 700;
    font-size: 1.143rem;
}

.license-header .yearly-total {
    color: #ffffff;
    font-size: 1.143rem;
}

.license-header p {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0;
}

.license-body .features {
    list-style-type: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.license-body .features li {
    background-image: url(/images/home/check.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
    line-height: 20px;
    padding: 10px 0 10px 40px;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
}

.license-footer .buy-btn {
    /* Button style */
    display: inline-block;
    background-color: white;
    border-radius: 10px;
    padding: 1.25rem 2.375rem;
    width: 80%;
    transition: background-color 0.3s ease-in-out;
    /* Text style */
    font-size: 1.125rem;
    font-weight: 500;
    color: #49D182;
    text-decoration: none;
    text-align: center;
}

.license-footer .buy-btn:hover {
    background-color: #dedede;
}

