#cf7-verification-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    box-sizing: border-box;
}

.cf7-verification-modal {
    background: white;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.cf7-verification-modal input[type="email"],
.cf7-verification-modal input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#cf7-send-code {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    box-sizing: border-box;
}

#cf7-resend-code {
    display: block;
    margin-top: 1rem;
    cursor: pointer;
    color: #0073e6;
    text-decoration: underline;
    transition: color 0.2s;
}
#cf7-resend-code:hover {
    color: #005bb5;
}
#cf7-resend-code.disabled {
    color: gray;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.cf7-hidden {
    display: none;
}

#cf7-email-step,
#cf7-code-step,
#cf7-thankyou-step {
    display: none;
}

#cf7-verification-overlay .cf7-verification-modal > div:not(.cf7-hidden) {
    display: block;
}

/* ✅ Mobile + Tablet Responsiveness */
@media (max-width: 600px) {
    .cf7-verification-modal {
        padding: 1.25rem;
        border-radius: 6px;
    }

    #cf7-send-code {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .cf7-verification-modal {
        padding: 1rem;
        border-radius: 5px;
    }

    #cf7-send-code {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}
