/* Login Page Styles */

.login-wrapper {
    background-color: #f5f5f5; /* Light bg for form contrast */
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* If body is dark, maybe wrapper should be dark or image bg? 
   Spec says "Login Box" and "Center".
   Let's stick to the Spec: "Header + 居中表单盒 + Footer".
   Login CSS Spec: "Uses #B88E5C for accents and #fff for background"
*/

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 0 15px;
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.login-header p {
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    height: 45px;
    padding: 0 15px 0 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--accent);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
}

.forgot-password {
    color: #999;
}

.forgot-password:hover {
    color: var(--accent);
}

.btn-block {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 29px; /* 45 - 2*8 padding approx, or just remove padding for fixed height */
    font-size: 16px;
    border: none;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: var(--accent);
    font-weight: bold;
}

.other-login {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.other-login span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    color: #fff;
}
