body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #a29bfe;
    background-image: url('./bac.webp');
    background-size: cover;
}

.container {
    text-align: center;
}

.login {
    width: 550px;
    height: 400px;
    display: flex;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        to right bottom,
        rgba(240, 248, 255, 0.5),  /* 淡蓝色，更加透明 */
        rgba(224, 238, 238, 0.4),  /* 淡青色，更加透明 */
        rgba(245, 245, 220, 0.3)   /* 淡黄色，更加透明 */
    );
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px #a29bfe;
}
.table{
    font: 900 40px '';
    text-align: center;
    letter-spacing: 5px;
    color: #3d3d3d;
}
.box{
    overflow: hidden;
}

.box input{
    width: 100%;
    margin-bottom: 20px;
    outline: none;
    border: 0;
    padding: 10px;
    border-bottom: 3px solid rgb(150, 150, 240);
    background-color: transparent;
    font: 900 16px '';
}
.go{
    text-align: center;
    display: block;
    height: 24px;
    padding: 12px;
    font: 900 20px '';
    border-radius: 10px;
    margin-top: 20px;
    color: #fff;
    letter-spacing: 3px;
    background-image: linear-gradient(to left, #fd79a8, #a29bfe);
}

.upload-area {
    width: 600px;
    height: 300px;
    border: 2px dashed #007bff;
    border-radius: 15px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    font-size: 18px;
    color: #495057;
    position: relative; /* 为绝对定位的伪元素做准备 */
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(270deg, rgba(0, 123, 255, 0.5), rgba(0, 255, 123, 0.5), rgba(0, 123, 255, 0.5));
    animation: glow 1.5s infinite alternate;
    opacity: 0.5;
    z-index: -1; /* 确保背景在文本后面 */
}

@keyframes glow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.upload-area:hover {
    background-color: #e9ecef;
}
