/* ============================================================
   Contact us page: modern look consistent with the how-to guides
   Scoped to .contactv2 (used alongside .faqv2 for the shared
   section titles + quick-link cards from css/faq.css)
   ============================================================ */

.contactv2 {
    max-width: 940px;
    margin: 0 auto;
    text-align: left;
}

/* Intro copy above the form */
.contactv2-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 8px;
}

.contactv2-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #41493b;
    margin: 0 0 8px;
}

/* The form card (replaces the grey .licenseInputs box) */
.contactv2 .licenseInputs {
    background: #ffffff;
    border: 1px solid #e8ece6;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    padding: 34px 38px;
    margin-top: 22px;
}

.contactv2 h4 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #26331e;
    margin: 6px 0 4px;
}

.contactv2 .control-group {
    margin-bottom: 20px;
}

.contactv2 .inputlabel,
.contactv2 .control-label {
    display: block;
    font-weight: 600;
    color: #2c3a24;
    margin-bottom: 7px;
    font-size: 15px;
    text-align: left;
    float: none;
    width: auto;
}

/* Circular step-number badge on input labels, matching the
   how-to guides and FAQ numbers. */
.contactv2 .inputlabel .step-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3aa635, #1f7a1c);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    box-shadow: 0 3px 8px rgba(31,122,28,.28);
}

.contactv2 .controls {
    margin-left: 0;
}

/* Inputs */
.contactv2 input.input-xxlarge,
.contactv2 textarea.input-xxlarge {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 16px;
    font-size: 15px;
    color: #2c3a24;
    background: #ffffff;
    border: 1px solid #dfe6dc;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contactv2 input.input-xxlarge:focus,
.contactv2 textarea.input-xxlarge:focus {
    outline: none;
    border-color: #3aa635;
    box-shadow: 0 4px 12px rgba(31,122,28,.18);
}

.contactv2 textarea.input-xxlarge {
    resize: vertical;
    min-height: 140px;
}

.contactv2 .controls p {
    margin: 12px 0 6px;
    font-size: 14px;
    color: #6b7363;
}

.contactv2 .controls ul {
    margin: 0 0 4px;
    padding-left: 20px;
}

.contactv2 .controls ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7363;
}

/* Submit / reset buttons in the new green pill style */
.contactv2 .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 34px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, #45b53f, #1f7a1c);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-shadow: none;
    box-shadow: 0 6px 16px rgba(31,122,28,.28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.contactv2 .btn.btn-primary:hover,
.contactv2 .btn.btn-primary:focus {
    background: linear-gradient(135deg, #45b53f, #1f7a1c);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(31,122,28,.38);
}

.contactv2 .actions {
    margin-top: 26px;
}

/* Validation + result panels */
.contactv2 .alert {
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
}

.contactv2 .alert-success {
    background: #f0f9ee;
    border: 1px solid #cfe8c9;
    color: #2c5a26;
}

.contactv2 .alert-danger {
    background: #fdecea;
    border: 1px solid #f5c6c2;
    color: #a13b34;
}

@media (max-width: 600px) {
    .contactv2 .licenseInputs {
        padding: 24px 20px;
    }
}
