/* PadelCompass contact form — editorial dark-theme, cyan accent.
   Designed to drop into any page that already loads Inter + the Tailwind
   stylesheet. All class names are prefixed .cf- so it never collides with
   page-level utilities. */

.cf-section {
    margin: 6rem auto 0;
    max-width: 780px;
    padding: 0 1rem;
    color: #e5e7eb;
}

.cf-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.cf-intro h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem;
}

.cf-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 48ch;
    margin: 0 auto;
}

.cf-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cf-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cf-row label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #d1d5db;
}

.cf-row .cf-req {
    color: #00FFFF;
    margin-left: 0.2rem;
}

.cf-row input,
.cf-row textarea {
    font: inherit;
    font-family: 'Inter', system-ui, sans-serif;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
    width: 100%;
    box-sizing: border-box;
}

.cf-row input:hover,
.cf-row textarea:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.cf-row input:focus,
.cf-row textarea:focus {
    outline: none;
    border-color: #00FFFF;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.5);
}

.cf-row input[aria-invalid="true"],
.cf-row textarea[aria-invalid="true"] {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.cf-row textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}

.cf-field-error {
    color: #f87171;
    font-size: 0.8125rem;
    margin: 0;
    min-height: 1.125rem;
}

/* honeypot — hidden from humans + assistive tech, still reachable for bots */
.cf-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.cf-submit {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1rem;
    padding: 0.95rem 1.2rem;
    border-radius: 10px;
    color: #0a0a0a;
    background: #00FFFF;
    transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.cf-submit:hover {
    background: #5bffff;
    box-shadow: 0 8px 24px -10px rgba(0, 255, 255, 0.5);
}

.cf-submit:active {
    transform: translateY(1px);
}

.cf-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.cf-status {
    margin: 0;
    font-size: 0.9rem;
    min-height: 1.2rem;
    color: #d1d5db;
}

.cf-status[data-state="success"] {
    color: #4ade80;
    font-weight: 600;
}

.cf-status[data-state="error"] {
    color: #f87171;
    font-weight: 600;
}

.cf-legal {
    margin: 0;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .cf-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cf-submit {
        min-width: 220px;
    }
}
