/*-------- Start My Account Page Wrapper --------*/
.myaccount-tab-menu {
    flex-direction: column;

    a {
        border: 1px solid #ccc;
        border-bottom: none;
        color: $black-soft;
        font-weight: 500;
        font-size: 13px;
        display: block;
        padding: 10px 15px;
        text-transform: uppercase;

        &:last-child {
            border-bottom: 1px solid #ccc;
        }

        &:hover,
        &.active {
            background-color: $brand-color;
            border-color: $brand-color;
            color: $white;
        }

        i.fa {
            font-size: 14px;
            text-align: center;
            width: 25px;
        }
    }
}

#myaccountContent {
    @media #{$large-mobile} {
        margin-top: 30px;
    }
}

.myaccount-content {
    border: 1px solid #eeeeee;
    padding: 30px;

    @media #{$small-mobile} {
        padding: 20px 15px;
    }

    form {
        margin-top: -20px;
    }

    h3 {
        font-size: 22px;
        border-bottom: 1px dashed #ccc;
        padding-bottom: 10px;
        margin-bottom: 25px;
        font-weight: 400;
    }

    .welcome {
        a {
            color: $black-soft;

            &:hover {
                color: $brand-color;
            }
        }

        strong {
            font-weight: 600;
            color: $brand-color;
        }
    }
    fieldset {
        margin-top: 20px;
        & legend {
            color: $black-soft;
            font-size: 16px;
            margin-top: 20px;
            font-weight: 500;
            padding-bottom: 20px;
            border-bottom: 1px solid #ccc;
        }
    }
}

.myaccount-table {
    white-space: nowrap;
    font-size: 14px;

    table,
    .table {
        th {
            color: $black-soft;
            padding: 10px;
            font-weight: 500;
            background-color: #f8f8f8;
            border-color: #ccc;
            border-bottom: 0;
        }

        td {
            padding: 10px;
            vertical-align: middle;
            border-color: #ccc;
        }
    }
}

.saved-message {
    background-color: $light-white;
    border-top: 3px solid $brand-color;
    @include border-radius(5px 5px 0 0);
    font-weight: 600;
    font-size: 14px;
    color: $black-soft;
    padding: 20px;
}

/*-------- Start My Account Page Wrapper --------*/