/* ===== Volt Contact — Frontend ===== */

.vc-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.vc-form .vc-field {
    margin-bottom: 20px;
}

.vc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.vc-required {
    color: #c0392b;
    margin-left: 3px;
}

.vc-input,
.vc-textarea,
.vc-select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    appearance: auto;
}

.vc-input:focus,
.vc-textarea:focus,
.vc-select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, .15);
    outline: none;
}

.vc-textarea {
    resize: vertical;
    min-height: 120px;
}

.vc-checkbox-label,
.vc-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 6px;
}

.vc-field-error {
    display: block;
    color: #c0392b;
    font-size: 13px;
    margin-top: 4px;
    min-height: 1em;
}

.vc-submit-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vc-submit {
    padding: 12px 28px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.vc-submit:hover {
    background: #005177;
}

.vc-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.vc-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: vc-spin .7s linear infinite;
}

@keyframes vc-spin {
    to { transform: rotate(360deg); }
}

.vc-form-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
    display: none;
}

.vc-form-message.vc-success {
    background: #edfbee;
    border: 1px solid #6abf69;
    color: #1d6e1d;
    display: block;
}

.vc-form-message.vc-error-msg {
    background: #fdf0f0;
    border: 1px solid #e07070;
    color: #8b0000;
    display: block;
}

/* field with error */
.vc-field.vc-has-error .vc-input,
.vc-field.vc-has-error .vc-textarea,
.vc-field.vc-has-error .vc-select {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

.vc-error {
    color: #c0392b;
    font-style: italic;
}
