﻿.wiganglobal-tabs {
    background-color: #dcecfc;
    margin: 40px 0;
    border-radius: 10px;
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

.wiganglobal-tabs__title {
    font-weight: 400;
    color: #0b0c0c;
    margin-bottom: 10px;
}

.wiganglobal-tabs__list {
    background-color: #69ADF2;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
    padding: 5px;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 2px solid #0054B0;
}

.wiganglobal-tabs__list-item {
    padding: 15px 30px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 14px;
    outline: none;
    flex: 0 0 auto;
    text-align: center;
    transition: background 0.3s ease;
    color: #000;
    margin: 0;
    border-radius: 5px;
    text-decoration: none;
}

.wiganglobal-tabs__list-item:hover {
    box-shadow: inset 0 0 0 2px #B9D9F9;
}

.wiganglobal-tabs__list-item:focus-visible {
    box-shadow: 0 0 0 2px #FF8FBB, 0 0 0 3px #311D35, 0 0 0px 4px #FF8FBB;
}

.wiganglobal-tabs__list-item--selected {
    background-color: #B9D9F9;
    color: #000;
    border-bottom: none;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);
}

.wiganglobal-tabs__list-item--selected:hover {
    box-shadow: inset 0 0 0 2px #000;
}

.wiganglobal-tabs__panel {
    display: none;
    padding: 10px;
    border-top: none;
}

.wiganglobal-tabs__panel h3 {
    margin: 10px 0 20px 0;
}

.wiganglobal-tabs__panel--selected {
    display: block;
}

/* RESPONSIVE STYLES
=========================================== */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .wiganglobal-tabs {
        margin-bottom: 30px;
    }

    .wiganglobal-tabs__list {
        flex-direction: row;
        overflow-x: auto;
    }

    .wiganglobal-tabs__list:after {
        content: "";
        display: block;
        clear: both;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}

/* Override animated elements using motion */
@media (prefers-reduced-motion: reduce) {
    .wiganglobal-tabs {
        transition: none;
    }
}