.glomavis-contact-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.glomavis-contact-form-container {
    width: 100%;
    margin: 0 auto;
}

.glomavis-contact-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.glomavis-contact-form-group {
    position: relative;
    padding: 0 8px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .glomavis-contact-form-group {
        width: 100% !important;
    }
}

.glomavis-contact-label {
    display: block;
    font-weight: 500;
}

.glomavis-contact-label .required {
    color: var(--glomavis-contact-required-color, #dc2626);
}

.glomavis-contact-input,
.glomavis-contact-textarea,
.glomavis-contact-select {
    width: 100%;
    border: 1px solid;
    border-style: solid;
    transition: all 0.2s ease;
    font-size: 16px;
    min-height: 44px;
    outline: none;
}

.glomavis-contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.glomavis-contact-input::placeholder,
.glomavis-contact-textarea::placeholder {
    color: #9ca3af;
}

.glomavis-contact-checkbox-label,
.glomavis-contact-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}

.glomavis-contact-checkbox-label input[type="checkbox"],
.glomavis-contact-radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.glomavis-contact-radio-group {
    display: flex;
    flex-direction: column;
}

.glomavis-contact-button {
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 16px;
}

.glomavis-contact-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.glomavis-contact-button.loading::after {
    content: "";
    display: inline-block;
    margin-left: 8px;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.glomavis-contact-messages {
    margin-bottom: 16px;
}

.glomavis-contact-message {
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 4px solid;
    margin-bottom: 12px;
    background: #f9fafb;
}

.glomavis-contact-message:last-child {
    margin-bottom: 0;
}

.glomavis-contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.glomavis-turnstile {
    display: flex;
    justify-content: center;
}
