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

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

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

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

@font-face {
    font-family: 'Roboto';
    src: url('../../assets/fonts/Roboto-Black.ttf?v=1');
    font-display: block;
    font-weight: 700;
}

/* :lang(ko) b {
    font-family: 'Noto Sans KR';
    font-family: 'Arial';
    font-family: 'Malgun Gothic';
    font-weight: 900 !important;
} */

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

:root {
    --primary-color: #bb0000;
    --secondary-color: #3c3c3c;
    --tertiary-color: #C4622D;
    --highlight-color: #dae1f9;
    --warning-color: #a00000;
    --notification-color: #e90000;
    --line-color: #DFDFDF;
    --background-color: #f0f0f0;
    --darkgrey-color: #282828;
    --font-xlarge: 20px;
    --font-large: 18px;
    --font-medium: 16px;
    --font-small: 14px;
}

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

body {
    margin: 0px;
    /* background-color: #F9F9F9; */
}

canvas,
svg,
img,
iframe {
    display: block;
}

iframe {
    border: 0px;
}

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

[v-cloak] {
    display: none;
}

[translate] {
    visibility: hidden
}

/************************** LOADING OVERLAY **************************/

#loading-overlay-wrapper {
    display: none;
}

#loading-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    font-size: 2rem;
    z-index: 999999;
}

#loading-overlay-icon {
    width: 40px;
    padding: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    /* background: var(--primary-color); */
    background: white;
    --_m: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: animationLoadingOverlayIcon 1s infinite linear;
}

@keyframes animationLoadingOverlayIcon {
    to {
        transform: rotate(1turn)
    }
}

/************************** PULL REFRESH **************************/

.pull-refresh-wrapper {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 25px;
    left: 0px;
    right: 0px;
    z-index: 999999;

}

.pull-refresh-background {
    background-color: whitesmoke;
    padding: 11px;
    border-radius: 30px;
}

.pull-refresh-spinner {
    border: 3px solid whitesmoke;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: keyFramesPullRefresh 2s linear infinite;
}

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

/************************** HEADER **************************/

#template-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    padding: 0px 30px 0px 30px;
    background-color: white;
    position: relative;
    z-index: 99;
    min-height: 90px;
}

@media only screen and (min-width: 500px) {
    #template-header {
        padding: 25px 15px 25px 15px;
    }
}

#template-header-left #template-header-back svg {
    width: 20px;
    cursor: pointer;
}

#template-header-center {
    display: grid;
    justify-content: center;
}

#template-header-center img {
    height: 40px;
}

#template-header-center svg {
    height: 40px;
} 

#template-header-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    z-index: 99;
}

#template-header-profile-photo {
    cursor: pointer;
}

#template-header-profile-photo #template-header-profile-photo-icon svg {
    width: 35px;
}

#template-header-profile-photo #template-header-profile-photo-image { 
    width: 35px;
    border-radius: 35px;
    overflow: hidden;
}

#template-header-profile-photo #template-header-profile-photo-image img { 
    width: 100%;
}

#template-header-hi {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 25vw;
}

@media only screen and (min-width: 500px) {
    #template-header-hi {
        max-width: 185px;
    }
}

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

button {
    border: none;
    padding: 0px 30px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: 700;
    background-color: var(--primary-color);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: var(--font-medium);
}

button.secondary {
    background-color: var(--secondary-color);
}

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

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

button.button-small {
    padding: 0px 15px;
    margin: 0px;
    height: 30px;
    font-size: var(--font-small);
    font-weight: 500;
}

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

.modal .modal-content.small {
    width: calc(100vw - 100px);
}

@media only screen and (min-width: 500px) {
    .modal .modal-content {
        width: 400px;
        max-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;
}

.modal .modal-content .modal-header .modal-header-close {
    cursor: pointer;
    padding: 5px 0px;
}

.modal .modal-content .modal-header .modal-header-close img {
    width: 17px;
}

.modal .modal-content .modal-header .modal-header-title {
    font-size: var(--font-large);
    font-weight: 500;
}

.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-list {
    display: flex;
    gap: 20px;
}

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

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

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

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

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

.form .form-description {
    font-size: 14px;
    color: grey;
}

.form .form-input {
    margin-top: 10px;
}

.form .form-input.icon {
    display: grid;
    grid-template-columns: 1fr auto;
}

.form .form-input.icon input {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-right: 0px;
}

.form .form-input.icon .form-input-icon {
    background-color: var(--primary-color);
    display: grid;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

.form .form-input.icon .form-input-icon img {
    width: 15px;
}

.form label .required {
    color: red;
    padding-left: 5px;
}

.form-block.required {
    color: red;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

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

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

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

.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: 10px;
    padding: 0px 10px;
    font-size: var(--font-medium);
}

.form .form-select {
    width: 100%;
    position: relative;
    display: inline-block;
}

.form .form-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 40px;
    border: 1px solid lightgrey;
    width: 100%;
    border-radius: 10px;
    padding: 0px 35px 0px 10px;
    font-size: var(--font-medium);
    color: black;
    cursor: pointer;
    background-color: white;
}
  
.form .form-select select:disabled {
    background-color: #EFEFEF4D;
}

.form .form-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url('/components/assets/images/select-option.svg') no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.form textarea {
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 10px;
    font-size: var(--font-medium);
    padding: 10px;
    resize: none;
}

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

.form .form-radio-block {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
}

.form .form-radio-input {
    display: grid;
    align-items: center;
    cursor: pointer;
}

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

.form .form-radio-label {
    display: grid;
    justify-content: flex-start;
}

.form .form-radio-label label {
    font-weight: 400;
    cursor: pointer;
    padding-left: 15px;
}

.form .form-radio-label-description {
    color: grey;
    font-size: var(--font-small);
}

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

.form .form-checkbox-block {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
}

.form .form-checkbox-input {
    display: grid;
    align-items: center;
    cursor: pointer;
}

.form .form-checkbox-input input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid grey;
    position: relative;
}

.form .form-checkbox-input input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form .form-checkbox-input input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form .form-checkbox-label {
    padding-left: 15px;
}

.form .form-checkbox-label label {
    font-weight: 400;
    cursor: pointer;
}

.form .form-checkbox-label label .form-checkbox-label-description {
    color: grey;
    font-size: var(--font-small);
}

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

.form .form-tnc-block {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
}

.form .form-tnc-input {
    display: grid;
    align-items: center;
    cursor: pointer;
}

.form .form-tnc-input input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid grey;
    position: relative;
}

.form .form-tnc-input input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form .form-tnc-input input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form .form-tnc-label {
    padding-left: 15px;
}

.form .form-tnc-label label {
    font-weight: 400;
    cursor: pointer;
    color: grey;
    font-size: var(--font-small);
}

.form .form-tnc-label label .form-tnc-label-description {
    color: grey;
    font-size: var(--font-small);
}

/************************** CONTENT **************************/

.content {
    padding: 20px;
    margin-bottom: 140px;
}

.content.no-padding {
    padding: 0px;
}

.content.no-margin {
    margin-bottom: 20px;
}

.wrapper {
    width: 100%;
}

@media only screen and (min-width: 500px) {
    .wrapper {
        width: 500px;
        margin: 0px auto;
    }
}

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

#page-coming-soon {
    text-align: center;
    padding: 50px;
}

#page-title-main {
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    padding-bottom: 60px;
}

.event-banner-coming-soon {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 800 / 400;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: var(--font-large);
    padding: 0px 50px;
    text-align: center;
    height: 100%;
}

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

.event-banner img {
    width: 100%;
}

.main-event-name {
    font-weight: 700;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    align-items: center;
    text-transform: uppercase;
}

.event-name {
    font-weight: 700;
}

/************************** PAGE TAB **************************/

#page-tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
}

#page-tab-list .page-tab-block {
    text-align: center;
    border-bottom: 2px solid transparent;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
}

#page-tab-list .page-tab-block.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/************************** PILL LIST **************************/

.pill-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 5px;
}

.pill-block {
    background-color: #1D6DA3;
    color: white;
    padding: 3px 15px;
    border-radius: 10px;
    font-weight: 500;
    font-size: var(--font-small);
    text-align: center;
}