/* Goldinken Contact Form — wp-content/plugins/goldinken-system/assets/contact-form.css */

.gh-contact-form {
    max-width: 640px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    font-family: "Inter", -apple-system, sans-serif;
}

.gh-cf__row { margin-bottom: 18px; }
.gh-cf__row label {
    display: block;
    font-size: 14px; font-weight: 600; color: #111827;
    margin-bottom: 6px;
}
.gh-cf__optional { color: #9ca3af; font-weight: 400; font-size: 13px; }

.gh-cf__row input[type="text"],
.gh-cf__row input[type="email"],
.gh-cf__row input[type="tel"],
.gh-cf__row textarea {
    width: 100%; box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-family: inherit; font-size: 15px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gh-cf__row input:focus,
.gh-cf__row textarea:focus {
    outline: none;
    border-color: #f0b429;
    box-shadow: 0 0 0 3px rgba(240,180,41,0.2);
}
.gh-cf__row textarea { resize: vertical; min-height: 120px; }

.gh-cf__row--consent { margin: 8px 0 20px; }
.gh-cf__checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: #374151; line-height: 1.5;
    cursor: pointer;
}
.gh-cf__checkbox input[type="checkbox"] {
    margin-top: 3px; width: 18px; height: 18px; accent-color: #f0b429;
    flex-shrink: 0;
}
.gh-cf__checkbox a { color: #b45309; text-decoration: underline; }

.gh-cf__honeypot {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    overflow: hidden;
}

.gh-cf__actions { margin-top: 8px; }
.gh-cf__submit {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: #f0b429; color: #111827;
    border: none; border-radius: 999px;
    font-family: inherit; font-weight: 600; font-size: 16px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.gh-cf__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(240,180,41,0.35);
}
.gh-cf__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.gh-cf__submit-spinner {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid rgba(17,24,39,0.25);
    border-top-color: #111827;
    border-radius: 50%;
    animation: ghcfspin 0.7s linear infinite;
}
@keyframes ghcfspin { to { transform: rotate(360deg); } }

.gh-cf__status {
    margin-top: 16px; padding: 12px 16px;
    border-radius: 8px; font-size: 14px; line-height: 1.5;
    display: none;
}
.gh-cf__status--success {
    display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.gh-cf__status--error {
    display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .gh-contact-form { padding: 20px; }
    .gh-cf__submit { width: 100%; justify-content: center; }
}
