/* GenMind Cookie Consent */
.gm-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 10050;
    max-width: 42rem;
    margin: 0 auto;
    background: linear-gradient(165deg, #0B2E4F 0%, #124170 55%, #26667F 100%);
    color: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(11, 46, 79, 0.4);
    padding: 1.15rem 1.2rem 1.2rem;
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}
.gm-consent-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.gm-consent-banner__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
}
.gm-consent-banner__text {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}
.gm-consent-banner__text a {
    color: #67C090;
    text-decoration: underline;
}
.gm-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.gm-consent-btn {
    border: 0;
    border-radius: 9999px;
    padding: 0.55rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.gm-consent-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.gm-consent-btn--accept {
    background: linear-gradient(135deg, #67C090, #26667F);
    color: #fff;
}
.gm-consent-btn--reject {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.gm-consent-btn--prefs {
    background: transparent;
    color: #DDF4E7;
    border: 1px solid rgba(221, 244, 231, 0.35);
}

.gm-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gm-consent-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.gm-consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 46, 79, 0.55);
    backdrop-filter: blur(4px);
}
.gm-consent-modal__panel {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    max-height: min(90vh, 40rem);
    overflow: auto;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(11, 46, 79, 0.35);
    padding: 1.35rem 1.35rem 1.2rem;
}
.gm-consent-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.gm-consent-modal__header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #124170;
}
.gm-consent-modal__close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    background: #F4FBF7;
    color: #124170;
    cursor: pointer;
}
.gm-consent-modal__intro {
    margin: 0 0 1rem;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
}
.gm-consent-cat {
    border: 1px solid #E8F0F4;
    border-radius: 0.9rem;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.65rem;
    background: #F8FAFC;
}
.gm-consent-cat__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
        .gm-consent-cat__name {
            margin: 0;
            font-size: 0.95rem;
            font-weight: 600;
            color: #124170;
        }
.gm-consent-cat__desc {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.45;
}
.gm-consent-switch {
    position: relative;
    width: 2.6rem;
    height: 1.45rem;
    flex-shrink: 0;
}
.gm-consent-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.gm-consent-switch span {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gm-consent-switch span::before {
    content: "";
    position: absolute;
    width: 1.1rem;
    height: 1.1rem;
    left: 0.18rem;
    top: 0.175rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.gm-consent-switch input:checked + span {
    background: linear-gradient(135deg, #26667F, #67C090);
}
.gm-consent-switch input:checked + span::before {
    transform: translateX(1.1rem);
}
.gm-consent-switch input:disabled + span {
    opacity: 0.7;
    cursor: not-allowed;
}
.gm-consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.gm-consent-modal__actions .gm-consent-btn--accept {
    flex: 1;
    min-width: 8rem;
    text-align: center;
}
.gm-consent-modal__actions .gm-consent-btn--reject {
    background: #F4FBF7;
    color: #124170;
    border: 1px solid #DDF4E7;
}

@media (min-width: 768px) {
    .gm-consent-banner {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
        margin: 0;
        width: min(26rem, calc(100vw - 3rem));
    }
}

body.gm-consent-open {
    overflow: hidden;
}
