/* 左下角控制按钮 */
.controlsDet {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 200;
    display: flex;
    gap: 15px;
}

.control-btnDet {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.control-btnDet:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .controlsDet {
        right: 20px;
        bottom: 20px;
    }@keyframes gradientBGDet {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* 模态窗口遮罩 */
.modal-overlayDet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 100, 100, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlayDet.activeDet {
    opacity: 1;
    visibility: visible;
}

/* 模态窗口 */
.modal-windowDet {
    background-color: white;
    width: 70%;
    height: 70%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modal-overlayDet.activeDet .modal-windowDet {
    transform: scale(1);
    opacity: 1;
}

/* 模态头部 */
.modal-headerDet {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-titleDet {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.close-buttonDet {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-buttonDet:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

/* 模态内容 */
.modal-contentDet {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-windowDet {
        width: 85%;
        height: 85%;
    }

    .control-buttonDet {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

    .control-btnDet {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .controlsDet {
        right: 15px;
        bottom: 15px;
    }

    .control-btnDet {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


