@import './colors';

.hc-horizontal-wcf-tab-container {
    height: auto;
    width: 100%;
}

.hc-vertical-wcf-tab-container {
    height: 100%;
    width: 100%;
    display: flex;
}

.hc-wcf-tab-bar-vertical {
    padding: 0;
    width: 20%;
    .hc-wcf-tab-width {
        &:last-child {
            .hc-wcf-tab-vertical {
                border-bottom: $gray-10 1px solid;
            }
        }
    }
}

.hc-wcf-tab-vertical {
    font-family: 'Montserrat';
    background-color: $gray-05;
    color: $gray-50;
    font-size: 20px;
    line-height: 24px;
    padding: 12px 24px;
    margin-left: 4px;
    display: block;
    text-decoration: none;
    border-right: 1px solid $gray-10;
    border-left: 4px solid $gray-10;
    border-top: 1px solid $gray-10;
    border-radius: 4px 0 0 4px;
    &:hover {
        cursor: pointer;
    }
    &.active {
        background-color: $white;
        border-left: $wcf-red 4px solid;
        border-right: 1px solid $white;
        color: $wcf-blue;
        font-weight: 500;
        margin-left: 0;
    }
}

.hc-wcf-tab-content-vertical {
    width: 80%;
    border: 1px solid $gray-10;
    border-left: none;
}

.hc-wcf-tab-bar-horizontal {
    background-color: inherit;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    .hc-wcf-tab-width {
        &:last-child {
            .hc-wcf-tab-horizontal {
                border-right: $gray-10 1px solid;
            }
        }
    }
}

.hc-wcf-tab-width {
    min-width: 0;
}

.hc-wcf-tab-horizontal {
    font-family: 'Montserrat';
    background-color: $gray-05;
    border-top: $gray-10 4px solid;
    border-left: $gray-10 1px solid;
    border-bottom: $gray-10 1px solid;
    border-radius: 4px 4px 0 0;
    color: $gray-50;
    font-size: 20px;
    line-height: 24px;
    padding: 12px 24px 8px;
    text-decoration: none;
    display: block;
    min-width: 100px;
    text-align: center;
    &:hover {
        cursor: pointer;
    }
    &.active {
        border-top: $wcf-red 4px solid;
        border-bottom: $white 1px solid;
        color: $wcf-blue;
        padding: 12px 24px;
        font-weight: 500;
        background-color: $white;
    }
}

.hc-wcf-tab-content-horizontal {
    background-color: inherit;
    width: 100%;
    height: 100%;
    overflow: visible;
}
