/* ─────────────────────────────────────────
   SendGrid Form — style.css
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

.sgf-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 16px;
    font-family: 'DM Sans', sans-serif;
}

.sgf-card {
    background: #D7E9E6;
    border-radius: 8px;
    padding: 48px 44px;
    max-width: 460px;
    width: 100%;
    box-shadow:
        0 4px 6px -1px rgba(0,0,0,0.05),
        0 20px 60px -10px rgba(99, 70, 255, 0.08);
    position: relative;
    overflow: hidden;
}


/* ── Header ── */
.sgf-header {
    text-align: center;
    margin-bottom: 36px;
}

.sgf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 16px;
}

.sgf-title {
    font-family: "Inter", Sans-serif;
    font-size: 31px;
    font-weight: 700;
    color: #1C1B1FCC;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
}

.sgf-subtitle {
    font-size: 17px;
    font-weight: 500;
    font-family: "Inter", Sans-serif;
    color: #1C1B1FCC;
    margin: 0;
    line-height: 24px;
    letter-spacing: 0.3px;
}

/* ── Messages ── */
.sgf-message {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.sgf-message--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.sgf-message--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.sgf-message--warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* ── Form Fields ── */
.sgf-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sgf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sgf-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.sgf-input {
    padding: 13px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #0f0f1a;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.sgf-input::placeholder {
    color: #9ca3af;
}

.sgf-input:focus {
    border-color: #6346ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 70, 255, 0.08);
}

/* ── Button ── */
.sgf-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background: #1F9A89;
    background-color: #1F9A89 !important;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    margin-top: 4px;
    letter-spacing: 0.2px;
}

.sgf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 70, 255, 0.3);
    filter: brightness(1.05);
}

.sgf-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── Privacy note ── */
.sgf-privacy {
    text-align: center;
    font-size: 12.5px;
    color: #9ca3af;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 500px) {
    .sgf-card {
        padding: 36px 24px;
    }

    .sgf-title {
        font-size: 20px;
    }
}
