#tabs .info_tabs {
    margin-top: 100px;
    border-radius: 36px;
    color: var(--text-color);
    width: 60vw;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--background-color) 70%, #000) 0%,
            color-mix(in srgb, var(--primary-color) 60%, #000) 50%,
            color-mix(in srgb, var(--secondary-color) 55%, #000) 120%);
    opacity: 0.9;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    --shadow-size: 8px;
    /* red → blue → orange glows, all darkened + low opacity */
    filter:
        drop-shadow(0 0 calc(0.3 * var(--shadow-size)) color-mix(in srgb, var(--primary-color) 25%, #000)) drop-shadow(calc(-0.3 * var(--shadow-size)) calc(-0.3 * var(--shadow-size)) calc(0.3 * var(--shadow-size)) color-mix(in srgb, var(--secondary-color) 25%, #000)) drop-shadow(calc(0.3 * var(--shadow-size)) calc(0.3 * var(--shadow-size)) calc(0.3 * var(--shadow-size)) color-mix(in srgb, var(--accent-color) 25%, #000));

    transition:
        filter 0.5s ease-in-out,
        box-shadow 0.5s ease-in-out;
}

@media (min-width: 1024px) {
    #tabs .info_tabs:hover {
        filter:
            drop-shadow(0 0 calc(0.8 * var(--shadow-size)) color-mix(in srgb, var(--primary-color) 45%, #000)) drop-shadow(calc(-0.8 * var(--shadow-size)) calc(-0.8 * var(--shadow-size)) calc(0.8 * var(--shadow-size)) color-mix(in srgb, var(--secondary-color) 45%, #000)) drop-shadow(calc(0.8 * var(--shadow-size)) calc(0.8 * var(--shadow-size)) calc(0.8 * var(--shadow-size)) color-mix(in srgb, var(--accent-color) 45%, #000));
    }
}

#tabs .info_tabs__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    gap: 0px;
    box-shadow: 0 10px 10px black;
    margin-bottom: 24px;
    background: transparent;
    border-radius: 36px 36px 0 0;
}


#tabs .info_tabs__item button {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: Bebas Neue;
    font-size: 36px;
    cursor: pointer;
    width: 20vw;
    height: 100px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

#tabs .info_tabs__item button[aria-selected="true"] {
    border-bottom: 3px solid var(--primary-color-50);
    backdrop-filter: blur(0px);
    font-weight: bold;
    box-shadow: inset 0 0px 10px black;
}

.info_tabs__item #seen_tab {
    border-radius: 36px 0 0 0 !important;
}

.info_tabs__item #contact_tab {
    border-radius: 0 36px 0 0 !important;
}

#tabs .info_tabs__panels {
    height: auto;
}

#tabs .info_tabs__panel {
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    transition: all 0.3s ease;
}

#tabs .info_tabs__panel form {
    width: 50vw;
}

#tabs .info_tabs__panel form label {
    width: 100%;
}

#tabs .info_tabs__panel form textarea,
#tabs .info_tabs__panel form input {
    margin: 6px;
    resize: none;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 1);
    font-size: 16px;
    font-family: inherit;
    color: var(--text-color);
    background-color: var(--background-color-50);
}

#tabs .info_tabs__panel form textarea:focus,
#tabs .info_tabs__panel form input:focus {
    outline: none;
    box-shadow: inset 0 0 8px var(--primary-color-50);
}

#tabs .info_tabs__panel .buttonContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 36px;
}

#tabs .info_tabs__panel .buttonContainer button {
    background-color: var(--secondary-color-50);
    color: var(--text-color);
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    margin-top: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#tabs .info_tabs__panel .buttonContainer button:hover {
    color: var(--text-color-dim);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

#tabs .info_tabs__panel .newsletterBox {
    display: flex;
    flex-direction: column;
    height: 450px;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

#tabs .info_tabs__panel .newsletterBox span {
    font-size: 18px;
    text-align: center;
}

#tabs .info_tabs__panel .newsletterBox form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#tabs .info_tabs__panel .newsletterBox input {
    width: 450px;
}

#tabs .info_tabs__panel .newsletterBox button {
    background-color: var(--secondary-color-50);
    color: var(--text-color);
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    margin-top: 36px;
    margin-bottom: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#tabs .info_tabs__panel .newsletterBox button:hover {
    color: var(--text-color-dim);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

#tabs .info_tabs__panel[hidden] {
    height: 0px;
    opacity: 0 !important;
}

#tabs .info_tabs__panel[hidden] * {
    height: 0;
    display: none;
}

#tabs .visually-hidden {
    position: absolute;
    left: -9999px;
    padding: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 796px) {
    #tabs .info_tabs {
        margin-top: 24px;
        border-radius: 12px;
        width: 90vw;
    }

    #tabs .info_tabs__list {
        border-radius: 12px 12px 0 0;
    }

    #tabs .info_tabs__item button {
        font-size: 1.5rem;
        width: 29vw;
        height: 70px;
        padding-top: 6px;
    }

    #tabs .info_tabs__item button {
        font-size: 1.2rem;
    }

    #tabs .info_tabs__panel form {
        padding-top: 24px;
        width: 80vw;
    }

    #tabs .info_tabs__panel form label {
        width: 100%;
    }

    #tabs .info_tabs__panel form textarea,
    #tabs .info_tabs__panel form input {
        width: calc(100% - 24px);
        padding: 12px;
        border-radius: 12px;
    }

    #tabs .info_tabs__panel .newsletterBox {
        justify-content: center;
        align-items: center;
        gap: 24px;
        height: 300px;
    }

    #tabs .info_tabs__panel .newsletterBox span {
        font-size: 18px;
        text-align: center;
    }

    #tabs .info_tabs__panel .newsletterBox form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #tabs .info_tabs__panel .newsletterBox input {
        width: 80vw;
    }

    .info_tabs__item #seen_tab {
        border-radius: 12px 0 0 0 !important;
    }

    .info_tabs__item #contact_tab {
        border-radius: 0 12px 0 0 !important;
    }
}