.shop-logo-container img {
    max-height: 80px;
    max-width: 200px;
}

/* 手機 */
@media only screen and (max-width: 767px) {

    .page-container {
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        max-width: 610px;
    }

    .shop-logo-container {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .login-container {
        border-top: 1px solid rgb(221, 221, 221);
        line-height: 2;
        padding: 0px;
        margin-bottom: 150px;
    }

    .login-input-section {
        padding: 20px 20px 0px;
    }
}

/* 桌機 */
@media only screen and (min-width: 768px) {

    .page-container {
        margin-left: auto;
        margin-right: auto;
        margin-top: 70px;
        max-width: 610px;
    }

    .shop-logo-container {
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .login-container {
        line-height: 2;
        border: 1px solid rgb(221, 221, 221);
        padding: 0px;
        margin-bottom: 150px;
    }

    .login-input-section {
        padding: 40px 135px 0px;
    }
}

body {
    margin: 8px 0;
    display: block;
}

input::placeholder {
    font-size: 14px;
    line-height: 20px;
    color: #999999;
}

.shop-logo {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 46px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C20D22;
}

.ad-image {
    /*
    width: 100%;
    display: block;
    height: 125px;
    background-color: aqua;
    */
}
.promo-image{
    text-align: center;
    margin-bottom: 50px;
}

.promo-image img{
    max-width: 100%;
    /*max-height: 125px;*/
}

.form-title {
    text-align: left;
    font-size: 14px;
    color: rgb(51, 51, 51);
    line-height: 24px;
}

.form-input {
    display: flex;
}

.select-section {
    flex: 1.7;
    margin-right: 10px;
}

.select-style {
    width: 100%;
    padding: 10px 0;
    
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 15px) calc(1em + 2.5px), calc(100% - 10px) calc(1em + 2.5px), calc(100% - 3em) 0em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

.select-style-disabled {
    background-color: rgb(240, 240, 240);
    color: rgb(153, 153, 153);
}

.input-section {
    flex: 3;
    width: 100%;
}

.input-style {
    width: 100%;
    height: 40px;
}

.input-style-disabled {
    background-color: rgb(240, 240, 240);
    color: rgb(153, 153, 153);
}

.barcode-input-group {
    display: flex;
    width: 100%;
}

.barcode-input-group .input-style {
    flex: 1;
    min-width: 0;
    border-radius: 5px 0 0 5px;
}

.barcode-input-group-append {
    display: flex;
}

.barcode-scan-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #C20D22;
    border-left: 0;
    background-color: #C20D22;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 16px;
}

.barcode-scan-button:last-child {
    border-radius: 0 5px 5px 0;
}

.barcode-scan-button:hover {
    background-color: #A80B1D;
}

.barcode-scan-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#barcode_scanner_container {
    margin-top: 10px;
    background-color: #000000;
}

#video_barcode_reader {
    display: block;
    max-height: 320px;
    object-fit: cover;
}

.icon-container {
    position: absolute;
    top: 13px;
    left: 10px;
    color: #666666;
}

.button-style {
    border-radius: 4.5px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    background-color: #C20D22;
    color: #FFFFFF;
    cursor: pointer;
    border: 1px solid #C20D22;
    width: 100%;
    height: 40px;
    line-height: 40px;
}

.button-style-outline {
    background-color: #FFFFFF;
    color: #C20D22;
}

.button-style-outline:hover {
    background-color: rgb(230, 230, 230);
}

.button-style-disable {
    background-color: #FFFFFF;
    border: 1px solid rgb(221, 221, 221);
    color: rgb(221, 221, 221);
}

.form-note {
    text-align: center;
    font-size: 12px;
    margin-top: 16px;
    margin-bottom: 40px;
    line-height: 17px;
}

.link-style {
    color: rgb(66, 139, 202);
    margin: 0px 5px;
    text-decoration: none;
}

.section-line {
    margin: 20px 0px 30px;
}

.section-line::before {
    content: "";
    border-top: 1px solid rgb(221, 221, 221);
    display: block;
}

.visable-password {
    position: absolute;
    font-size: 13px;
    top: 7px;
    right: 5px;
    cursor: pointer;
}

.footer-container {
    /*position: sticky;*/
    bottom: 0;
    background: #FFFFFF;
    box-shadow: inset 0px 1px 0px #dddddd;
    padding: 20px;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 17px;
}

input,
select {
    border-radius: 5px;
    border: 1px solid #DDDDDD;
}

input.error {
    border: 1px solid rgb(255, 83, 83);
    color: rgb(51, 51, 51);
    outline: 0;
}

input.error:focus {
    border: 1px solid rgb(255, 83, 83);
}


label.error {
    font-size: 14px;
    line-height: 22px;
    color: rgb(255, 83, 83);
}

#countrySelectDom div[class^=css-][class$=-control] {
    min-height: 40px;
}

#countrySelectDom div[class^=css-][class$=-menu]{
    width: 300px;
}

.multi-select select {
    width: calc(50% - 5px);
    margin-right: 5px;
}

.radio-column {
    width: 130px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.radio-button__hidden {
    /*display: none;*/
    visibility: hidden;
}

.radio-button__hidden:checked+.radio-button__entry .radio-button__circle {
    border-color: #4D98EF;
}

.radio-button__hidden:checked+.radio-button__entry .radio-button__circle:before {
    content: '';
    background: #4D98EF;
    border-radius: 50%;
    height: 10px;
    pointer-events: none;
    width: 10px;
    display: inline-block;
}

.radio-button__entry {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.radio-button__circle {
    margin-right: 8px;
    border: solid 1px #dddddd;
    border-radius: 50%;
    cursor: pointer;
    min-height: 18px;
    min-width: 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
