/* ============================================================================
   Formation eForms - authentication pages (Auth.web)
   Shared styling for Auth.aspx / verify.aspx / error.aspx.
   ========================================================================== */

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #33475b;
    background-color: #eef1f5;
    margin: 0;
    padding: 48px 16px;
}

img {
    max-width: 100%;
    height: auto;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0 0 8px 0;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2d3d;
}

a {
    color: #2f6fd0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Card container -------------------------------------------------------
   The auth pages use a single <form> as their outer wrapper (with an inline
   width). Give it a clean, centered card appearance. */
form {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(31, 45, 61, 0.08);
    box-sizing: border-box;
    max-width: 100%;
}

/* --- Form layout tables --------------------------------------------------- */
table td {
    padding: 6px 4px;
    vertical-align: middle;
}

/* --- Text inputs ---------------------------------------------------------- */
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    padding: 9px 11px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2d3d;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #2f6fd0;
    box-shadow: 0 0 0 3px rgba(47, 111, 208, 0.18);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
    color: #9aa5b1;
}

/* --- Buttons -------------------------------------------------------------- */
input[type="submit"],
input[type="button"],
button {
    padding: 9px 22px;
    border: 1px solid #2f6fd0;
    border-radius: 5px;
    background-color: #2f6fd0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background-color: #245bb0;
    border-color: #245bb0;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active {
    background-color: #1e4f9c;
}

input[type="submit"]:focus,
input[type="button"]:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 111, 208, 0.28);
}
