/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

/* 页面主体样式 */
body {
    background-image: url(../pic/index-back.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;


    height: 100vh;
    width: 100vw;

    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

/* 登录容器 */
#login {
    border: 1px solid #691818;
    width: 45%;
    border-radius: 20px;
    padding: 30px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
}

#login h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

/* 输入框容器 */
.input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px; /* 替代 margin-bottom */
}

/* 单个输入框样式 */
.input-wrap {
    border: 1px solid white;
    border-radius: 50px;
    height: 35px;
    padding: 0 25px;
    width: 100%;

    display: flex;
    align-items: center;
}

.input-wrap input {
    border: 0px;
    width: 100%;
    background-color: transparent;
    font-size: 1.2rem;
    color: white;
    padding: 0;
}

.input-wrap input::placeholder {
    color: white;
    font-size: 1.2rem;
}

/* 按钮区域 */
.btn-container {
    width: 100%;
    margin-top: 15px;
}

.btn-container button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 50px;
    background-color: white;
    color: black;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-container button:hover {
    background-color: #ffe0e0;
}
