﻿/* 设置按钮的样式 */
.button {
    padding: 5px 10px; /* 按钮内边距 */
    background-color: #5DB2D9;
    color: white; /* 按钮文字颜色 */
    border: 1px solid #2798CD;
    border-radius: 6px; /* 圆角边框 */
    cursor: pointer; /* 鼠标悬停时显示手型 */
    font-size: 16px; /* 字体大小 */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* 添加过渡效果 */
}

    /* 鼠标悬停时的按钮样式 */
    .button:hover {
        background-color: #2798CD; /* 悬停时的背景颜色 */
        border-color: lightseagreen; /* 悬停时的边框颜色 */
    }

.button-white {
    background-color: #fff;
    color: #0F4A60;
    border: none;
    box-shadow: none;
    border-radius: 6px;
    padding: 5px 20px 5px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 16px;
}

    .button-white:hover {
        background-color: #f2f2f2;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #A3D8EB; /* 与按钮背景一致 */
    min-width: 130px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px; /* 圆角边框 */
    overflow: hidden; /* 防止内容溢出 */
    flex-direction: column; /* 确保垂直排列 */
    bottom: 100%; /* 关键：让菜单向上弹出 */
    left: 0;
    top: auto; /* 禁用默认的top定位 */
}

    .dropdown-menu a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-menu a:hover {
            background-color: #5DB2D9;
        }

.dropdown:hover .dropdown-menu {
    display: block;
} 

/* 进度条样式 */
.easy-progress-container {
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #e9ecef;
}

.easy-progress-bar-container {
    width: 100%;
    height: 2.5vh;
    background-color: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.easy-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 12px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

    .easy-progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: progress-shine 2s infinite;
    }

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

