.login-container {
    background: #fff;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.form-box .input-group {
    position: relative;
    margin-bottom: 20px;
}

.form-box .input-group input {
    width: 100%;
    height: 45px;
    background: #f8f8f8;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 14px;
    border: 1px solid #eee;
    outline: none;
    box-sizing: border-box;
}

.login_f {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #E74C3C;
    margin-bottom: 20px;
}

.login_f .forget-reg {
    margin-left: 15px;
    cursor: pointer;
}

.login_f .forget-pwd {
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: #E74C3C;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #CC3333;
}

.agreement {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

.agreement input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 5px;
}

.agreement .link {
    color: #E74C3C;
    cursor: pointer;
}

.exchange-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    width: 400px;
    max-width: 90%;
}

.popup-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popup-content {
    max-height: 300px;
    overflow-y: auto;
}

.popup-content .form-item {
    margin-bottom: 10px;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-content .form-item:hover {
    background: #f8f8f8;
}

.popup-content .form-item.active {
    border: 1px solid #E74C3C;
    background: #f0f9ff;
}

.popup-content .form-item .label {
    display: block;
    font-size: 14px;
    color: #333;
}

.popup-footer {
    display: flex;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.popup-footer button {
    flex: 1;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-footer .cancel-btn {
    background: #f5f5f5;
    color: #666;
}

.popup-footer .cancel-btn:hover {
    background: #e5e5e5;
}

.popup-footer .confirm-btn {
    background: #E74C3C;
    color: #fff;
}

.popup-footer .confirm-btn:hover {
    background: #CC3333;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .login-container {
        margin: 20px auto;
        padding: 20px;
    }
}