.login-content {
    min-height: calc(100vh - 64px - 61px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 64px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.flash-messages {
    margin-bottom: 16px;
}

.flash-message {
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;
}

.flash-error {
    background-color: #fdeaea;
    color: #b42318;
    border: 1px solid #f7b5b2;
}

.flash-success {
    background-color: #e9f8ef;
    color: #137333;
    border: 1px solid #b7e3c6;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
    color: white;
    gap: 8px;
    text-decoration: none;
}

.social-btn:hover {
    opacity: 0.9;
}

.facebook {
    background-color: #1877F2;
}

.google {
    background-color: #DB4437;
}

.wechat {
    background-color: #07C160;
}

.divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: #e9ecef;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: white;
    padding: 0 12px;
    color: #666;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #40B44B;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.forgot-password {
    font-size: 14px;
    color: #40B44B;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #40B44B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: #359A3F;
}

.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #40B44B;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.back-home {
    margin-top: 12px;
}

.back-home a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.back-home a:hover {
    color: #40B44B;
} 