/* Webugo Form Connect - Frontend Widget Styles */

.wfc-widget {
    max-width: 480px;
    margin: 0 auto;
}

.wfc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wfc-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1d2327;
}

.wfc-required {
    color: #d63638;
}

.wfc-input {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3338;
    background-color: #fff;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wfc-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.wfc-input:invalid:not(:placeholder-shown) {
    border-color: #d63638;
}

.wfc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    line-height: 1.5;
    min-height: 40px;
}

.wfc-button:hover {
    opacity: 0.9;
}

.wfc-button:active {
    opacity: 0.8;
}

.wfc-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wfc-spinner svg {
    display: block;
}

.wfc-alert {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.wfc-alert-success {
    background: #edfaef;
    border: 1px solid #46b450;
    color: #1e4620;
}

.wfc-alert-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #8a1c1f;
}

.wfc-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.wfc-submit-field {
    padding-top: 4px;
}
