/* Default CF7 styling for Aigenix */
.aigenix-contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aigenix-contact-form-wrapper .wpcf7-form p {
    margin: 0;
}

.aigenix-contact-form-wrapper .wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--av-text-primary, #0f172a);
    width: 100%;
}

.aigenix-contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--av-border-color, #e2e8f0);
    border-radius: var(--av-radius-md, 6px);
    background: var(--av-bg-surface, #ffffff);
    color: var(--av-text-primary, #0f172a);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.aigenix-contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--av-color-brand, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.aigenix-contact-form-wrapper .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--av-color-brand, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: var(--av-radius-md, 6px);
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aigenix-contact-form-wrapper .wpcf7-submit:hover {
    background: var(--av-color-brand-hover, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.aigenix-contact-form-wrapper .wpcf7-not-valid-tip {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.aigenix-contact-form-wrapper .wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 1rem;
    border-radius: var(--av-radius-md, 6px);
    font-size: 0.95rem;
}

/* Dark Mode Support */
html[data-theme="dark"] .aigenix-contact-form-wrapper .wpcf7-form label {
    color: var(--av-text-primary, #f8fafc);
}

html[data-theme="dark"] .aigenix-contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit) {
    background: var(--av-bg-surface-strong, #1e293b);
    border-color: var(--av-border-color, #334155);
    color: var(--av-text-primary, #f8fafc);
}

html[data-theme="dark"] .aigenix-contact-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--av-color-brand, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
