.my-modal{
    position: fixed; /* 相对定位 */
    top: 50%; /* 向下偏移 50% */
    transform: translateY(-50%); /* 向上修正自身高度的一半 */
    margin: 0 auto; /* 保持水平居中（Bootstrap 默认行为） */
}
html {
    overflow-y: scroll;
}

label.required::before {
    content: "*"; /* 插入 * 号 */
    color: red;   /* 设置为红色 */
    margin-right: 0px; /* 与文字保持一定间距 */
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    margin-top: 60px;
    padding: 0;
    background: linear-gradient(to bottom, #87CEEB 0%, #FFFFFF 200px, #FFFFFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
    min-height: 100vh; /* 使 body 至少占满整个视口高度 */
}
/* 水印图片样式 */
.watermark {
    position: absolute;
    top: 20px; /* 图片距离顶部的距离 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 水平居中 */
    opacity: 1.0; /* 设置透明度，实现水印效果 */
    z-index: -1; /* 将图片置于内容下方 */
    width: 200px; /* 图片宽度 */
    height: auto; /* 图片高度自适应 */
}

/*底部导航*/
/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /*background-color: #87CEEB;*/
    background: linear-gradient(to top, #97DEFB 0%, rgb(199,233,246) 50px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: -10px 0;
    z-index: 99;
}
.bottom-nav a {
    color: #333;
    text-decoration: none;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav a i {
    font-size: 20px;
}
.bottom-nav a span {
    font-size: 12px;
    margin-top: 5px;
}

/* 中间圆形按钮样式 */
.bottom-nav a.middle-button {
    flex: none;
    position: relative;
    margin: -5px;
    top: -20px;
    background-color: #87CEEB;
    color: #fff;
    width: 60px; /* 宽度 */
    height: 60px; /* 高度（与宽度相同） */
    border-radius: 50%; /* 设置为 50% 形成圆形 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.2);
}
.bottom-nav a.middle-button i {
    font-size: 24px;
}

/*卡片式编辑*/

.card {
    background-color: #ffffffa0;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 95%;
    min-width: 320px;
}

.card .row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card .col {
    display: flex;
    /*flex-direction: column;*/
    margin-right: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.card .col:last-child {
    margin-right: 0;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar40{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.text-box {
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

select {
    width: 165px;
}

.dropdown {
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

label {
    margin-right: 10px;
    white-space: nowrap;
}

/* 标签样式 */
.col label {
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #ffffff00;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type=text],input[type=date],input[type=number],input[type=date],input[type=tel],select,textarea{
    background-color: #ffffff00!important;
    width:100%;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 5px;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    gap: 10px; /* 选项之间的间距 */
}

/* 右侧内容样式 */
.right-content {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*gap: 8px;*/
    /*flex: 1;*/
}

/* 多选列表框样式 */
.multi-select,.multi-select1 {
    width: 250px;
    height: 100px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

/* 选中项的组合文本样式 */
.selected-items {
    font-size: 14px;
    color: #333;
}

.btn{
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px!important;
}

.bottom-button{
    margin-top: 20px;
}
.error{
    color: red;
    padding-left: 5px;
}
