/* 显示悬浮窗的圆形按钮 */
#show-floating-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px; /* 增加内边距，让按钮更大 */
    background-color: #15B80E;
    color: white;
    font-size: 16px; /* 调整字体大小 */
    font-weight: 500; /* 加粗字体 */
    border: none;
    border-radius: 25px; /* 增加圆角，使按钮更圆润 */
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 增加阴影，提升立体感 */
    transition: all 0.3s ease; /* 添加过渡效果，使状态变化更平滑 */
}

#show-floating-window:hover {
    background-color: #15B80E; /* 鼠标悬停时改变背景颜色 */
    transform: translateY(-3px); /* 鼠标悬停时按钮上移 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* 鼠标悬停时增加阴影强度 */
}

/* 手机端隐藏显示悬浮窗按钮 */
@media (max-width: 767px) {
    #show-floating-window {
        display: block;
    }
}

/* 悬浮窗样式 */
#floating-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
    border: 1px solid #ccc; /* 合并重复的 border 样式 */
    padding: 20px;
}

/* 关闭悬浮窗按钮 */
#close-floating-window {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 服务分类横向显示 */
.yycj-service-tabs {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* margin-bottom: 20px; */
}

.yycj-service-tabs li {
    margin: 5px;
}

.yycj-service-tabs li a {
    display: block;
    padding: 10px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.yycj-service-tabs li a:hover {
    background-color: #e0e0e0;
}

/* 手机端服务分类2行3列布局 */
@media (max-width: 767px) {
    .yycj-service-tabs {
        justify-content: space-between;
    }
    .yycj-service-tabs li {
        flex: 0 0 calc(33.33% - 10px); /* 减去左右的 margin */
    }
}

/* 表单样式 */
.yycj-service-form {
    padding: 10px;
    width: 100%;
}

.yycj-service-form h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.yycj-service-form label {
    display: block;
    margin-bottom: 5px;
}

.yycj-service-form input[type="text"],
.yycj-service-form input[type="tel"],
.yycj-service-form input[type="datetime-local"],
.yycj-service-form select {
    width: 100%;
    padding: 3px;
    margin-bottom: 15px;
}

/* 物品选择样式 */
.yycj-service-form label {
    display: inline-block; /* 使 label 元素可以横向排列 */
    margin-right: 10px; /* 给每个 label 元素一些右边距 */
    vertical-align: middle; /* 垂直方向上居中对齐 */
	font-size: 12px;
}

.yycj-service-form label input[type="checkbox"],
.yycj-service-form label input[type="radio"] {
    display: inline;
    margin-left: 5px;
    width: 13px;
    vertical-align: middle; /* 垂直方向上居中对齐 */
}

.yycj-service-form button[type="button"] {
    padding: 10px 20px;
    background-color: #15B80E;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.yycj-service-form button[type="button"]:hover {
    background-color: #15B80E;
}

.tangram-suggestion-main {
    z-index: 2000; /* 确保该值大于插件的 z-index 值 */
}