        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
        
        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            overflow: hidden;
        }
        
        /* 星空背景 */
        body::before {
            content: '';
            position: absolute;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 10.01%);
            background-size: 20px 20px;
            animation: stars 60s linear infinite;
            z-index: -1;
        }
        
        @keyframes stars {
            0% { transform: translateY(0); }
            100% { transform: translateY(-1000px); }
        }
        
        .login-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            width: 350px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.18);
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        
        .login-container h2 {
            color: #fff;
            text-align: center;
            margin-bottom: 30px;
            font-weight: 500;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .login-container h4 {
            color: #ffeb3b;
            text-align: center;
            margin-bottom: 20px;
            font-weight: 400;
        }
        
        .login-container input[type="text"], 
        .login-container input[type="password"] {
            width: 85%;
            padding: 12px 20px;
            margin: 8px 0;
            border: none;
            border-radius: 25px;
            background: rgba(255,255,255,0.4);
            color: #461313;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        
        .login-container input::placeholder {
            color: rgba(255,255,255,0.6);
        }
        
        .login-container input:focus {
            outline: none;
            background: rgba(255,255,255,0.3);
            box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
        }
        
.button-container {
    width: 100%;
    margin-top: 20px;
    display: flex; /* 添加此行 */
    justify-content: center; /* 添加此行 */
}

.button-container input[type="submit"] {
    width: 50%; /* 按钮宽度 */
    padding: 12px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
        
        .button-container input[type="submit"]:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
        }
        
        .error-message, .success-message {
            margin-top: 15px;
            width: 100%;
            text-align: center;
            padding: 10px;
            border-radius: 5px;
        }
        
        .error-message {
            background: rgba(255, 99, 71, 0.2);
            color: #ff6347;
            border: 1px solid rgba(255, 99, 71, 0.3);
        }
        
        .success-message {
            background: rgba(50, 205, 50, 0.2);
            color: #32cd32;
            border: 1px solid rgba(50, 205, 50, 0.3);
        }
        
        a {
            color: #ffeb3b;
            text-decoration: none;
            margin-top: 15px;
            display: block;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        a:hover {
            color: #fff;
            text-decoration: underline;
        }
    .links-container {
        text-align: center; /* 让链接居中 */
        margin-top: 15px; /* 调整链接与上方内容的间距 */
         
    }
    
    .links-container a {
        display: inline-block; /* 让链接在同一行显示 */
        margin-right: 20px; /* 调整链接之间的间距 */
        text-decoration: none; /* 移除下划线 */
        font-size: 14px; /* 调整字体大小 */
        color: #ffeb3b; /* 默认链接颜色 */
        transition: all 0.3s ease; /* 添加过渡效果 */
        font-weight: bold; 
    }
    
    .links-container a:hover {
        color: #fff; /* 鼠标悬停时链接颜色 */
        text-decoration: underline; /* 鼠标悬停时显示下划线 */
    }
    
    .links-container a[href="add/"] {
        color: lime; 
    }