

/* 容器样式 */
.container {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    background: rgba(245, 245, 245, 1);
}

/* 主要内容区样式 */
.content {
    padding: 20px;
    margin: 0 auto;
    margin-top: 27px;
    width: 1066px;
    height: 575px;
    opacity: 1;
    background: rgba(255, 255, 255, 1);
}
.content h1{
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 32px;
    color: rgba(13, 13, 13, 1);
    text-align: center;
    vertical-align: top;
    margin-top: 44px;
}
.serial-section{
    margin-top: 50px;
}
.serial-section .form-group {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 22px;
    color: rgba(13, 13, 13, 1);
    text-align: left;
    vertical-align: top;
    margin-bottom: 15px;
}
.form-group:has(.serial-inputs),.form-group:has(.code) {
    display: flex;
    align-items: center;
}

.form-group {
    margin-left: 285px;
    margin-bottom: 23px;
}

.form-group2 {
    margin-left: 310px;
    margin-bottom: 23px;
}

/* .form-group label{
    width: 100px;
} */
.form-group_1{
    margin-left: 294px;
}
.form-group_1 label{
    width: 200px;
}
.serial-inputs {
    display: inline-flex;
    gap: 10px;
    margin-left: 10px;
}
.serial-input {
    width: 80px;
    height: 40px;
    text-align: left;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.name-input {
    width: 310px;
    height: 40px;
    text-align: left;
    border: 1px solid #ddd;
}

input:focus {
    outline: none;
    border-color: rgba(108, 140, 245, 0.856);
    /* box-shadow: 0 0 5px rgba(108, 140, 245, 0.5); */
}


.required {
    color: red;
    margin-right: 4px;
}
.bind-machine {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 70px;

}

.info-icon {
    margin-left: 5px;
    color: #999;
}
.machine-code-input{
    margin-left: 71px;
}
.machine-code-input input {
    width: 100%;
    max-width: 390px;
    height: 40px;
    padding: 0 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: -2px;
}
.machine-code-input input:focus{
    border-color: rgba(108, 140, 245, 0.856);
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-input {
    width: 170px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
}

#captchaImg 
{
	width: 118px;
	height: 40px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-left: 345px;
    margin-top: 100px;
}

.btn-return, .btn-submit {
    width: 140px;
    height: 38px;
    line-height: 38px;
    opacity: 1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.btn-return {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(221, 222, 225, 1);
    color: rgba(28, 28, 28, 1);
    margin-right:42px;
}
.btn-return:hover{
    color: rgba(0, 91, 171, 1);
    background: rgba(245, 245, 245, 1);
    border: 1px solid rgba(0, 91, 171, 1);
}
.btn-return:active{
    color: rgba(0, 91, 171, 1);
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 91, 171, 1);
}

.btn-submit {
    background: linear-gradient(180deg, rgba(0, 91, 172, 1) 0%, rgba(23, 141, 245, 1) 100%);
    border: 1px solid rgba(0, 91, 171, 1);
    color: rgba(255, 255, 255, 1);
}
.btn-submit:hover{
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 91, 171, 1);
    box-shadow:inset 0px 0px 4px  rgba(255, 255, 255, 1);
}
.btn-submit:active{
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(180deg, rgba(0, 91, 172, 1) 0%, rgba(23, 141, 245, 1) 100%);
    border: 1px solid rgba(0, 91, 171, 1);
    box-shadow:inset 0px 0px 4px  rgba(255, 255, 255, 1);
}

.hint {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 16px;
    color: rgba(0, 0, 0, 1);
    margin-left: 70px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    background: url(/source/images/index/serial_number_bg.png) no-repeat 100% 100%;
    background-size: 100% 100%;
    width: 663px;
    height: 410px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.modal_content_info{
    width: 520px;
    height: 270px;
    opacity: 1;
    border-radius: 10px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    letter-spacing: 0px;
    line-height: 19px;
}
.modal-header {
    padding: 20px;
    /* border-bottom: 1px solid #eee; */
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 27px;
    color: rgba(13, 13, 13, 1);
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #666;
}

.modal-body {
    padding: 20px;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-item label {
    width: 120px;
    font-weight: 500;
    margin-left: 35px;
}

.info-item span {
    font-weight: 500;
}

.modal-footer {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-cancel, .btn-confirm {
    width: 140px;
    height: 38px;
    line-height: 38px;
    opacity: 1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.btn-cancel {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(221, 222, 225, 1);
    color: rgba(28, 28, 28, 1);
    margin-right:42px;
}
.btn-confirm {
    background: linear-gradient(180deg, rgba(0, 91, 172, 1) 0%, rgba(23, 141, 245, 1) 100%);
    border: 1px solid rgba(0, 91, 171, 1);
    color: rgba(255, 255, 255, 1);
}

.btn-cancel:hover{
    color: rgba(0, 91, 171, 1);
    background: rgba(245, 245, 245, 1);
    border: 1px solid rgba(0, 91, 171, 1);
}
.btn-cancel:active{
    color: rgba(0, 91, 171, 1);
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 91, 171, 1);
}

.btn-confirm:hover{
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 91, 171, 1);
    box-shadow:inset 0px 0px 4px  rgba(255, 255, 255, 1);
}
.btn-confirm:active{
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(180deg, rgba(0, 91, 172, 1) 0%, rgba(23, 141, 245, 1) 100%);
    border: 1px solid rgba(0, 91, 171, 1);
    box-shadow:inset 0px 0px 4px  rgba(255, 255, 255, 1);
}

.close-alert-btn {
    position: absolute;
    right: 10px;
    top: 0px;
    cursor: pointer;
    font-size: 18px;
}