.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "Source Sans 3", "Adjusted Arial Fallback", sans-serif;
}

.modal {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.modal .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-link {
    display: flex;
    justify-content: center;
}

.modal img {
    max-height: 40px;
    margin-bottom: 15px;
}

.modal h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.modal p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.modal input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.modal button.submit-btn {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #0066ff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.modal button.submit-btn:hover {
    background: #0052cc;
}

.modal-error {
    margin-top: 5px;
    display: inline-block;
    width: 100%;
    text-align: left;
    font-size: 12px;
    color: rgb(252, 41, 41);
}