/************************** FONT **************************/

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf?v=1');
    font-display: block;
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf?v=1');
    font-display: block;
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf?v=1');
    font-display: block;
    font-weight: 600;
}

/************************** GENERAL **************************/

:root {
    --color-primary: black;
    --color-secondary: #520165;
    --color-tertiary: #C4622D;
    --color-warning: #a00000;
    --color-background: #F0F0F0;
    --font-xsmall: 12px;
    --font-small: 14px;
    --font-large: 18px;
    --font-xlarge: 20px;
}

* {
    font-family: 'Montserrat';
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    line-height: 1.5;
}

body {
    margin: 0px;
    background-color: var(--color-background);
}

canvas,
svg,
img {
    display: block;
}

iframe {
    border: 0px;
}

.href {
    color: #0000EB;
    cursor: pointer;
}

[v-cloak] {
    display: none;
}

/************************** LAYOUT **************************/

.wrapper {
    max-width: 500px;
    margin: 0px auto;
    padding: 0px 20px;
}

#banner {
    border-radius: 8px;
    overflow: hidden;
}

#banner img {
    width: 100%;
}

#page {
    margin-bottom: 140px;
}

#page-title {
    font-weight: 600;
    font-size: var(--font-large)
}

/************************** LOADER **************************/

.loader {
    border: 3px solid rgba(255, 255, 255, 1);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
}

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

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

/************************** FORM **************************/

.form-list {
    display: grid;
    gap: 25px;
}

.form-list .form-block {
    display: grid;
    gap: 10px;
}

.form-list .form-block label {
    display: block;
    font-weight: 600;
}

.form-list .form-block .form-block-input input {
    width: 100%;
    border: 1px solid lightgrey;
    height: 35px;
    border-radius: 5px;
    padding: 0px 10px;
    font-size: 16px;
    background-color: white;
    color: black;
    text-align: left;
}

.form-list .form-block .form-block-input input:disabled {
    background-color: #f6f6f6;
}

.form-list .form-block .form-block-input textarea {
    width: 100%;
    border: 1px solid lightgrey;
    resize: none;
    height: 75px;
    padding: 5px 10px;
    font-size: 16px;
}

.form-list .form-block .form-block-input input[type='date'] {
    text-align: left;
    color: black;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.form-list .form-block .form-block-input select {
    width: 100%;
    border: 1px solid lightgrey;
    height: 35px;
    border-radius: 5px;
    padding: 0px 10px;
    font-size: 16px;
    background-color: white;
    color: black;
}

.form-list .form-block .form-block-input-radio input[type="radio"] {
    cursor: pointer;
    accent-color: var(--primary-color);
    border: 0px;
    height: 18px;
    width: 18px;
    min-height: 18px;
    min-width: 18px;
    cursor: pointer;
}

.form-list .form-block .form-block-input-radio .form-block-input-radio-list {
    display: flex;
    gap: 20px;
}

.form-list .form-block .form-block-input-radio .form-block-input-radio-block {
    display: flex;
    align-items: center;
}

.form-list .form-block .form-block-input-radio .form-block-input-radio-block label {
    font-weight: 400;
    padding-top: 3px;
    cursor: pointer;
    padding-left: 10px;
}

.form-list .form-block .form-block-input-checkbox input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--primary-color);
    border: 0px;
    height: 18px;
    width: 18px;
    min-height: 18px;
    min-width: 18px;
    cursor: pointer;
}

.form-list .form-block .form-block-input-checkbox .form-block-input-checkbox-list {
    display: flex;
    gap: 20px;
}

.form-list .form-block .form-block-input-checkbox .form-block-input-checkbox-block {
    display: flex;
    align-items: center;
}

.form-list .form-block .form-block-input-checkbox .form-block-input-checkbox-block label {
    font-weight: 400;
    padding-top: 3px;
    cursor: pointer;
    padding-left: 10px;
}

.form-list .form-block.form-block-button {
    margin-top: 40px;
}

.form-list .form-block.form-block-button .form-block-button-list {
    display: grid;
    gap: 25px;
}   

.form-list .form-block.form-block-button .form-block-button-list button {
    width: 100%;
}

/************************** BUTTON **************************/

button {
    border: none;
    padding: 7px 17px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--color-primary);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

button .loader {
    display: none;
}

button:disabled {
    cursor: default;
    filter: grayscale(0.2);
    opacity: 0.5;
}

button:disabled .loader {
    display: block;
}

button.button-white {
    border: 1px solid lightgrey;
    background-color: white;
    color: black;
}

/************************** 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 .modal-body-exclamation-mark img {
    width: 70px;
    margin: 0px auto;
}

.modal .modal-content .modal-body .modal-body-message {
    text-align: center;
    padding: 30px 0px 10px 0px;
    font-weight: 500;
    word-wrap: break-word;
}

.modal .modal-content .modal-footer {
    padding: 40px 20px 20px 20px;
}

.modal .modal-content .modal-footer button {
    width: 100%;
}