:root {
    --gc-cta: #0e8a7a;
    --gc-cta-hover: #0b6f62;
    --gc-cta-ring: rgba(15, 118, 110, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f3f4f6;
    overflow-x: hidden;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.gc-topheader {
    background: #0f1b2d;
}

.gc-topheader-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.gc-topheader-logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.gc-topheader-logo img {
    display: block;
    height: 40px;
    width: auto;
}

.gc-topheader-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.gc-topheader-phone {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.gc-topheader-email {
    display: none;
    color: #c9d3e0;
    font-size: 14px;
    text-decoration: none;
}

.gc-topheader-mail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c9d3e0;
}

.gc-topheader-mail-icon:hover {
    color: #ffffff;
}

@media (min-width: 640px) {
    .gc-topheader-inner {
        padding: 5px clamp(40px, 9vw, 160px);
    }

    .gc-topheader-email {
        display: inline;
    }

    .gc-topheader-mail-icon {
        display: none;
    }
}

.gc-card-wrap {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    /* max-width: 980px; */
    margin: 30px auto;
    padding: 0 40px;
}

.gc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 470px;
    margin-bottom:30px;
    
}

.gc-image-panel {
    position: relative;
    flex: 0 0 42%;
    min-height: 470px;
    background: #111827;
    background-image: url('http://res.cloudinary.com/funex/image/upload/f_auto,q_40/c_scale,w_auto,dpr_auto/v1787153097/giftcard-entry-desktop_cu6etg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.gc-image-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 92% 88% at 50% 48%, transparent 42%, rgba(0, 0, 0, 0.38) 78%, rgba(0, 0, 0, 0.72) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, transparent 42%, rgba(0, 0, 0, 0.42) 100%);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.45), inset 0 0 28px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.gc-form-panel {
    flex: 1;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gc-form-panel h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827;
}

.gc-form-panel p.gc-description {
    margin: 12px 0 20px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563;
}

.gc-error {
    color: #d32f2f;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 13px;
}

.gc-field {
    margin-bottom: 14px;
}

.gc-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5568;
}

.gc-field input {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    color: #111827;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gc-field input:focus {
    border-color: var(--gc-cta);
    box-shadow: 0 0 0 3px var(--gc-cta-ring);
}

.gc-field input:-webkit-autofill,
.gc-field input:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-text-fill-color: #111827;
    caret-color: #111827;
}

.gc-field input:-webkit-autofill:focus {
    border-color: var(--gc-cta);
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px var(--gc-cta-ring);
    box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px var(--gc-cta-ring);
    -webkit-text-fill-color: #111827;
    caret-color: #111827;
}

.gc-btn-primary {
    width: 100%;
    padding: 14px;
    margin-top: 4px;
    background: var(--gc-cta);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.gc-btn-primary:hover {
    background: var(--gc-cta-hover);
}

.gc-btn-secondary {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.gc-btn-secondary:hover {
    background: #e5e7eb;
}

.gc-footer {
    position: relative;
    max-width: 1024px;
    margin: auto auto 10px auto;
    padding: 24px 20px 0 20px;
    text-align: center;
}

.gc-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    border-top: 1px solid #dadce0;
}

.gc-footer p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #6b7280;
}

.gc-footer .gc-copyright {
    font-size: 12px;
    color: #9ca3af;
}

@media (min-width: 640px) {
    .gc-form-panel {
        padding: 40px 32px;
    }

    .gc-form-panel h2 {
        font-size: 30px;
    }

    .gc-form-panel p.gc-description {
        font-size: 15px;
    }
}

@media (max-width: 800px) {
    .gc-image-panel {
        display: none;
    }
    .gc-card-wrap {  
    padding: 0 24px;
}
}
