.jdt {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden; /* 防止图片溢出 */
}

/* 轮播图容器 */
.carousel-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 轮播图片通用样式 */
.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

/* 当前显示的图片 */
.carousel-item.active {
    opacity: 1;
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.prev { left: 20px; }
.next { right: 20px; }

/* 指示器 */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: rgba(255,255,255,0.9);
}

.form {
    /* 原有样式保持不变 */
    width: 200px;
    border: 1px solid #000;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    transition: height 0.3s ease;
    position: relative; /* 确保表单在轮播图上层 */
    z-index: 1;
}

.hidden {
    display: none;
}