﻿/*输入框为验证码的样式*/
.captcha-group {
    display: flex;
    gap: 12px;
}

    .captcha-group input {
        width: 60%;
    }
/*验证码图片的样式*/
.captcha-image {
    width: 40%;
    height: 42px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .captcha-image:hover {
        border-color: #1976d2;
    }

/*页脚链接的样式*/
.forgot-password {
    text-align: center;
    margin-top: 20px;
}

    .forgot-password a {
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
        margin: 0 10px;
    }

        .forgot-password a:hover {
            color: #1976d2;
        }

        .forgot-password a:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: #1976d2;
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .forgot-password a:hover:after {
            transform: scaleX(1);
        }

/*模态窗口样式*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 450px;
    display: none;
}

.modal-header {
    margin-bottom: 20px;
    text-align: center;
}

    .modal-header h2 {
        margin: 0;
        color: #1565c0;
        font-size: 20px;
        font-weight: 500;
    }

.modal-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-footer {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-btn-cancel {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
}

    .modal-btn-cancel:hover {
        background: #eeeeee;
    }

.modal-btn-submit {
    background: #1976d2;
    border: none;
    color: white;
}

    .modal-btn-submit:hover {
        background: #1565c0;
    }

.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-group input[type="email"]:focus {
        outline: none;
        border-color: #1976d2;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
    }
