body {
	/* 登录注册背景 */
  background: url("https://img.3dmgame.com/uploads/images/thumbpicfirst/20220914/1663121866_127139.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
    }

    .auth-container {
        max-width: 380px;
        width: 90%;
        margin: 60px auto 20px auto; /* Add margin top/bottom */
        padding: 30px;
        background: rgba(255, 255, 255, 0.95); /* Slightly less transparent */
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        text-align: center;
    }

    .auth-container h2 {
        color: #FF69B4; /* Theme color */
        margin-bottom: 25px;
        font-size: 1.8em;
    }

    .auth-form .form-group {
        margin-bottom: 20px;
        text-align: left;
    }

    .auth-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #555;
    }

    .auth-form input[type="text"],
    .auth-form input[type="password"] {
        width: 100%;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 1em;
        transition: border-color 0.2s ease;
    }

    .auth-form input[type="text"]:focus,
    .auth-form input[type="password"]:focus {
        border-color: #FF69B4;
        outline: none;
        box-shadow: 0 0 0 2px rgba(255, 105, 180, 0.2);
    }

    .auth-button {
        width: 100%;
        padding: 12px 20px;
        background-color: #FF69B4;
        border: none;
        border-radius: 6px;
        color: #fff;
        font-size: 1.1em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

    .auth-button:hover {
        background-color: #ff85c1; /* Lighter pink on hover */
    }

    .auth-button:active {
        transform: scale(0.98); /* Click feedback */
    }

    .auth-switch {
        margin-top: 25px;
        font-size: 0.9em;
        color: #666;
    }

    .auth-switch a {
        font-weight: bold;
    }

    @media (max-width: 480px) {
        .auth-container {
            padding: 20px;
        }
         .auth-container h2 {
            font-size: 1.6em;
        }
        .auth-form input[type="text"],
        .auth-form input[type="password"],
        .auth-button {
             padding: 10px;
             font-size: 1em;
         }
    }

/* 黑夜模式样式覆盖 */
.dark-mode .auth-container {
    background: rgba(45, 45, 45, 0.95) !important;
    color: #e0e0e0 !important;
}

.dark-mode .auth-container h2 {
    color: #FF69B4 !important;
}

.dark-mode .auth-form label {
    color: #e0e0e0 !important;
}

.dark-mode .auth-form input[type="text"],
.dark-mode .auth-form input[type="password"] {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

.dark-mode .auth-form input[type="text"]:focus,
.dark-mode .auth-form input[type="password"]:focus {
    border-color: #FF69B4 !important;
    box-shadow: 0 0 0 2px rgba(255, 105, 180, 0.2) !important;
}

.dark-mode .auth-button {
    background-color: #FF69B4 !important;
}

.dark-mode .auth-button:hover {
    background-color: #e91e63 !important;
}

.dark-mode .auth-links a {
    color: #FF69B4 !important;
}

.dark-mode .auth-links a:hover {
    color: #ff85c1 !important;
}

