/* main button */
.c-mainBtn {
    text-align: center;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 17.5px 25px 14.5px;
    height: 50px;
    background-size: 300% 100%;
    transition: background-position .3s ease-in-out;
    background-image: linear-gradient(90deg, #58c180, #7ac882, #85ca82, #58c180);
    color: #fff;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0 auto;
    border: none;
    min-width: 148px;
}

.c-mainBtn:hover {
    color: #fff;
    background-position: 100% 0;
    -webkit-transition: background-position .3s ease-in-out;
    transition: background-position .3s ease-in-out;
}

.c-mainBtn:disabled {
    opacity: 0.5;
}

/* 彈窗 */
.c-modal-component {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.c-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal__messagebox {
    width: 90vw;
    max-width: 700px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 31px 56px;
    box-sizing: border-box;
    position: relative;
}

.modal__messagebox p {
    margin: 16px 0;
}

#resultModal .modal__messagebox {
    width: 409px;
}

.modal__title {
    text-align: center;
    margin: 0 0 24px 0;
}

.modal__message {
    text-align: center;
}

.modal__closeBtn {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 18px;
    height: 18px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.modal__closeBtn::before,
.modal__closeBtn::after {
    right: -3px;
    top: 6px;
    transform: rotate(-45deg);
    content: "";
    display: block;
    position: absolute;
    width: 21px;
    border: 0;
    border-radius: 2px;
    height: 1px;
    transition-duration: .15s;
    transition-property: transform, -webkit-transform;
    background-color: #333;
}

.modal__closeBtn::after {
    transform: rotate(45deg);
}

.modal__closeBtn:hover::before,
.modal__closeBtn:hover::after {
    background-color: #666;
}

.c-link {
    color: #67b77e;
}

.modal__content {
    max-height: calc(90vh - 150px);
    overflow-y: scroll;
    overflow-x: visible;
    padding: 2px;
    scrollbar-width: none;
}

.modal__content::-webkit-scrollbar {
    display: none;
}