.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
}

.modal-container {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modal-fade-in 0.3s ease-out;
    margin-top: 100px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    /*padding: 16px 20px;*/
    /*border-bottom: 1px solid #eee;*/
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border-radius: 50%;*/
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background-color: #f5f5f5;
    color: #333;
}

.modal-content {
    padding: 0 20px;
    line-height: 1.5;
}

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.modal-confirm {
    background-color: #007bff;
    color: white;
}

.modal-confirm:hover {
    background-color: #0069d9;
}

.modal-cancel {
    background-color: #f8f9fa;
    color: #333;
}

.modal-cancel:hover {
    background-color: #e2e6ea;
}

/* 弹框动画 */
@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*****************人工客服*****************/

.modal-qrcode-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
}

.modal-qrcode-title img {
    width: 22px;
    height: 22px;
    margin-top: 3px;
}

.modal-qrcode-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    margin-top: 17px;
    text-align: center;
}

.modal-qrcode-img {
    height: 140px;
    background: url('../images/qrbg.png') no-repeat center center;
    background-size: contain;
    margin-top: 20px;
    text-align: center;
}

.modal-qrcode-img img {
    width: 119px;
    height: 116px;
    margin-top: 12px;
}

.modal-qrcode-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 29px;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
}

.modal-qrcode-time img {
    width: 15px;
    height: 15px;
    margin-top: 2px;
}




.yyys-top {
    display: flex;
    margin-top: 10px;
}
.yyys-top-left .title {
    font-weight: 400;
    font-size: 28px;
    line-height: 28px;
    color: #643B00;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #F7B657;
    width: 350px;
}
.yyys-top-left .item {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #4A4743;
    margin: 10px 0;
}
.yyys-top-left .item img {
    width: 17px;
    height: 17px;
}
.yyys-top-right {
    width: 290px;
    text-align: right;
}
.yyys-top-right img {
    width: 144px;
    height: 144px;
}
.yyys-from{
    margin-top: 20px;
    font-weight: 400;
    font-size: 14px;
    color: #1C1C1C;
    line-height: 14px;
}
.yyys-from .star{
    color:red;
    margin-right: 3px;
}
.yyys-from .form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.yyys-from .label{
    margin-bottom: 5px;
}
.yyys-from input {
    width: 175px;
    height: 35px;
    background: #F1F1F1;
    border: none;
    outline-color: #F7B657;
    outline-width: 1px;
    padding-left: 10px;
}
.yyys-from textarea {
    width: calc(100% - 20px);
    height: 60px;
    background: #F1F1F1;
    border: none;
    outline-color: #F7B657;
    outline-width: 1px;
    padding: 10px;
}
.yyys-from select {
    width: 185px;
    height: 35px;
    background: #F1F1F1;
    border: none;
    outline-color: #F7B657;
    outline-width: 1px;
    padding-left: 5px;
}
.yyys-from ::placeholder {
  color: #bbbbbb;
}
.yyys-from ::-webkit-input-placeholder {
  color: #bbbbbb;
}
.yyys-from ::-moz-placeholder {
  color: #bbbbbb;
}
.yyys-from :-ms-input-placeholder {
  color: #bbbbbb;
}
.yyys-your-req .items  {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap:5px
}
.yyys-your-req .items div {
    display: inline-block;
    width: 90px;
    height: 38px;
    background: #F1F1F1 ;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
}
.yyys-your-req .items div.active {
    background: #F7B657 ;
    color: white;
}
#req_other {
    margin-top: 5px;
}
.yyys-from-bottom {
    display: flex;
    justify-content: right;
}
#submit_btn {
    width: 100px;
    height: 40px;
    line-height: 38px;
    border-radius: 2px;
    color: white;
    background: linear-gradient(90deg, #f8b85b, #ec9d2a);
    cursor: pointer;
    text-align: center;
    margin-bottom: 30px;
}
#submit_btn.submitting {
    color: #7c7c7c;
    background: #cccccc;
    cursor: no-drop;
}

