/* Wrapper to center form on page */
.dv-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

/* Centered form */
.dv-verification-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Input field styling */
.dv-verification-form input {
    padding: 0.75em 1em;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #222222;
    color: #ffffff !important;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: center; /* Center text in input */
}

/* Centered placeholder */
.dv-verification-form input::placeholder {
    color: #888888;
    font-size: 0.95rem;
    text-align: center;
}

/* Fix for placeholder text alignment in some browsers */
.dv-verification-form input::-webkit-input-placeholder { text-align: center; }
.dv-verification-form input::-moz-placeholder { text-align: center; }
.dv-verification-form input:-ms-input-placeholder { text-align: center; }
.dv-verification-form input:-moz-placeholder { text-align: center; }

/* Error state for input */
.dv-verification-form input.error {
    border-color: red;
}

/* Button styling */
.dv-verification-form button {
    padding: 0.75em 1.5em;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background 0.3s ease;
}

.dv-verification-form button:hover {
    background-color: #0056b3;
}

/* Result info box */
.dv-result {
    margin-top: 20px;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    color: #1a1a1a;
    font-size: 1rem;
}

/* Error output with red background and red text */
.dv-error {
    margin-top: 20px;
    background-color: #ffe6e6;     /* Light red background */
    padding: 15px;
    border-radius: 5px;
    color: red !important;         /* Strong red text */
    font-size: clamp(0.95rem, 2.5vw, 1.05rem); /* Responsive font size */
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}