/************************** FONT **************************/

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-Regular.ttf?v=1');
    font-display: block;
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-Medium.ttf?v=1');
    font-display: block;
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../assets/fonts/Montserrat-SemiBold.ttf?v=1');
    font-display: block;
    font-weight: 600;
}

/************************** GENERAL **************************/

:root {
    --primary-color: rgb(147, 11, 41);
    --secondary-color: #520165;
    --tertiary-color: #C4622D;
    --highlight-color: #dae1f9;
    --warning-color: #a00000;
}

* {
    font-family: 'Montserrat';
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    line-height: 1.5;
    font-weight: 500;
    /* outline: none; */
}

body {
    margin: 0px;
}

canvas,
svg,
img {
    display: block;
}

iframe {
    border: 0px;
}

[v-cloak] {
    display: none;
}

/************************** BUTTON **************************/

button {
    border: none;
    padding: 7px 17px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--primary-color);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

button:disabled {
    cursor: default;
    filter: grayscale(0.2);
    opacity: 0.5;
}

/************************** BUTTON PRIMARY **************************/

button.button-primary,
input.button-primary {
    background-color: var(--primary-color);
}

@media (hover: hover) {
    button.button-primary:hover {
        opacity: 0.8;
    }
}

button.button-primary:active {
    background-color: white;
}

/************************** BUTTON BLACK **************************/

button.button-black,
input.button-black {
    background-color: black;
}

/************************** BUTTON WHITE **************************/

button.button-white,
input.button-white {
    background-color: white;
    color: black;
    border: 1px solid lightgrey;
    outline: none;
}

@media (hover: hover) {

    button.button-white:hover,
    input.button-white:hover {
        opacity: 1;
        background-color: #e3e3e3;
    }
}

button.button-white:active,
input.button-white:active {
    background-color: white;
}

/************************** LOADER **************************/

.loader {
    border: 3px solid rgba(255, 255, 255, 1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/************************** MODAL **************************/

.modal-fade-enter-active,
.modal-fade-leave-active {
    transition: opacity 0.2s;
}

.modal-fade-enter-from,
.modal-fade-leave-to {
    opacity: 0;
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-box {
    margin: auto;
}

.modal .modal-content {
    background: white;
    border-radius: 5px;
    width: calc(100vw - 20px);
    margin: 10px;
    overflow: hidden;
}

@media only screen and (min-width: 500px) {
    .modal .modal-content {
        width: 400px;
    }
}

.modal .modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.modal .modal-content .modal-header .modal-header-title {
    font-weight: 600;
    font-size: 18px;
}

.modal .modal-content .modal-header .modal-header-close {
    cursor: pointer;
}

.modal .modal-content .modal-header .modal-header-close img {
    width: 17px;
}

.modal .modal-content .modal-body {
    padding: 0px 20px;
}

.modal .modal-content .modal-body .exclamation-mark img {
    width: 70px;
    margin: 0px auto;
}

.modal .modal-content .modal-body .message {
    text-align: center;
    padding: 25px 0px 25px 0px;
    font-weight: 500;
}

.modal .modal-content .modal-body .modal-block {
    width: 100%;
    border: 1px solid lightgrey;
    padding: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.modal .modal-content .modal-body .modal-block img {
    width: 30px;
    margin: 0px auto;
}

.modal .modal-content .modal-footer {
    padding: 40px 20px 20px 20px;
}

.modal .modal-content .modal-footer button {
    width: 100%;
}

/************************** FORM **************************/

.form {
    display: grid;
    gap: 25px;
}

.form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form label .required {
    color: red;
    padding-left: 5px;
}

.form-block.required {
    color: red;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.form-block.required .asterik {
    font-size: 16px;
}

.form-block.button {
    padding-top: 60px;
}

.form-block.button button {
    width: 100%;
}

.form-block .details {
    font-size: 13px;
    color: rgb(93, 89, 89);
}

.form input[type='text'],
.form input[type='email'],
.form input[type='password'],
.form input[type='tel'],
.form input[type='number'] {
    width: 100%;
    border: 1px solid lightgrey;
    height: 35px;
    border-radius: 5px;
    padding: 0px 10px;
    font-size: 16px;
}

.form select {
    border: 1px solid lightgrey;
    width: 100%;
    /* height: 240px; */
    border-radius: 5px;
    padding: 0px 5px;
    font-size: 16px;
    background-color: white;
    color: black;
}

.form select option {
    padding: 6px 6px;
}

.form select option:hover {
    background-color: #d3d3d3;
    /* Light grey for hover */
    color: #333;
    /* Darker text color */
}

#form .radio input[type="radio"] {
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form .form-block .radio {
    display: grid;
    row-gap: 15px;
    margin-top: 15px;
}

.form .form-block .radio .block-radio {
    display: flex;
    align-items: center;
}

.form .form-block .radio .block-radio input[type="radio"] {
    border: 0px;
    height: 18px;
    width: 18px;
    min-height: 18px;
    min-width: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form .form-block .radio .block-radio label {
    margin: 0px;
    font-weight: 400;
    cursor: pointer;
    padding-left: 20px;
    line-height: 24px;
}

form fieldset {
    border-radius: 10px;
    border: 1px solid lightgrey;
    padding: 30px;
}

form fieldset legend {
    padding: 0px 15px;
    font-size: 19px;
}

.radio input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 33px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 3px;
    /* Makes it look like a square */
    position: relative;
    cursor: pointer;
}

/* Style when checked */
.radio input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.radio input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

/************************** LAYOUT **************************/

.main-padding {
    padding: 25px;
}

#page-bar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
}

#page-back {
    cursor: pointer;
}

#page-back img {
    width: 20px;
}

#page-title {
    margin-left: -35px; 
    /* special to center */
    padding-bottom: 30px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.wrapper {
    width: 100%;
}

@media only screen and (min-width: 500px) {
    .wrapper {
        width: 500px;
        margin: 0px auto;
    }
}

.main-box {
    margin-bottom: 80px;
}

@media only screen and (min-width: 500px) {
    .main-box {
        border: 1px solid lightgrey;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    }
}

.main-banner img {
    width: 100%;
}

.bold-500 {
    font-weight: 500;
}

.bold-600 {
    font-weight: 600;
}

fieldset {
    position: relative;
}

.info .block {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 15px;
    row-gap: 30px;
    padding: 5px 0px;
}

.info .block .label {
    width: 130px;
}

.info .block .value {
    word-wrap: break-word;
    /* word-break: break-all; */
    max-width: 100%;
}

.info.value.email {
    word-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

/************************** PAGE LOADING **************************/

.page-loading-wrapper {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.page-loading {
    border: 5px solid var(--primary-color);
    border-bottom-color: transparent;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}