/* --- High-Contrast Dark Mode Overrides --- */

/* Elevate the container panels so they don't blend into the void */
.glass, .form-container {
    background: rgba(255, 255, 255, 0.05) !important; /* Lighter surface */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Force Form Labels to high-visibility */
.hs-form label {
    color: #F8FAFC !important; /* Brightest Slate */
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    margin-bottom: 10px !important;
}

/* Make inputs readable and high-contrast */
.hs-form input[type="text"], 
.hs-form input[type="email"], 
.hs-form select {
    background-color: #0F172A !important; /* Deepest Navy for contrast */
    border: 2px solid #1E293B !important; /* Visible Border */
    color: #FFFFFF !important;
    font-size: 16px !important; /* Prevent mobile zoom-in */
}

/* Add a "Glow" on focus to guide the eye */
.hs-form input:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
}

/* Ensure the submit button is the brightest thing on the page */
.hs-form .hs-button {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    border: none !important;
    font-size: 16px !important;
    padding: 18px !important;
}
.centered-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--subtle);
}
.success-content {
    text-align: center;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.icon-circle {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}
.button-secondary {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
/* Container for the HubSpot Embed */
.form-container {
    max-width: 500px;
    margin: 2.5rem auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.05);
}

/* Targeting the HubSpot Submit Button specifically */
.hs-button {
    background-color: var(--primary) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
}

.hs-button:hover {
    background-color: var(--accent) !important;
}

/* Styling the Placeholder text inside the HubSpot input */
.hs-input::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}