/* Force blank canvas: hide ALL theme header/nav/footer/sidebar */
body.igc-page #wpadminbar { position: fixed !important; }

/* ===== Flag Language Switcher ===== */
/* Suppress Google Translate's injected top bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.igc-flags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin-left: auto;
    margin-right: 10px;
    max-width: 220px;
}
.igc-flags a {
    font-size: 17px;
    text-decoration: none;
    line-height: 1;
    border-radius: 4px;
    padding: 2px 3px;
    transition: transform .18s ease, background .18s ease, opacity .18s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
    opacity: 0.65;
    display: flex;
    align-items: center;
    justify-content: center;
}
.igc-flags a:hover {
    transform: scale(1.25);
    opacity: 1;
    background: rgba(124,58,237,0.1);
}
.igc-flags a.igc-lang-active {
    opacity: 1;
    background: rgba(124,58,237,0.12);
    box-shadow: 0 0 0 1.5px rgba(124,58,237,0.35);
    border-radius: 4px;
}
.igc-flag-icon {
    display: inline-block;
    width: 22px;
    height: 15.4px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15,10,30,.14);
    line-height: 0;
}
.igc-flag-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.igc-flags a:hover .igc-flag-icon {
    box-shadow: 0 0 0 1.5px rgba(124,58,237,.55);
}
.igc-flags a.igc-lang-active .igc-flag-icon {
    box-shadow: 0 0 0 2px #ec4899;
}
@media (max-width: 900px) {
    .igc-flag-icon { width: 19px; height: 13.3px; }
}
@media (max-width: 600px) {
    .igc-flag-icon { width: 17px; height: 11.9px; }
}
@media (max-width: 900px) {
    .igc-flags {
        max-width: 160px;
        gap: 1px;
    }
    .igc-flags a {
        font-size: 15px;
        padding: 2px 2px;
    }
}
@media (max-width: 600px) {
    .igc-flags {
        max-width: 120px;
        margin-right: 6px;
    }
    .igc-flags a {
        font-size: 14px;
    }
}
body.igc-page header,
body.igc-page .site-header,
body.igc-page #site-header,
body.igc-page #masthead,
body.igc-page .header-area,
body.igc-page .main-navigation,
body.igc-page #main-navigation,
body.igc-page nav.navbar,
body.igc-page .navbar,
body.igc-page .top-bar,
body.igc-page footer,
body.igc-page .site-footer,
body.igc-page #colophon,
body.igc-page #footer,
body.igc-page .footer-area,
body.igc-page aside,
body.igc-page .sidebar,
body.igc-page #secondary,
body.igc-page .widget-area,
body.igc-page .page-header,
body.igc-page .entry-header,
body.igc-page .breadcrumbs,
body.igc-page #comments { display: none !important; }

/* Remove all padding/margin/max-width from theme page wrappers */
body.igc-page,
body.igc-page #page,
body.igc-page #content,
body.igc-page #main,
body.igc-page .site-content,
body.igc-page .content-area,
body.igc-page article.page,
body.igc-page .hentry,
body.igc-page .entry-content,
body.igc-page .container,
body.igc-page .wrapper,
body.igc-page .wrap {
    max-width: 100% !important;
    width: 100%   !important;
    padding: 0    !important;
    margin: 0     !important;
    float: none   !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.igc-page {
    background: #ffffff !important;
    overflow-x: hidden  !important;
}

/* ===== Cognito Contact Form Styling ===== */

.igc-contact-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.igc-contact-card {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
}

.igc-contact-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.igc-contact-subtitle {
    color: rgba(255,255,255,0.72);
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 32px auto;
}

.igc-cognito-embed {
    background: rgba(255,255,255,0.02);
    border-radius: 18px;
    overflow: hidden;
    padding: 10px;
}

/* Cognito Form Styling */
.cog-form {
    border-radius: 18px !important;
}

.cog-cognito {
    background: transparent !important;
}

.cog-label,
.cog-heading {
    color: #111827 !important;
    font-weight: 600 !important;
}

.cog-input,
.cog-textarea,
.cog-select {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #111827 !important;
    border-radius: 12px !important;
}

.cog-button {
    background: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 14px 22px !important;
    transition: all .25s ease;
}

.cog-button:hover {
    transform: translateY(-2px);
    opacity: .95;
}


/* Fix Cognito text visibility */
.cog-cognito,
.cog-cognito * {
    color: #111827 !important;
}

.cog-label,
.cog-label span,
.cog-heading,
.cog-caption {
    color: #111827 !important;
    font-weight: 600 !important;
}

.cog-input,
.cog-textarea,
.cog-select,
.cog-input input,
.cog-textarea textarea,
.cog-select select {
    color: #111827 !important;
    background: #ffffff !important;
}

.cog-input::placeholder,
.cog-textarea textarea::placeholder {
    color: #6b7280 !important;
}


@media (max-width: 768px) {
    .igc-contact-card {
        padding: 26px;
        border-radius: 18px;
    }

    .igc-contact-title {
        font-size: 28px;
    }
}

