/* Hide honeypot */
.g7-honeypot {
    display: none !important;
}

/* Form container */
.g7-form {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
    padding: 1rem 0;
}

/* Labels */
.g7-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #404040;               /* dark gray label text */
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* Input + textarea base styles */
.g7-form-group input,
.g7-form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: system-ui, -apple-system, sans-serif;

    background: rgba(10, 10, 18, 0.75);    /* translucent deep-space violet */
    backdrop-filter: blur(4px);

    border: 1px solid rgba(180, 120, 255, 0.28); /* soft nebula purple edge */
    color: #f7f7f7;

    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Focus glow: nebula blue → magenta */
.g7-form-group input:focus,
.g7-form-group textarea:focus {
    border-color: #7f6aff; /* violet-blue highlight */
    box-shadow:
        0 0 10px rgba(127, 106, 255, 0.55),
        0 0 20px rgba(215, 100, 255, 0.25); /* double halo */
}

/* Group spacing */
.g7-form-group {
    margin-bottom: 1.55rem;
}

/* Netlify reCAPTCHA spacing */
.g7-recaptcha {
    margin: 1rem 0 1.8rem;
}

/* SUBMIT BUTTON — Nebula pulse */
.g7-submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #4b2cff,    /* nebula violet */
        #8a4dff,    /* plasma lavender */
        #b35cff     /* pink-magenta highlight */
    );

    background-size: 200% 200%;

    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;

    transition: transform 0.25s ease, box-shadow 0.3s ease, background-position 1.8s ease;
}

/* Animated nebula hover */
.g7-submit-btn:hover {
    transform: translateY(-2px);
    background-position: 100% 0%;
    box-shadow:
        0 8px 24px rgba(179, 92, 255, 0.45),
        0 0 12px rgba(127, 106, 255, 0.45);
}

/* Small privacy text */
.g7-privacy-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
}