.custom-button#btn-open-modal {
    background-color: rgb(14, 123, 224);
    color: #fff;
    border: none;
    outline: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#custom-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    background: rgba(0, 0, 0, 0.5);
    height: 100vh;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

#qupwreminder-page .size-14 {
    font-size: 14px;
}

#custom-modal-container.show {
    opacity: 1;
    pointer-events: all;
}

.custom-modal {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 400px;
    min-height: 260px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease-in-out;
}

#custom-modal-container.show .custom-modal {
    border-radius: 4px;
}

.custom-modal-header {
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #D1D1D1;
    padding: 27px;
}

.custom-modal-header .custom-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.custom-modal-header #btn-close-modal {
    border: none;
    background: none;
    outline: none;
    font-size: 20px;
    cursor: pointer;
}

.custom-modal-body {
    padding: 0px 20px 20px;
}

#custom-modal-message {
    margin-top: 20px;
}

#status-complete {
    text-align: center;
    padding: 0 2px;
    margin: 24px 0;
}

.commonMediumBtn {
    text-align: center;
    border: 1px solid #004EA2;
    background: none;
    height: 30px;
    border-radius: 4px;
    color: #004EA2;
    font-weight: 700;
    font-size: 14px;
    margin: 0 8px;
    padding: 6px 18px;
    width: auto;
}

@media (max-width: 425px) {
    .custom-modal {
        max-width: 94%;
    }
}

#qupwreminder-page {
    --primary-color: #004EA2;
    --secondary-color: #EB6E00;
}

#qupwreminder-page .custom-border {
    border: 1px solid #D1D1D1;
    padding: 16px;
    border-radius: 6px;
}

#qupwreminder-page .ttl-area h2 {
    font-weight: 700;
    font-size: 18px;
    padding: 5px 0 4px 16px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 16px;
}

#qupwreminder-page select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: auto;
    background: none;
    background-image: none;
    padding-right: 30px;
    position: relative;
    height: 35px;
}

#qupwreminder-page div {
    margin-bottom: 5px;
}

#qupwreminder-page .title-mobile {
    display: none;
}

#qupwreminder-page .title-pc {
    display: block;
}

#qupwreminder-page table,
#qupwreminder-page .form-control,
#qupwreminder-page .notice_msg,
#qupwreminder-page .text-cofirm {
    font-size: 14px;
}

#qupwreminder-page .text-cofirm {
    margin-top: 16px;
}

#qupwreminder-page .notice_msg {
    margin-bottom: 24px;
}

#qupwreminder-page th,
#qupwreminder-page .btn_left {
    text-align: right;
    width: 25%;
    font-weight: 400;
}

#qupwreminder-page th {
    padding-top: 8px;
}

#qupwreminder-page span.error {
    margin-left: 24px;
    margin-top: 10px;
}

#qupwreminder-page span.error:empty {
    margin-left: 0;
    margin-top: 0;
}

#qupwreminder-page select,
#qupwreminder-page input,
#qupwreminder-page #captcha {
    margin-left: 24px;
    width: 59%;
}

#qupwreminder-page #captcha,
#qupwreminder-page input[name="sbmtImgChg"] {
    margin-left: 25px;
}

#qupwreminder-page tr {
    border-bottom: 2px solid #EEEEEE;
    padding-bottom: 5px;
}

#qupwreminder-page .btn_container {
    display: flex;
}

#qupwreminder-page .btn_container_confirm {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

#qupwreminder-page .btn_save,
#qupwreminder-page .btn_cancel {
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    width: 120px;
    height: 40px;
}

#qupwreminder-page .btn_save {
    background: var(--primary-color);
    border: none;
    color: white;
}

#qupwreminder-page .btn_cancel {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

#qupwreminder-page tr:nth-of-type(4),
#qupwreminder-page tr:nth-of-type(5) {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 425px) {
    #qupwreminder-page .custom-modal {
        max-width: 94%;
    }
}

@media only screen and (max-width: 767px) {
    #qupwreminder-page .title-mobile {
        display: block;
    }

    #qupwreminder-page .title-pc {
        display: none;
    }

    #qupwreminder-page th {
        text-align: left;
        width: 100%;
        font-weight: 700;
        margin-bottom: 15px;
        padding-left: 0;
    }

    #qupwreminder-page span.error {
        margin-left: 0;
    }

    #qupwreminder-page .btn_save,
    #qupwreminder-page select,
    #qupwreminder-page input {
        width: 100%;
        margin-left: 0;
    }

    #qupwreminder-page .btn_container {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 50px;
        margin-top: 15px;
    }

    #qupwreminder-page .notice_msg,
    #qupwreminder-page .btn_left {
        display: none;
    }

    #qupwreminder-page .btn_right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #qupwreminder-page #captcha,
    #qupwreminder-page input[name="sbmtImgChg"] {
        margin-left: 0;
    }

    #qupwreminder-page #captcha {
        width: 100%;
    }

    #qupwreminder-page th:empty {
        display: none;
    }

    #qupwreminder-page tr:last-child {
        padding-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    #qupwreminder-page th,
    #qupwreminder-page .btn_left {
        width: 30%;
    }

    #qupwreminder-page select,
    #qupwreminder-page input,
    #qupwreminder-page .btn_right,
    #qupwreminder-page #captcha {
        width: 70%;
    }
}

input[name="sbmtImgChg"] {
    min-width: 120px !important;
    max-width: 200px !important;
    height: 32px;
    line-height: 1;
}
